Beacon demo for the BLE API using the nRF51822 native mode drivers
Dependencies: BLE_API mbed nRF51822 X_NUCLEO_IDB0XA1
Fork of BLE_iBeacon by
Diff: main.cpp
- Revision:
- 54:3a655a9fce9a
- Parent:
- 53:f9ec2c7a47f5
- Child:
- 55:b9616b70d6a3
diff -r f9ec2c7a47f5 -r 3a655a9fce9a main.cpp --- a/main.cpp Thu Feb 12 22:36:55 2015 +0000 +++ b/main.cpp Thu Feb 12 22:43:20 2015 +0000 @@ -39,8 +39,8 @@ uint8_t uuid[] = {0xE2, 0x0A, 0x39, 0xF4, 0x73, 0xF5, 0x4B, 0xC4, 0xA1, 0x2F, 0x17, 0xD1, 0xAD, 0x07, 0xA9, 0x61 }; -uint16_t majorNumber = 0x1122; -uint16_t minorNumber = 0x3344; +uint16_t majorNumber = 1122; +uint16_t minorNumber = 3344; uint16_t txPower = 0xC8; int main(void)