1.1.2.3.5.1.4.9 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

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 packet.
MBA_RES_INVALID_PARAInvalid parameters.\n - Connection handle is not valid.\n - Service Uuid is not valid.\n - Characteristic Uuid is not valid.\n