No changes
Fork of nRF51822 by
btle/btle_discovery.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_discovery.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 | 344:2a44e5fd26bc | 1 | /* mbed Microcontroller Library |
rgrover1 | 344:2a44e5fd26bc | 2 | * Copyright (c) 2006-2013 ARM Limited |
rgrover1 | 344:2a44e5fd26bc | 3 | * |
rgrover1 | 344:2a44e5fd26bc | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
rgrover1 | 344:2a44e5fd26bc | 5 | * you may not use this file except in compliance with the License. |
rgrover1 | 344:2a44e5fd26bc | 6 | * You may obtain a copy of the License at |
rgrover1 | 344:2a44e5fd26bc | 7 | * |
rgrover1 | 344:2a44e5fd26bc | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
rgrover1 | 344:2a44e5fd26bc | 9 | * |
rgrover1 | 344:2a44e5fd26bc | 10 | * Unless required by applicable law or agreed to in writing, software |
rgrover1 | 344:2a44e5fd26bc | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
rgrover1 | 344:2a44e5fd26bc | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
rgrover1 | 344:2a44e5fd26bc | 13 | * See the License for the specific language governing permissions and |
rgrover1 | 344:2a44e5fd26bc | 14 | * limitations under the License. |
rgrover1 | 344:2a44e5fd26bc | 15 | */ |
rgrover1 | 344:2a44e5fd26bc | 16 | |
rgrover1 | 344:2a44e5fd26bc | 17 | #ifndef _BTLE_DISCOVERY_H_ |
rgrover1 | 344:2a44e5fd26bc | 18 | #define _BTLE_DISCOVERY_H_ |
rgrover1 | 344:2a44e5fd26bc | 19 | |
rgrover1 | 344:2a44e5fd26bc | 20 | void bleGattcEventHandler(const ble_evt_t *p_ble_evt); |
rgrover1 | 344:2a44e5fd26bc | 21 | |
rgrover1 | 344:2a44e5fd26bc | 22 | #endif /*_BTLE_DISCOVERY_H_*/ |