v2
Dependencies: BLE_API mbed DOOR
Fork of DOOR by
Diff: main.cpp
- Revision:
- 68:4a8fdfe70ab3
- Parent:
- 67:81b595625ce0
- Child:
- 69:bc2f5bfe5e33
diff -r 81b595625ce0 -r 4a8fdfe70ab3 main.cpp --- a/main.cpp Wed Oct 21 18:49:02 2015 +0000 +++ b/main.cpp Fri Nov 13 15:31:58 2015 +0000 @@ -39,12 +39,12 @@ * TX Power for more accurate results. */ const uint8_t uuid[] = {0xE2, 0x0A, 0x39, 0xF4, 0x73, 0xF5, 0x4B, 0xC4, - 0xA1, 0x2F, 0x17, 0xD1, 0xAD, 0x07, 0xA9, 0x61 + 0xA1, 0x2F, 0x17, 0xD1, 0xAD, 0x07, 0xA9, 0x62 }; uint16_t majorNumber = 1122; uint16_t minorNumber = 3344; uint16_t txPower = 0xC8; -DigitalOut led1(P0_5); +DigitalOut led1(P0_19); // 19 is led on board void disconnectionCallback(Gap::Handle_t handle, Gap::DisconnectionReason_t reason); void onDataWritten(const GattCharacteristicWriteCBParams *params);