aconno acnsensa project for iOS devices with iBeacon packets support.
Dependencies: LSM9DS1 Si7006A20 aconno_SEGGER_RTT aconno_bsp adc52832_common
Diff: main.cpp
- Branch:
- iBeacon
- Revision:
- 17:18f4bf2a368a
- Parent:
- 16:e86a91db0b72
- Child:
- 18:442bc914996b
diff -r e86a91db0b72 -r 18f4bf2a368a main.cpp --- a/main.cpp Wed Aug 01 17:37:57 2018 +0200 +++ b/main.cpp Wed Aug 01 17:43:34 2018 +0200 @@ -181,7 +181,7 @@ (uint8_t*)&ibeaconMSD, sizeof(ibeaconMSD)); ble.gap().setAdvertisingInterval(ADV_INTERVAL); - ble.gap().setTxPower(TX_POWER); // Set TX power to TX_POWER_DB + ble.gap().setTxPower(TX_POWER_DB); // Set TX power to TX_POWER_DB ble.gap().startAdvertising(); } @@ -220,7 +220,7 @@ ble.gap().setAdvertisingType( GapAdvertisingParams::ADV_CONNECTABLE_UNDIRECTED); ble.gap().setAdvertisingInterval(ADV_INTERVAL); - ble.gap().setTxPower(TX_POWER); // Set TX power to TX_POWER_DB + ble.gap().setTxPower(TX_POWER_DB); // Set TX power to TX_POWER_DB ble.gap().startAdvertising(); }