Oscar Ariza / BLE_API

Fork of BLE_API by Bluetooth Low Energy

Committer:
vcoubard
Date:
Mon Jan 11 08:51:52 2016 +0000
Revision:
1097:c3a43f09f1c5
Parent:
804:50c9096035b1
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 804:50c9096035b1 1 Copyright (c) 2015 ARM Limited
rgrover1 804:50c9096035b1 2
rgrover1 804:50c9096035b1 3 Licensed under the Apache License, Version 2.0 (the "License");
rgrover1 804:50c9096035b1 4 you may not use this file except in compliance with the License.
rgrover1 804:50c9096035b1 5 You may obtain a copy of the License at
rgrover1 804:50c9096035b1 6
rgrover1 804:50c9096035b1 7 http://www.apache.org/licenses/LICENSE-2.0
rgrover1 804:50c9096035b1 8
rgrover1 804:50c9096035b1 9 Unless required by applicable law or agreed to in writing, software
rgrover1 804:50c9096035b1 10 distributed under the License is distributed on an "AS IS" BASIS,
rgrover1 804:50c9096035b1 11 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
rgrover1 804:50c9096035b1 12 See the License for the specific language governing permissions and
rgrover1 804:50c9096035b1 13 limitations under the License.