Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: BLE_ANCS_SDAPI BLE_temperature BLE_HeartRate writable_gatt ... more
Diff: nRFDiscoveredCharacteristic.h
- Revision:
- 330:0a8ebc25b57c
- Parent:
- 327:0ea2b4d48212
- Child:
- 332:b054000833d4
--- a/nRFDiscoveredCharacteristic.h Fri Jun 19 15:55:32 2015 +0100
+++ b/nRFDiscoveredCharacteristic.h Fri Jun 19 15:55:32 2015 +0100
@@ -19,10 +19,12 @@
class nRFDiscoveredCharacteristic : public DiscoveredCharacteristic {
public:
- void setup(Gap::Handle_t connectionHandleIn,
- ble_gatt_char_props_t propsIn,
- GattAttribute::Handle_t declHandleIn,
- GattAttribute::Handle_t valueHandleIn) {
+ void setup(GattClient *gattcIn,
+ Gap::Handle_t connectionHandleIn,
+ ble_gatt_char_props_t propsIn,
+ GattAttribute::Handle_t declHandleIn,
+ GattAttribute::Handle_t valueHandleIn) {
+ gattc = gattcIn;
connHandle = connectionHandleIn;
declHandle = declHandleIn;
valueHandle = valueHandleIn;
@@ -36,11 +38,13 @@
props._authSignedWrite = propsIn.auth_signed_wr;
}
- void setup(Gap::Handle_t connectionHandleIn,
- UUID::ShortUUIDBytes_t uuidIn,
- ble_gatt_char_props_t propsIn,
- GattAttribute::Handle_t declHandleIn,
- GattAttribute::Handle_t valueHandleIn) {
+ void setup(GattClient *gattcIn,
+ Gap::Handle_t connectionHandleIn,
+ UUID::ShortUUIDBytes_t uuidIn,
+ ble_gatt_char_props_t propsIn,
+ GattAttribute::Handle_t declHandleIn,
+ GattAttribute::Handle_t valueHandleIn) {
+ gattc = gattcIn;
connHandle = connectionHandleIn;
uuid = uuidIn;
declHandle = declHandleIn;

