BLE_PXPM_WriteLlsAlertLevel

C

uint16_t BLE_PXPM_WriteLlsAlertLevel(uint16_t connHandle, BLE_PXPM_AlertLevel_T level);

Description

Write Alert Level value to Link Loss Service table of peer PXP Reporter device.

Application must call this API after starting BLE PXP Monitor procedure.

Parameters

ParameterDescription
[in] connHandleThe connection handle want to be set.
[in] levelThe alert level want to set for the connHandle.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully issue write Alert Level.
MBA_RES_INVALID_PARAInvalid parameters.\n - Connection handle is not valid.\n - Service Uuid is not valid.\n - Characteristic Uuid is not valid.\n