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

How to change another service in my phone and device to communicate without disconnect

- I reviewed Android-nRF-Mesh-Library code, and i saw this logic: first, it used Provisioing Service, when provisioning is completed, it disconnected with nrf board, and then scanning again in order to connect with device by Proxy service. I want to still connect and change service immediate, but without disconnect. How i can do that ? Thanks All 

Parents
  • Hi,

    Unfortunately, I don't think you be able to do this without disconnecting. When the provisioning process is complete, the device must reset its GATT database(removing the Provisioning service and replacing it with the Proxy service) to comply with the Bluetooth mesh specification requirement of exposing only the Bluetooth mesh Proxy service. To be able do this the softdevice have to be disabled and enabled again. This means that all connections will be cut. 

Reply
  • Hi,

    Unfortunately, I don't think you be able to do this without disconnecting. When the provisioning process is complete, the device must reset its GATT database(removing the Provisioning service and replacing it with the Proxy service) to comply with the Bluetooth mesh specification requirement of exposing only the Bluetooth mesh Proxy service. To be able do this the softdevice have to be disabled and enabled again. This means that all connections will be cut. 

Children
Related