example code for Axeda backend using SocketModem library for Cellular or Wifi access
Dependencies: AxedaWrapper SocketModem mbed
Revision 1:f0b38aa21aaf, committed 2014-01-04
- Comitter:
- mfiore
- Date:
- Sat Jan 04 06:37:13 2014 +0000
- Parent:
- 0:5b04479914b6
- Child:
- 2:2dd8eba7cb9c
- Commit message:
- used init function with pin mappings for DCD and DTR
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sat Jan 04 06:15:19 2014 +0000 +++ b/main.cpp Sat Jan 04 06:37:13 2014 +0000 @@ -19,7 +19,7 @@ serial->baud(115200); Transport::setTransport(Transport::CELLULAR); Cellular* cell = Cellular::getInstance(); - cell->init(serial); + cell->init(serial, PTA4, PTC9); int max_tries = 5; int i;