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
config_me.h
- Committer:
- jk431j
- Date:
- 2017-10-25
- Revision:
- 10:a8495b430849
- Parent:
- 8:b82d330e10e9
- Child:
- 12:0dfd0129f75d
File content as of revision 10:a8495b430849:
// Configure all M2X related values here char deviceId[33] = "beefbeefbeefbeefbeefbeefbeefbeef"; // Device you want to post to char m2xKey[33] = "cafecafecafecafecafecafecafecafe"; // Your M2X API Key or Master API Key const char* hStreamName = "humidity"; // Humidity stream ID const char* tStreamName = "temp"; // Temperature stream ID const char* accelStreamNames[] = { "accelX", "accelY", "accelZ" }; // Accelerometer stream IDs int commandDelay = 10; // how many seconds we should wait between polling for a command int commandPolls = 6; // how many times we should poll for a command // these two also define how often we will be sending the data to M2X, // the interval is commandPolls * commandDelay seconds, the default is 60 seconds (6 * 10 = 60s)