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

Parents
  • Thanks Sir for your reply, the problem is our device is not able to advertise so how to connect central device. I asked a question in My Sensor forum they told you cannot access ble feature and we cannot use both api together like BLEPeripheral.h and MySensor.h. Someone told DFU bootloader conflicts with the NVM library, which is used to store the MySensors configuration. MySensor library API is never tested with a device which is having softdevice. please help me to resolve the memory issue.

Reply
  • Thanks Sir for your reply, the problem is our device is not able to advertise so how to connect central device. I asked a question in My Sensor forum they told you cannot access ble feature and we cannot use both api together like BLEPeripheral.h and MySensor.h. Someone told DFU bootloader conflicts with the NVM library, which is used to store the MySensors configuration. MySensor library API is never tested with a device which is having softdevice. please help me to resolve the memory issue.

Children
No Data
Related