smart ball test board code

Dependencies:   nrf51-sdk

Fork of nRF51822 by Nordic Semiconductor

Committer:
rgrover1
Date:
Thu Nov 26 15:02:39 2015 +0000
Revision:
480:f6e4a3f0a09a
Parent:
479:b5b54bf15533
Child:
482:1762975cb3cb
Synchronized with git rev 167ddd63
Author: Andres Amaya Garcia
Execute radio notification in low priority context

The ble-nrf51822 implementation of the BLE API executes callbacks for radio
notification events at very high priority. This functionality is replaced by
executing the radio notification callback at a lower priority. When using
mbed OS the callback is posted through minar. In mbed classic the callback is
executed directly, but from a lower priority. Note that minar or callback
execution in mbed classic could not be posted/generated directly from the
radio notification handler because this causes race conditions that may lead
to a hard-fault. Alternatively, a Timeout was used to post the callback in
another context with lower priority.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
rgrover1 388:b13ab9a7ddb9 1 {
rgrover1 388:b13ab9a7ddb9 2 "name": "ble-nrf51822",
rgrover1 480:f6e4a3f0a09a 3 "version": "2.0.7",
rgrover1 388:b13ab9a7ddb9 4 "description": "Nordic stack and drivers for the mbed BLE API.",
rgrover1 388:b13ab9a7ddb9 5 "keywords": [
rgrover1 388:b13ab9a7ddb9 6 "Bluetooth",
rgrover1 458:4b6a1f794460 7 "BLE",
rgrover1 458:4b6a1f794460 8 "mbed",
rgrover1 458:4b6a1f794460 9 "mbed-official"
rgrover1 388:b13ab9a7ddb9 10 ],
rgrover1 388:b13ab9a7ddb9 11 "author": "Rohit Grover",
rgrover1 388:b13ab9a7ddb9 12 "repository": {
rgrover1 407:488000d02cd0 13 "url": "git@github.com:ARMmbed/ble-nRF51822.git",
rgrover1 388:b13ab9a7ddb9 14 "type": "git"
rgrover1 388:b13ab9a7ddb9 15 },
rgrover1 388:b13ab9a7ddb9 16 "homepage": "https://developer.mbed.org/teams/Nordic-Semiconductor/",
rgrover1 388:b13ab9a7ddb9 17 "licenses": [
rgrover1 388:b13ab9a7ddb9 18 {
rgrover1 388:b13ab9a7ddb9 19 "url": "https://spdx.org/licenses/Apache-2.0",
rgrover1 388:b13ab9a7ddb9 20 "type": "Apache-2.0"
rgrover1 480:f6e4a3f0a09a 21 },
rgrover1 480:f6e4a3f0a09a 22 {
rgrover1 480:f6e4a3f0a09a 23 "type": "LicenseRef-softdevice_nrf51822_licence_agreement.txt"
rgrover1 388:b13ab9a7ddb9 24 }
rgrover1 388:b13ab9a7ddb9 25 ],
rgrover1 388:b13ab9a7ddb9 26 "dependencies": {
rgrover1 461:9ff3e688014b 27 "ble": "^2.0.0"
rgrover1 388:b13ab9a7ddb9 28 },
rgrover1 388:b13ab9a7ddb9 29 "extraIncludes": [
rgrover1 388:b13ab9a7ddb9 30 "source/btle",
rgrover1 388:b13ab9a7ddb9 31 "source/btle/custom",
rgrover1 388:b13ab9a7ddb9 32 "source/common",
rgrover1 388:b13ab9a7ddb9 33 "source/nordic-sdk/components",
rgrover1 388:b13ab9a7ddb9 34 "source/nordic-sdk/components/libraries/util",
rgrover1 388:b13ab9a7ddb9 35 "source/nordic-sdk/components/libraries/hci",
rgrover1 388:b13ab9a7ddb9 36 "source/nordic-sdk/components/libraries/bootloader_dfu",
rgrover1 388:b13ab9a7ddb9 37 "source/nordic-sdk/components/libraries/bootloader_dfu/hci_transport",
rgrover1 388:b13ab9a7ddb9 38 "source/nordic-sdk/components/libraries/bootloader_dfu/experimental",
rgrover1 388:b13ab9a7ddb9 39 "source/nordic-sdk/components/softdevice/s130/include",
rgrover1 388:b13ab9a7ddb9 40 "source/nordic-sdk/components/softdevice/common/softdevice_handler",
rgrover1 388:b13ab9a7ddb9 41 "source/nordic-sdk/components/drivers_nrf/hal",
rgrover1 388:b13ab9a7ddb9 42 "source/nordic-sdk/components/drivers_nrf/ble_flash",
rgrover1 388:b13ab9a7ddb9 43 "source/nordic-sdk/components/drivers_nrf/pstorage",
rgrover1 388:b13ab9a7ddb9 44 "source/nordic-sdk/components/drivers_nrf/pstorage/config",
rgrover1 388:b13ab9a7ddb9 45 "source/nordic-sdk/components/ble/ble_radio_notification",
rgrover1 388:b13ab9a7ddb9 46 "source/nordic-sdk/components/ble/ble_services/ble_dfu",
rgrover1 388:b13ab9a7ddb9 47 "source/nordic-sdk/components/ble/common",
rgrover1 388:b13ab9a7ddb9 48 "source/nordic-sdk/components/ble/device_manager",
rgrover1 388:b13ab9a7ddb9 49 "source/nordic-sdk/components/ble/device_manager/config"
rgrover1 388:b13ab9a7ddb9 50 ],
rgrover1 388:b13ab9a7ddb9 51 "targetDependencies": {}
rgrover1 388:b13ab9a7ddb9 52 }