I added functionality to get the RSSI, BER, and Cell Neighbor for reporting connection issues to M2X
Dependencies: mbed FXOS8700CQ mbed-rtos WNCInterface M2XStreamClient-JMF jsonlite
Diff: main.cpp
- Revision:
- 6:731f412e6571
- Parent:
- 5:8099493f2c35
- Child:
- 7:721eb6bb68d3
diff -r 8099493f2c35 -r 731f412e6571 main.cpp --- a/main.cpp Wed Apr 05 16:37:18 2017 +0000 +++ b/main.cpp Wed Apr 05 17:46:42 2017 +0000 @@ -35,23 +35,7 @@ DigitalOut led_red(LED_RED); DigitalOut led_blue(LED_BLUE); -K64F_Sensors_t SENSOR_DATA = -{ - .Temperature = 0, - .Humidity = 0, - .AccelX = 0, - .AccelY = 0, - .AccelZ = 0, - .MagnetometerX = 0, - .MagnetometerY = 0, - .MagnetometerZ = 0, - .AmbientLightVis = 0, - .AmbientLightIr = 0, - .UVindex = 0, - .Proximity = 0, - .Temperature_Si7020 = 0, - .Humidity_Si7020 = 0, -}; +K64F_Sensors_t SENSOR_DATA = {}; //******************************************************************************************************************************************** //* Set the RGB LED's Color