BLE_PXPM_WriteLlsAlertLevel
C
uint16_t BLE_PXPM_WriteLlsAlertLevel(uint16_t connHandle, BLE_PXPM_AlertLevel_T level);Description
Writes the Alert Level value to the Link Loss Service of a connected peer PXP Reporter device.
Parameters
| Parameter | Description |
|---|---|
| [in] connHandle | Connection handle to set the alert level for. |
| [in] level | Alert level to be set. See BLE_PXPM_AlertLevel_T for the valid values. |
Return values
| Return value | Description |
|---|---|
| MBA_RES_SUCCESS | Write operation successful. |
| MBA_RES_OOM | Internal memory allocation failure. |
| MBA_RES_INVALID_PARA | Invalid parameters. |
