test
Dependencies: BLE_API mbed nRF51822
Fork of BLE_Beacon by
Revision 1:d9a3dcb8c87c, committed 2015-04-15
- Comitter:
- dragosIQ
- Date:
- Wed Apr 15 14:02:28 2015 +0000
- Parent:
- 0:fca875b40c8a
- Commit message:
- c
Changed in this revision
diff -r fca875b40c8a -r d9a3dcb8c87c BLE_API.lib --- a/BLE_API.lib Tue Sep 09 18:14:03 2014 +0000 +++ b/BLE_API.lib Wed Apr 15 14:02:28 2015 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/teams/Bluetooth-Low-Energy/code/BLE_API/#189ff241dae1 +http://mbed.org/teams/Bluetooth-Low-Energy/code/BLE_API/#8c645f5694b2
diff -r fca875b40c8a -r d9a3dcb8c87c main.cpp --- a/main.cpp Tue Sep 09 18:14:03 2014 +0000 +++ b/main.cpp Wed Apr 15 14:02:28 2015 +0000 @@ -48,8 +48,12 @@ 0x4C, 0x00, // Company identifier code (0x004C == Apple) 0x02, // ID 0x15, // length of the remaining payload - 0xE2, 0x0A, 0x39, 0xF4, 0x73, 0xF5, 0x4B, 0xC4, // location UUID - 0xA1, 0x2F, 0x17, 0xD1, 0xAD, 0x07, 0xA9, 0x61, + //0xE2, 0x0A, 0x39, 0xF4, 0x73, 0xF5, 0x4B, 0xC4, // location UUID + //0xA1, 0x2F, 0x17, 0xD1, 0xAD, 0x07, 0xA9, 0x61, + //0x5A, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, // location UUID + //0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, + 0x01, 0x12, 0x23, 0x34, 0x45, 0x56, 0x67, 0x78, + 0x89, 0x9a, 0xab, 0xbc, 0xcd, 0xde, 0xef, 0xf0, //Nordic UUID from examples 0x00, 0x00, // the major value to differentiate a location 0x00, 0x00, // the minor value to differentiate a location 0xC8 // 2's complement of the Tx power (-56dB) @@ -57,7 +61,7 @@ int main(void) { - DEBUG("Initialising BTLE transport\n\r"); + //DEBUG("Initialising BTLE transport\n\r"); ble.init(); ble.accumulateAdvertisingPayload(GapAdvertisingData::BREDR_NOT_SUPPORTED | GapAdvertisingData::LE_GENERAL_DISCOVERABLE);
diff -r fca875b40c8a -r d9a3dcb8c87c mbed.bld --- a/mbed.bld Tue Sep 09 18:14:03 2014 +0000 +++ b/mbed.bld Wed Apr 15 14:02:28 2015 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/9327015d4013 \ No newline at end of file +http://mbed.org/users/mbed_official/code/mbed/builds/487b796308b0 \ No newline at end of file
diff -r fca875b40c8a -r d9a3dcb8c87c nRF51822.lib --- a/nRF51822.lib Tue Sep 09 18:14:03 2014 +0000 +++ b/nRF51822.lib Wed Apr 15 14:02:28 2015 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/teams/Nordic-Semiconductor/code/nRF51822/#1e5c300cec7f +http://mbed.org/teams/Nordic-Semiconductor/code/nRF51822/#bdc690669431