test
Dependencies: BLE_API mbed-dev-bin nRF51822
Fork of microbit-dal by
Diff: source/bluetooth/MicroBitButtonService.cpp
- Revision:
- 32:ece16b5987dd
- Parent:
- 1:8aa5cdb4ab67
- Child:
- 35:8ce23bc1af38
diff -r 87789e55bac7 -r ece16b5987dd source/bluetooth/MicroBitButtonService.cpp --- a/source/bluetooth/MicroBitButtonService.cpp Wed Jul 13 12:18:10 2016 +0100 +++ b/source/bluetooth/MicroBitButtonService.cpp Wed Jul 13 12:18:11 2016 +0100 @@ -45,8 +45,8 @@ GattCharacteristic buttonADataCharacteristic(MicroBitButtonAServiceDataUUID, (uint8_t *)&buttonADataCharacteristicBuffer, 0, sizeof(buttonADataCharacteristicBuffer), GattCharacteristic::BLE_GATT_CHAR_PROPERTIES_READ | GattCharacteristic::BLE_GATT_CHAR_PROPERTIES_NOTIFY); - GattCharacteristic buttonBDataCharacteristic(MicroBitButtonBServiceDataUUID, (uint8_t *)&buttonADataCharacteristicBuffer, 0, - sizeof(buttonADataCharacteristicBuffer), GattCharacteristic::BLE_GATT_CHAR_PROPERTIES_READ | GattCharacteristic::BLE_GATT_CHAR_PROPERTIES_NOTIFY); + GattCharacteristic buttonBDataCharacteristic(MicroBitButtonBServiceDataUUID, (uint8_t *)&buttonBDataCharacteristicBuffer, 0, + sizeof(buttonBDataCharacteristicBuffer), GattCharacteristic::BLE_GATT_CHAR_PROPERTIES_READ | GattCharacteristic::BLE_GATT_CHAR_PROPERTIES_NOTIFY); // Initialise our characteristic values. @@ -140,4 +140,4 @@ ; const uint8_t MicroBitButtonBServiceDataUUID[] = { 0xe9,0x5d,0xda,0x91,0x25,0x1d,0x47,0x0a,0xa0,0x62,0xfa,0x19,0x22,0xdf,0xa9,0xa8 -}; +}; \ No newline at end of file