Closed andresag01 closed 8 years ago
@rgrover @pan- I have made changes according to comments in this pull request.
@rgrover @pan-: Made changes according to comments.
@rgrover made changes to make _gapInstance
non-static
@andresag01 I'm happy with this. Will wait for @pan-
It's alright, I'm looking for the next PR including onShutdown
ble-nrf51822-2.2.7
Improve the shutdown functionality, such that a call to ble.shutdown() from the user application clears the API and nRF5x state and NOT only the SoftDevice. To achieve this the following changes are introduced:
The shutdown procedure is as follows:
If at any point an error occur during the last step, BLE_ERROR_INVALID_STATE is returned.
NOTE: This enhancement also requires changes to the ble module @rgrover @pan- @LiyouZhou