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

ParameterDescription
[in] connHandleConnection handle to set the alert level for.
[in] levelAlert level to be set. See BLE_PXPM_AlertLevel_T for the valid values.

Return values

Return valueDescription
MBA_RES_SUCCESSWrite operation successful.
MBA_RES_OOMInternal memory allocation failure.
MBA_RES_INVALID_PARAInvalid parameters.