I’m working on implementing the Apple Notification Center Service (ANCS) for my device. I’ve successfully set up the ANCS protocol and can receive notifications, but I’m facing a couple of issues specifically related to call events.
-
Inconsistent Event Flags on Call Accept:
When I accept a call from an iOS device, I’m unable to detect the exact event flags reliably. The event flags seem to vary each time, sometimes showing as a modified call. This inconsistency is causing issues in accurately detecting call accept events. -
No Response After Call End:
Once a call is accepted and then ended from the iOS device, I do not receive any response indicating the call has ended. This lack of response is preventing me from syncing my device correctly with the iOS BLE state.
I have referred to the Apple Notification Center Service Specification, but I’m still facing these issues.
Is there something I’m missing in the implementation? Any advice or pointers would be greatly appreciated.
Thank you!
I was expecting to receive consistent and clear event notifications from the iOS device when a call is accepted or rejected. Specifically, I anticipated the EventFlagPositiveAction to indicate call acceptance and EventFlagNegativeAction to indicate call rejection. Additionally, I expected to receive a notification or event update when a call that was accepted is ended, allowing my BLE device to remain in sync with the iOS device’s call status.
Any guidance or suggestions to resolve these issues and achieve reliable call event detection and synchronization would be greatly appreciated.
Nitin Jethava is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.