MicroBit as BLE gamepad
Fork of nRF51822 by
Diff: source/nRF5xDiscoveredCharacteristic.h
- Revision:
- 567:e1800bd55a9e
- Parent:
- 565:cf03471a4ec4
- Child:
- 570:f162898cb6c4
diff -r e425ad9e5d6e -r e1800bd55a9e source/nRF5xDiscoveredCharacteristic.h --- a/source/nRF5xDiscoveredCharacteristic.h Mon Jan 11 10:19:18 2016 +0000 +++ b/source/nRF5xDiscoveredCharacteristic.h Mon Jan 11 10:19:19 2016 +0000 @@ -36,6 +36,10 @@ ble_gatt_char_props_t propsIn, GattAttribute::Handle_t declHandleIn, GattAttribute::Handle_t valueHandleIn); + + void setLastHandle(GattAttribute::Handle_t last) { + lastHandle = last; + } }; #endif /* __NRF_DISCOVERED_CHARACTERISTIC_H__ */ \ No newline at end of file