fdsf
Fork of nRF51822 by
Diff: btle/btle_discovery.cpp
- Revision:
- 336:6ac9e1b34de0
- Parent:
- 335:601d65634447
- Child:
- 337:3d8b3bfe22e1
diff -r 601d65634447 -r 6ac9e1b34de0 btle/btle_discovery.cpp --- a/btle/btle_discovery.cpp Fri Jun 19 15:55:33 2015 +0100 +++ b/btle/btle_discovery.cpp Fri Jun 19 15:55:33 2015 +0100 @@ -56,11 +56,11 @@ case BLE_GATTC_EVT_READ_RSP: if (DiscoveredCharacteristic::onDataReadCallback != NULL) { - GattCharacteristicReadCBParams response = { - .charHandle = p_ble_evt->evt.gattc_evt.params.read_rsp.handle, - .offset = p_ble_evt->evt.gattc_evt.params.read_rsp.offset, - .len = p_ble_evt->evt.gattc_evt.params.read_rsp.len, - .data = p_ble_evt->evt.gattc_evt.params.read_rsp.data, + GattReadCallbackParams response = { + .handle = p_ble_evt->evt.gattc_evt.params.read_rsp.handle, + .offset = p_ble_evt->evt.gattc_evt.params.read_rsp.offset, + .len = p_ble_evt->evt.gattc_evt.params.read_rsp.len, + .data = p_ble_evt->evt.gattc_evt.params.read_rsp.data, }; DiscoveredCharacteristic::onDataReadCallback(&response); }