/
11111
1
Fork of nRF51822 by
Diff: nRF51GattServer.cpp
- Revision:
- 162:ba351b0adc4b
- Parent:
- 131:b21411170d00
- Child:
- 175:d0385f84ef92
diff -r 6712855a0107 -r ba351b0adc4b nRF51GattServer.cpp --- a/nRF51GattServer.cpp Fri May 08 15:33:59 2015 +0100 +++ b/nRF51GattServer.cpp Wed May 13 08:48:54 2015 +0100 @@ -261,7 +261,7 @@ /**************************************************************************/ void nRF51GattServer::hwCallback(ble_evt_t *p_ble_evt) { - uint16_t handle_value; + GattAttribute::Handle_t handle_value; GattServerEvents::gattEvent_t eventType; const ble_gatts_evt_t *gattsEventP = &p_ble_evt->evt.gatts_evt; @@ -285,7 +285,7 @@ eventType = GattServerEvents::GATT_EVENT_UPDATES_DISABLED; } - handleEvent(eventType, i); + handleEvent(eventType, handle_value); return; } } @@ -410,7 +410,7 @@ } default: - handleEvent(eventType, i); + handleEvent(eventType, handle_value); break; } }