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

ancs example for nrf51822 has a bug?

when i test the ancs example application for nrf51822, i foud a question : after i disconnect the lightblue ios app with nrf51822 peripheral, the iphone still connected with my iphone? Is the example have a bug,so how to resolve this ?

development environment : SDk :9.0 softdevice :8.0 application :ble_app_ancs_c example

Parents Reply Children
  • This is a normal behaviour... As soon as you use ANCS, you have to pair your device with your iPhone. If you disable the bluetooth on your iPhone, your device lost the connection and start with the advertising procedure again. As soon as you re-enable bluetooth on your phone, it re-connects automatically. If you build your own iOS app, you have to manage the connection in a special way. You have to work with core-bluetooth which handles the connection with paired devices.

Related