NTPClientTest, working with SARA-G350 on C027
Dependencies: C027 NTPClient UbloxUSBModem mbed
Fork of C027_USSDTest_SARA350 by
Revision 6:77c131006c67, committed 2013-10-21
- Comitter:
- mazgch
- Date:
- Mon Oct 21 08:50:06 2013 +0000
- Parent:
- 5:13f0fa1662ab
- Child:
- 7:c558c74ceb0f
- Commit message:
- initial version
Changed in this revision
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/C027.lib Mon Oct 21 08:50:06 2013 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/teams/ublox/code/C027/#7f910a8e77ee
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/UbloxUSBModem.lib Mon Oct 21 08:50:06 2013 +0000 @@ -0,0 +1,1 @@ +https://mbed.org/users/mbed_official/code/UbloxUSBModem/#6e9d98f8c237
--- a/VodafoneUSBModem.lib Tue Oct 30 10:18:34 2012 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -https://mbed.org/users/mbed_official/code/VodafoneUSBModem/#bf3cf216235c
--- a/main.cpp Tue Oct 30 10:18:34 2012 +0000 +++ b/main.cpp Mon Oct 21 08:50:06 2013 +0000 @@ -1,14 +1,17 @@ #include "mbed.h" -#include "VodafoneUSBModem.h" +#include "C027.h" +#include "UbloxUSBGSMModem.h" +#include "UbloxUSBCDMAModem.h" + #include "HTTPClient.h" void test(void const*) { - VodafoneUSBModem modem; + UbloxUSBGSMModem modem; // for LISA-C use the UbloxUSBCDMAModem instead HTTPClient http; char str[512]; - int ret = modem.connect("pp.vodafone.co.uk"); + int ret = modem.connect(); // eventaully set a apn here if(ret) { printf("Could not connect\n"); @@ -55,7 +58,7 @@ int main() { Thread testTask(test, NULL, osPriorityNormal, 1024 * 4); - DigitalOut led(LED1); + DigitalOut led(A0); while(1) { led=!led;
--- a/mbed-rtos.lib Tue Oct 30 10:18:34 2012 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -http://mbed.org/users/mbed_official/code/mbed-rtos/#9654a71f5a90
--- a/mbed.bld Tue Oct 30 10:18:34 2012 +0000 +++ b/mbed.bld Mon Oct 21 08:50:06 2013 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/e2ed12d17f06 \ No newline at end of file +http://mbed.org/users/mbed_official/code/mbed/builds/a9913a65894f \ No newline at end of file