HoT with iBeacon
Dependencies: microbit-iBeacon
Fork of BTW_Eddystone_Solution1 by
Beacon Hands-on-Training solution code using Eddystone URL and iBeacon formats.
Libraries microbit-iBeacon -> microbit-dal-iBeacon
Includes classes for Eddystone and iBeacon. Eddystone only supports URL and UID formats, not TLM.
Diff: main.cpp
- Revision:
- 10:0b4b38de17b3
- Parent:
- 8:fde95b9f958a
- Child:
- 11:6505399afe76
--- a/main.cpp Mon Oct 16 18:40:56 2017 +0000 +++ b/main.cpp Mon Oct 16 22:25:57 2017 +0000 @@ -27,8 +27,8 @@ 0xa1, 0xe6, 0xdf, 0x48, 0xaf, 0x6b, 0x11, 0xe7, 0xab, 0xc4, 0xce, 0xc2, 0x78, 0xb6, 0xb5, 0x0a }; const UUID iBeaconProximityUUID(iBeaconProximityUUIDraw); -const int16_t iBeaconMajor = 0x1234; -const int16_t iBeaconMinor = 0x5678; +const int16_t iBeaconMajor = 1234; +const int16_t iBeaconMinor = 5678; void startAdvertising() { switch(beacon_type)