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: Hello_BLE F446RE-BLE
Fork of X_NUCLEO_IDB0XA1 by
Diff: btle/src/btle.cpp
- Revision:
- 23:72e56ddfad5b
- Parent:
- 20:718d56821672
- Child:
- 26:047d45ea379e
--- a/btle/src/btle.cpp Wed Aug 13 08:52:07 2014 +0000 +++ b/btle/src/btle.cpp Wed Aug 13 10:06:18 2014 +0000 @@ -214,9 +214,11 @@ /* this callback is invoked when a GATT attribute is modified extract callback data and pass to suitable handler function */ evt_gatt_attr_modified *evt = (evt_gatt_attr_modified*)blue_evt->data; - DEBUG("EVT_BLUE_GATT_ATTRIBUTE_MODIFIED\n\r"); + DEBUG("EVT_BLUE_GATT_ATTRIBUTE_MODIFIED\n\r"); + DEBUG("CharHandle 0x%x, Data: 0x%x\n\r",evt->attr_handle, evt->att_data); - DEBUG("CharHandle 0x%x, Data: 0x%x\n\r",evt->attr_handle, evt->att_data); + BlueNRGGattServer::getInstance().handleEvent(GattServerEvents::GATT_EVENT_DATA_WRITTEN, evt->attr_handle); + //Attribute_Modified_CB(evt->attr_handle, evt->data_length, evt->att_data); } break;