Lancaster University's fork of the mbed BLE API. Lives on github, https://github.com/lancaster-university/BLE_API
Dependents: microbit-dal microbit-dal microbit-ble-open microbit-dal ... more
Fork of BLE_API by
module.json@1118:88af68f0226b, 2016-01-11 (annotated)
- Committer:
- vcoubard
- Date:
- Mon Jan 11 08:52:02 2016 +0000
- Revision:
- 1118:88af68f0226b
- Parent:
- 1116:9cb51490b3f7
- Child:
- 1125:94951ecc75bf
Synchronized with git rev 42a202e0
Author: Andres Amaya Garcia
Finilise Whitelisting experimental API
This is the finilised experimental API that introduces support for
whitelisting. The changes are focused in Gap and introduces the following
functions, that are expected to be implemented by each of the vendor specific
glue code (e.g. ble-nrf51822 module):
- getMaxWhitelistSize(): Get the maximum whitelist size, this can be set by
using a yotta config definition.
- getWhitelist(): Gets a copy of the internal whitelist containing BLE
addresses.
- setWhitelist(): Replace the whitelist with new addresses.
- setAdvertisingPolicyMode(), setScanningPolicyMode() and
setInitiatorPolicyMode(): Functions used to set the relevan policy filter
mode as described in the BLE Specification v4.2 Vol 6, Part B, Section 4.2.1.
- getAdvertisingPolicyMode(), getScanningPolicyMode() and
getInitiatorPolicyMode(): Functions used to get the relevan policy filter
mode as described in the BLE Specification v4.2 Vol 6, Part B, Section 4.2.1.
The following enumerators were added to Gap to describe the desired policy
filter mode:
- AdvertisingPolicyMode_t
- ScanningPolicyMode_t
- InitiatorPolicyMode_t
Finally, the following typedef was added to provide a view of the
underlying implementation's internal whitelist:
- Whitelist_t
**NOTE:** Clearly, these API additions require changes to the underlying
implementation!
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
rgrover1 | 712:b04b5db36865 | 1 | { |
rgrover1 | 712:b04b5db36865 | 2 | "name": "ble", |
vcoubard | 1116:9cb51490b3f7 | 3 | "version": "2.3.0", |
rgrover1 | 712:b04b5db36865 | 4 | "description": "The BLE module offers a high level abstraction for using Bluetooth Low Energy on multiple platforms.", |
rgrover1 | 712:b04b5db36865 | 5 | "keywords": [ |
rgrover1 | 712:b04b5db36865 | 6 | "Bluetooth", |
rgrover1 | 912:f728aa46e7df | 7 | "BLE", |
rgrover1 | 912:f728aa46e7df | 8 | "mbed", |
rgrover1 | 912:f728aa46e7df | 9 | "mbed-official" |
rgrover1 | 712:b04b5db36865 | 10 | ], |
rgrover1 | 712:b04b5db36865 | 11 | "author": "Rohit Grover", |
rgrover1 | 712:b04b5db36865 | 12 | "repository": { |
rgrover1 | 912:f728aa46e7df | 13 | "url": "https://github.com/ARMmbed/ble.git", |
rgrover1 | 712:b04b5db36865 | 14 | "type": "git" |
rgrover1 | 712:b04b5db36865 | 15 | }, |
vcoubard | 1052:b55e1ad3e1b3 | 16 | "homepage": "https://developer.mbed.org/teams/Bluetooth-Low-Energy/", |
rgrover1 | 712:b04b5db36865 | 17 | "licenses": [ |
rgrover1 | 712:b04b5db36865 | 18 | { |
rgrover1 | 712:b04b5db36865 | 19 | "url": "https://spdx.org/licenses/Apache-2.0", |
rgrover1 | 712:b04b5db36865 | 20 | "type": "Apache-2.0" |
rgrover1 | 712:b04b5db36865 | 21 | } |
rgrover1 | 712:b04b5db36865 | 22 | ], |
rgrover1 | 761:612103f2faf6 | 23 | "dependencies": {}, |
rgrover1 | 712:b04b5db36865 | 24 | "targetDependencies": { |
rgrover1 | 912:f728aa46e7df | 25 | "st-ble-shield": { |
vcoubard | 1060:92a63a650871 | 26 | "x-nucleo-idb0xa1": "^2.0.0" |
rgrover1 | 912:f728aa46e7df | 27 | }, |
rgrover1 | 712:b04b5db36865 | 28 | "nrf51822": { |
vcoubard | 1083:ec594a5c119b | 29 | "ble-nrf51822": "^2.2.8" |
rgrover1 | 912:f728aa46e7df | 30 | }, |
rgrover1 | 912:f728aa46e7df | 31 | "cordio": { |
rgrover1 | 912:f728aa46e7df | 32 | "ble-wicentric": "~0.0.4" |
rgrover1 | 861:2afa79e3ed0a | 33 | }, |
rgrover1 | 746:e2c7eb0f8b26 | 34 | "mbed-classic": { |
rgrover1 | 761:612103f2faf6 | 35 | "mbed-classic": "~0.0.1" |
rgrover1 | 775:8e6aa638f8d9 | 36 | }, |
rgrover1 | 812:aba49f3176a2 | 37 | "mbed-os": { |
vcoubard | 1116:9cb51490b3f7 | 38 | "mbed-drivers": "*", |
vcoubard | 1116:9cb51490b3f7 | 39 | "compiler-polyfill": "^1.2.1" |
rgrover1 | 712:b04b5db36865 | 40 | } |
rgrover1 | 712:b04b5db36865 | 41 | } |
rgrover1 | 712:b04b5db36865 | 42 | } |