BLE_ANCS_PerformNtfyAction

C

uint16_t BLE_ANCS_PerformNtfyAction(uint16_t connHandle, uint32_t ntfyId, BLE_ANCS_ActionId_T actId);

Description

Performs an action on a specific iOS notification. This function sends a command to the iOS device to perform a specified action on a notification identified by its unique identifier (UID). The action to be performed is determined by the action ID provided.

Return values

Return valueDescription
MBA_RES_SUCCESSCommand successfully sent to perform the action on the notification.
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|No available resource to send write operation.| MBA_RES_BUSY|The GATT Client is currently busy with another operation.|