prova

Fork of BLE_API by Bluetooth Low Energy

Committer:
vcoubard
Date:
Mon Jan 11 08:51:52 2016 +0000
Revision:
1096:c3a43f09f1c5
Parent:
1095:7eaddbe4fad0
Child:
1101:f62e76e60b1a
Synchronized with git rev 39e3e8d1
Author: Andres Amaya Garcia
Modify functions that manipulate adv payload

Modify the functions addData() and updateData() to correctly update the payload
information for a specified AD type if that type was already present in the
payload. For addData() if the AD type is not found, it is added to the payload.
In contrast, in updateData() if the AD type is not found an error is returned.

Documentation was updated accordingly.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
rgrover1 712:b04b5db36865 1 {
rgrover1 712:b04b5db36865 2 "name": "ble",
vcoubard 1096:c3a43f09f1c5 3 "version": "2.2.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": {
rgrover1 786:d6d7087d8377 38 "mbed-drivers": "*"
rgrover1 712:b04b5db36865 39 }
rgrover1 712:b04b5db36865 40 }
rgrover1 712:b04b5db36865 41 }