Example program for MTS Universal Socked Modem Shield. Test that you can connect to a network.
Dependencies: SocketModem mbed
Revision 5:6950fcac0abd, committed 2014-01-05
- Comitter:
- mfiore
- Date:
- Sun Jan 05 06:10:51 2014 +0000
- Parent:
- 4:04e0da61d68b
- Child:
- 6:54b72ffdac62
- Commit message:
- updated SocketModem library; remove wait before Cellular::init() function
Changed in this revision
SocketModem.lib | Show annotated file Show diff for this revision Revisions of this file |
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/SocketModem.lib Sat Jan 04 21:10:51 2014 +0000 +++ b/SocketModem.lib Sun Jan 05 06:10:51 2014 +0000 @@ -1,1 +1,1 @@ -https://mbed.org/teams/Multi-Hackers/code/SocketModem/#3b40320f3f73 +https://mbed.org/teams/Multi-Hackers/code/SocketModem/#c7d8fe37981b
--- a/main.cpp Sat Jan 04 21:10:51 2014 +0000 +++ b/main.cpp Sun Jan 05 06:10:51 2014 +0000 @@ -12,12 +12,6 @@ main() { - //Wait for radio to boot up - for (int i = 30; i >= 0; i = i - 5) { - wait(5); - printf("Waiting %d seconds...\n\r", i); - } - //Setup serial interface to radio MTSSerialFlowControl* serial = new MTSSerialFlowControl(PTD3, PTD2, PTA12, PTC8); serial->baud(115200);