Lightly modified version of the BLE stack, that doesn't bring up a DFUService by default... as we have our own.
Fork of BLE_API by
Diff: services/URIBeaconConfigService.h
- Revision:
- 311:11417b970b12
- Parent:
- 310:0b79de98eceb
- Child:
- 312:e2e52a7477bf
diff -r 0b79de98eceb -r 11417b970b12 services/URIBeaconConfigService.h --- a/services/URIBeaconConfigService.h Mon Mar 09 16:23:55 2015 +0000 +++ b/services/URIBeaconConfigService.h Mon Mar 09 16:23:55 2015 +0000 @@ -17,7 +17,7 @@ #ifndef SERVICES_URIBEACONCONFIGSERVICE_H_ #define SERVICES_URIBEACONCONFIGSERVICE_H_ -#define UUID_URI_BEACON(FIRST, SECOND) { \ +#define UUID_URI_BEACON(FIRST, SECOND) { \ 0xee, 0x0c, FIRST, SECOND, 0x87, 0x86, 0x40, 0xba, \ 0xab, 0x96, 0x99, 0xb9, 0x1a, 0xc9, 0x81, 0xd8, \ } @@ -62,13 +62,13 @@ typedef uint8_t UriData_t[URI_DATA_MAX]; struct Params_t { - Lock_t lock; - uint8_t uriDataLength; - UriData_t uriData; - uint8_t flags; - PowerLevels_t advPowerLevels; // Current value of AdvertisedPowerLevels - uint8_t txPowerMode; // Firmware power levels used with setTxPower() - uint16_t beaconPeriod; + Lock_t lock; + uint8_t uriDataLength; + UriData_t uriData; + uint8_t flags; + PowerLevels_t advPowerLevels; // Current value of AdvertisedPowerLevels + uint8_t txPowerMode; // Firmware power levels used with setTxPower() + uint16_t beaconPeriod; }; /**