
Beacon demo for the BLE API using the nRF51822 native mode drivers
Dependencies: BLE_API SDFileSystem mbed-rtos mbed nRF51822 X_NUCLEO_IDB0XA1
Fork of BLE_iBeacon by
Revision 54:3a655a9fce9a, committed 2015-02-12
- Comitter:
- mbedAustin
- Date:
- Thu Feb 12 22:43:20 2015 +0000
- Parent:
- 53:f9ec2c7a47f5
- Child:
- 55:b9616b70d6a3
- Commit message:
- Changed default MajorNumber MinorNumber to decimal numbers instead of hex numbers because most smartphone applications display decimal not hex
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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)