Closed danlsk closed 7 years ago
Is this the difference of S110 and S130?
Not sure, maybe you can turn on debug logging? https://github.com/sandeepmistry/arduino-BLEPeripheral/blob/master/src/nRF51822.cpp#L42
It require manual pairing after power cycle.
Just to confirm, you are not reflashing the sketch in this step?
I am not reflashing the sketch after the power cycle or reset. I can't find anything with debug logging.
This issue relates to omitting clearData(). I managed to get clearData() back to work on BLE Nano. I believe RFduino able to get connected even after omitting clearData() could be due to the fact that previously I have enable clearData() and the pairing bond is in the phone. While BLE Nano has not been able to perform clearData() previously, it doesn't save the pairing bond correctly. At this point, I think this issue can be closed.
Closing at mentioned above.
I made the same code for RFduino and BLE Nano ANCS. I remove the call for cleardata() from the example on both platform to make them the same since only BLE Nano has problem in OTA. (Note: I opened an issue on the OTA problem of cleardata() ) There are some different behavior.
Is this the difference of S110 and S130? The only difference for both platform is the soft device. I hope I can make BLE NANO repair the bonding automatically.