BLE_ANCS_GetNtfyAttr

C

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

Description

Requests attributes for a specific iOS notification. This function triggers the ANCS client role to retrieve notification attributes from an iOS device.

Return values

Return valueDescription
MBA_RES_SUCCESSGet notification attributes was issued successfully.
MBA_RES_FAILThe operation is not permitted.
MBA_RES_OOMInternal memory allocation failure.
MBA_RES_INVALID_PARAInvalid parameters were provided. Possible reasons include:
  • Invalid connection handle.
  • Invalid write parameters. See GATTC_WriteParams_T for valid values.| MBA_RES_NO_RESOURCE|Insufficient resources to perform the operation.| MBA_RES_BUSY|The GATT Client is currently busy with another operation.|