aconno acnsensa project for iOS devices with iBeacon packets support.

Dependencies:   LSM9DS1 Si7006A20 aconno_SEGGER_RTT aconno_bsp adc52832_common

Files at this revision

API Documentation at this revision

Comitter:
dbartolovic
Date:
Fri Aug 17 10:45:24 2018 +0000
Branch:
sensaformatfix
Parent:
37:bbfecf36c256
Commit message:
Added service advertisement to telemetry data

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r bbfecf36c256 -r c90e1670ffb3 main.cpp
--- a/main.cpp	Thu Aug 16 12:20:40 2018 +0000
+++ b/main.cpp	Fri Aug 17 10:45:24 2018 +0000
@@ -269,8 +269,6 @@
         printf("Sensor format 1.\n");
         ble.gap().clearAdvertisingPayload();
 		/* setup advertising */
-	    ble.gap().accumulateAdvertisingPayload(
-	        GapAdvertisingData::BREDR_NOT_SUPPORTED);
     	ble.gap().accumulateAdvertisingPayload(GapAdvertisingData::COMPLETE_LIST_16BIT_SERVICE_IDS, (uint8_t *)&(serviceUuid), sizeof(serviceUuid));
 	    ble.gap().accumulateAdvertisingPayload(
 	        GapAdvertisingData::MANUFACTURER_SPECIFIC_DATA,