BLE_PXPM_WriteIasAlertLevel
C
uint16_t BLE_PXPM_WriteIasAlertLevel(uint16_t connHandle, BLE_PXPM_AlertLevel_T level);
Description
Write Alert Level value to Immediate Alert Service table of peer PXP Reporter device.
Application must call this API after starting BLE PXP Monitor procedure.
Parameters
Parameter | Description |
---|---|
[in] connHandle | The connection handle want to be set. |
[in] level | The alert level want to set for the connHandle. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully issue write Alert Level packet. |
MBA_RES_INVALID_PARA | Invalid parameters.\n - Connection handle is not valid.\n - Service Uuid is not valid.\n - Characteristic Uuid is not valid.\n |