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

bluetooth disconnect callback is called only one.

Preferences: nRF52832 chip, s132_nrf52_4.0.2_softdevice

Two or more nRF52832 chip are connected to iOS and Android. And do bluetooth off in smart phone. this case, bluetooth disconnect callback function is called only one. but, if do that in TI chip, bluetooth callback function is called everything ble device.

do you solve this problem? please help me.

Parents
  • @y2doo. Are you saying the didDisconnectPeripheral method is not invoked for all the peripherals, but only for one or two?

    Could it be that Corebluetooth do not have enough time to do this before it is shut down? Maybe you can check the error message to see if you should go through all peripherals to check the state? Maybe just check the state of the CBcentral/peripheral manager?

Reply
  • @y2doo. Are you saying the didDisconnectPeripheral method is not invoked for all the peripherals, but only for one or two?

    Could it be that Corebluetooth do not have enough time to do this before it is shut down? Maybe you can check the error message to see if you should go through all peripherals to check the state? Maybe just check the state of the CBcentral/peripheral manager?

Children
Related