BLE_ANPS_SetSuppNewCat
C
uint16_t BLE_ANPS_SetSuppNewCat(uint16_t catMask);
Description
Sets the supported categories for new alerts.
Parameters
Parameter | Description |
---|---|
[in] catMask | Category mask for new alerts. Refer to ANPS supported category ID bit masks for possible values. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully set the supported categories for new alerts. |
MBA_RES_FAIL | Cannot change supported categories while in a connection. |
MBA_RES_INVALID_PARA | The parameter is invalid or does not meet the specification. |