ARMmbed / ble-nrf51822

Nordic stack and drivers for the mbed BLE_API
Other
46 stars 51 forks source link

Inaccurate error code returned for failed call to SecurityManager::init() #107

Open andresag01 opened 8 years ago

andresag01 commented 8 years ago

A call to SecurityManager::init() before initialising BLE returns the error code BLE_ERROR_INVALID_PARAM. This is not accurate enough because the API contains an error code BLE_ERROR_INITIALIZATION_INCOMPLETE specific for the situation when the failure is that the necessary API components were not initialised correctly.

ciarmcom commented 8 years ago

ARM Internal Ref: IOTSFW-1772