ARMmbed / ble-nrf51822

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

Post radio notification callback through minar #65

Closed andresag01 closed 8 years ago

andresag01 commented 8 years ago

The ble-nrf51822 implementation of the BLE API generated callbacks for radio notification events without using the minar scheduler and at very high priority. This functionality is replaced by posting events through minar when YOTTA_CFG_MBED_OS is defined. Note that minar could not be used directly to post callbacks because radio notification events are handled at very high priority, which caused a hard-fault when minar tries to enter a critical section. Alternatively, a Timeout was used to post the callback in another context with lower priority. @rgrover

rgrover commented 8 years ago

refer to https://github.com/ARMmbed/ble/issues/89

rgrover commented 8 years ago

published a new version.