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

Using BLEPeripheral and MySensors libraries

I am using BLEPeripheral and MySensors libraries and nRF51822 device(client side). I want to change functionality, if I press key of nRF51822 device it should start to advertise otherwise connect with another device (nodeMCU nad nRf24L01) act as a gateway. here client is connecting and communicating with the gateway and if I am pressing key communication is stopped but nRf51822 is not advertising. I am using Arduino platform. I tried separately both library it is working fine. please help how to resolve this issue.

Thank you

Related