Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
There is bug in last nRF51822 revision.
On disconnect event application level onDisconnect callback is not always called.
In library:
btle/btle.cpp
But it needs to be changed to something like this:
btle/btle.cpp
And add UNKNOWN_DISCONNECTION_REASON in enum in BLE_API library:
public/Gap.h