test
Fork of nRF51822 by
btle/btle_gap.h@386:3253b512fb24, 2015-07-21 (annotated)
- Committer:
- rgrover1
- Date:
- Tue Jul 21 13:23:43 2015 +0100
- Revision:
- 386:3253b512fb24
- Parent:
- source/btle/btle_gap.h@382:0d827746052f
Synchronized with git rev 928a5e63
Author: Rohit Grover
Release 0.4.1
=============
This is a minor release.
Enhancements
~~~~~~~~~~~~
* Hide duplicate symbol definitions in ble_types.h. These have already been
brought into ble/blecommon.h.
* Replace DiscoveredCharacteristic::setupOnDataRead() with
GattClient::onDataRead().
* Implement new API GattServer::areUpdatesEnabled() to determine notification
status for a characteristic.
Bugfixes
~~~~~~~~
* fix for #20: GattServer::addService() incorrectly initialized value
attribute-handles. These were getting confused with characteristicIndex.
Event handlers also return attribute handles correctly now; they were also
previously returning characteristic indices.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
rgrover1 | 372:758e9a3a346a | 1 | /* mbed Microcontroller Library |
rgrover1 | 372:758e9a3a346a | 2 | * Copyright (c) 2006-2013 ARM Limited |
rgrover1 | 372:758e9a3a346a | 3 | * |
rgrover1 | 372:758e9a3a346a | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
rgrover1 | 372:758e9a3a346a | 5 | * you may not use this file except in compliance with the License. |
rgrover1 | 372:758e9a3a346a | 6 | * You may obtain a copy of the License at |
rgrover1 | 372:758e9a3a346a | 7 | * |
rgrover1 | 372:758e9a3a346a | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
rgrover1 | 372:758e9a3a346a | 9 | * |
rgrover1 | 372:758e9a3a346a | 10 | * Unless required by applicable law or agreed to in writing, software |
rgrover1 | 372:758e9a3a346a | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
rgrover1 | 372:758e9a3a346a | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
rgrover1 | 372:758e9a3a346a | 13 | * See the License for the specific language governing permissions and |
rgrover1 | 372:758e9a3a346a | 14 | * limitations under the License. |
rgrover1 | 372:758e9a3a346a | 15 | */ |
rgrover1 | 372:758e9a3a346a | 16 | |
rgrover1 | 372:758e9a3a346a | 17 | #ifndef _BTLE_GAP_H_ |
rgrover1 | 372:758e9a3a346a | 18 | #define _BTLE_GAP_H_ |
rgrover1 | 372:758e9a3a346a | 19 | |
rgrover1 | 372:758e9a3a346a | 20 | #include "common/common.h" |
rgrover1 | 372:758e9a3a346a | 21 | |
rgrover1 | 372:758e9a3a346a | 22 | error_t btle_gap_init(void); |
rgrover1 | 372:758e9a3a346a | 23 | |
rgrover1 | 372:758e9a3a346a | 24 | #endif // ifndef _BTLE_GAP_H_ |