![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
FRDM-K64F, Avnet M14A2A, Grove Shield, to create smart home system. In use with AT&Ts M2x & Flow.
Dependencies: mbed FXOS8700CQ MODSERIAL
Diff: main.cpp
- Revision:
- 21:d0038d14ee7c
- Parent:
- 20:27a4f27254d0
- Child:
- 23:d6ceeb6d85ed
- Child:
- 25:e7996d22a7e6
--- a/main.cpp Wed Jul 13 17:57:14 2016 +0000 +++ b/main.cpp Wed Jul 13 18:34:56 2016 +0000 @@ -275,6 +275,8 @@ .Humidity_Si7020 = "0" }; +static int iSensorsToReport = TEMP_HUMIDITY_ONLY; + void GenerateModemString(char * modem_string) { switch(iSensorsToReport) @@ -516,12 +518,4 @@ sockclose_mdm(); } //bTimerExpiredFlag } //forever loop - -#if (0) - string * pStr; - while (1) - { - send_wnc_cmd("AT", &pStr, WNC_TIMEOUT_MS); - } -#endif }