BLE EddystoneObserver example
This example is a fork of the following mbed-os example:
https://developer.mbed.org/teams/mbed-os-examples/code/mbed-os-example-ble-EddystoneObserver/
Please read the documentation in this page.
Diff: source/main.cpp
- Revision:
- 12:5e1ef2515c70
- Parent:
- 3:b1e385adea43
- Child:
- 13:c5f3a7d8764a
diff -r fd8606aa9272 -r 5e1ef2515c70 source/main.cpp --- a/source/main.cpp Wed Oct 05 05:15:47 2016 +0100 +++ b/source/main.cpp Wed Oct 12 20:00:13 2016 +0100 @@ -91,7 +91,7 @@ struct AdvertisingData_t { uint8_t length; /* doesn't include itself */ GapAdvertisingData::DataType_t dataType; - uint8_t data[0]; + uint8_t data[1]; } AdvDataPacket; struct ApplicationData_t {