Own fork of MbedSmartRestMain
Dependencies: C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed
Fork of MbedSmartRestMain by
Diff: MbedAgent.cpp
- Revision:
- 107:f1ee3e1eb126
- Parent:
- 106:fc5f25f0e0d5
- Child:
- 108:2ec12f10ebf4
diff -r fc5f25f0e0d5 -r f1ee3e1eb126 MbedAgent.cpp --- a/MbedAgent.cpp Wed May 13 12:12:55 2015 +0000 +++ b/MbedAgent.cpp Wed May 13 13:03:20 2015 +0000 @@ -5,10 +5,10 @@ MbedAgent::MbedAgent(DeviceInfo& deviceInfo): _client(), tpl(), _bootstrap(_client, deviceInfo), _integration(_client, tpl, deviceInfo), lcdThirdLineBlank(true), - signal(deviceInfo), temp(), poti(), gps(), acc(), conf(), sock(), - pool(), _operationSupport(tpl, pool, conf) + signal(deviceInfo), temp(), poti(), gps(), acc(), sock(), + pool(), _operationSupport(tpl, pool) { - reporters[0] = &conf; + reporters[0] = &ConfigSync::inst(); reporters[1] = &temp; reporters[2] = &signal; reporters[3] = &gps; @@ -98,7 +98,7 @@ { ReportThread reportThread(pool); _operationSupport.executePendingOperations(); -// PollThread pollThread(pool, conf); +// PollThread pollThread(pool); // pollThread.setChannel(deviceID); Watchdog wdt;