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.
Dependencies: BLE_API mbed-dev nRF51822
Diff: HIDController_BLE.cpp
- Revision:
- 56:e1d90e2c7402
- Parent:
- 55:f01a31103685
- Child:
- 57:ae521136842c
--- a/HIDController_BLE.cpp Tue Aug 30 14:05:56 2016 +0000
+++ b/HIDController_BLE.cpp Tue Aug 30 14:13:20 2016 +0000
@@ -13,12 +13,6 @@
static const char HARDWARE_REVISION[] = "0.1";
static const char FIRMWARE_REVISION[] = "0.1";
static const char SOFTWARE_REVISION[] = "0.0";
-static const PnPID_t PNPID = {
- 2,
- 0x05ac,
- 0x0267,
- 0x50
-};
static const uint8_t DEVICE_NAME[] = "Keble";
// static const uint8_t SHORT_DEVICE_NAME[] = "Keble";
@@ -138,7 +132,7 @@
// DEBUG_PRINTF_BLE("new KeyboardService\r\n");
keyboardService = new KeyboardService(ble);
// DEBUG_PRINTF_BLE("new DeviceInformationService\r\n");
- deviceInformationService = new DeviceInformationService(ble, "lowreal.net", MODEL_NAME, SERIAL_NUMBER, HARDWARE_REVISION, FIRMWARE_REVISION, SOFTWARE_REVISION, &PNPID);
+ deviceInformationService = new DeviceInformationService(ble, "lowreal.net", MODEL_NAME, SERIAL_NUMBER, HARDWARE_REVISION, FIRMWARE_REVISION, SOFTWARE_REVISION);
// DEBUG_PRINTF_BLE("new BatteryService\r\n");
batteryService = new BatteryService(ble, 100);
/** TODO