This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to disable ANCS_C

Hi all, I have a problem in architecture of my application based on SD132v3 SDK12. It should interact with an iOS device as a peripheral and receive some data to display. Bonding is required for my task. Main goal is to allow multiple iOS devices to display their data on my device so I decided to use next simple way: certain previously bonded iOS device in range having some data to display tries to connect my device, writes to dedicated characteristic and then disconnects. So different users (iOS devices) can use my device because of real connected state is too short. But another task of my device is to display incoming calls of iOS device, so I want to use the ANCS_C module. In that case I have a problem that once the ANCS_C have successfully discovered presence of desired characteristics the connection will never be reset. It is OK in most cases (if user wants to see call notification he will be warned about unshared occupancy) but sometime I have to establish new connection (I have mechanical button “accept new bond”). So my questions are:

  1. Is there some better way to maintain both functionalities?

  2. Can I establish two connections: one for long time ANCS and another one for short sessions with multiple devices?

  3. Worst way. How to disable for a while current ANCS connection to accept new bonding peer?

Related