1.1.2.3.1.1.4.5 BLE_ANCS_GetNtfyAttr

C

uint16_t BLE_ANCS_GetNtfyAttr(uint16_t connHandle, uint32_t ntfyId, BLE_ANCS_NtfyAttrsMask_T bitmask);

Description

This API triggers ANCS client role (Notification Consumer) to retrieve a specific iOS notification attributes from iOS device (Notification Provider).

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully issue a Get Notification Attributes command.
MBA_RES_FAILOperation is not permitted.
MBA_RES_OOMInternal memory allocation failure.
MBA_RES_INVALID_PARAInvalid parameters. One of the following reasons: \n- Connection handle is not valid \n- Invalid write parameters. \nSee GATTC_WriteParams_T for valid values.
MBA_RES_NO_RESOURCENo available resource to send write operation.
MBA_RES_BUSYGATT Client is busy. Another request is ongoing.