Core Base Classes for the Light Endpoints
Dependents: mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet ... more
Diff: main.cpp
- Revision:
- 151:d6500663ed8c
- Parent:
- 150:b898b05e9e23
- Child:
- 152:659a8ebcbe93
diff -r b898b05e9e23 -r d6500663ed8c main.cpp --- a/main.cpp Wed Apr 02 05:28:36 2014 +0000 +++ b/main.cpp Wed Apr 02 06:00:01 2014 +0000 @@ -106,12 +106,16 @@ } return NULL; } - - // Main Entry + + // main entry point int main() { #ifdef CELLULAR_NETWORK C027 c027; + c027.mdmPower(true); + c027.mdmReset(); + c027.mdmWakeup(); UBLOX_MODEM modem(NC,true,1); + modem.power(true); #endif #ifdef NETWORK_MUTEX network_mutex = new Mutex();