Nordic stack and drivers for the mbed BLE API

Dependents:   BLE_ANCS_SDAPI BLE_temperature BLE_HeartRate writable_gatt ... more

This pull request has been rejected by Nordic Semiconductor

Fix for disconnection callback not called for remote disconnection

This adds the callbacks for the disconnection events Gap::REMOTE_USER_TERMINATED_CONNECTION and Gap::CONN_INTERVAL_UNACCEPTABLE (note though that there is not a perfect match between the NRF SDK disconnection reasons and the BLE_API ones currently). Without this, the BLE examples won't restart advertising after the remote disconnected.

For with fix for disconnection notifications

1 comment:

08 Sep 2014

Thanks for pointing out this error, but I've got slightly better code waiting for commit. Will push very shortly.