aconno acnsensa project for iOS devices with iBeacon packets support.
Dependencies: LSM9DS1 Si7006A20 aconno_SEGGER_RTT aconno_bsp adc52832_common
Diff: main.cpp
- Revision:
- 27:67467a7a56b3
- Parent:
- 26:834af521af0a
- Child:
- 28:1a2c30eb745c
- Child:
- 31:8199c7c86d0d
diff -r 834af521af0a -r 67467a7a56b3 main.cpp --- a/main.cpp Mon Aug 06 07:59:33 2018 +0000 +++ b/main.cpp Mon Aug 06 10:55:34 2018 +0000 @@ -91,7 +91,7 @@ uint16_t major; uint16_t minor; int8_t RSSI; -}static iBeaconMSD = {.appleID = 0x004C, +}static iBeaconMSD = {.appleID = 0x004C, .secondID = 0x02, .dataSize = 0x15, .UUID = {UUID_INIT}, @@ -365,6 +365,7 @@ /* spin loop */ } ble.onEventsToProcess(scheduleBleEventsProcessing); + advertisementPacket.header = APPLICATION_ID; I2C i2c(I2C_DATA, I2C_CLK); si = new Si7006(&i2c);