A library for talking to Multi-Tech's Cellular SocketModem Devices.
Dependents: M2X_dev axeda_wrapper_dev MTS_M2x_Example1 MTS_Cellular_Connect_Example ... more
Revision 137:669d94870b68, committed 2014-01-03
- Comitter:
- jengbrecht
- Date:
- Fri Jan 03 22:42:06 2014 +0000
- Parent:
- 136:0937dce3630b
- Child:
- 138:a233b9775f93
- Commit message:
- Updated Cellular example to use DCD and DTR pins in init function for KL46Z
Changed in this revision
cellular/Cellular.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/cellular/Cellular.h Fri Jan 03 22:33:52 2014 +0000 +++ b/cellular/Cellular.h Fri Jan 03 22:42:06 2014 +0000 @@ -52,7 +52,7 @@ * * //Setup Cellular class * Cellular* cellular = Cellular::getInstance(); -* cellular->init(serial); +* cellular->init(serial, PTA4, PTC9); //DCD and DTR pins for KL46Z * * //Run status and configuration commands * printf("\n\r////Start Status and Configuration Commands////\n\r"); @@ -102,7 +102,7 @@ * * //Setup Cellular class * Cellular* cellular = Cellular::getInstance(); -* cellular->init(serial); +* cellular->init(serial, PTA4, PTC9); //DCD and DTR pins for KL46Z * * //Start test * printf("AT Test: %s\n\r", getCodeNames(cellular->test()).c_str()); @@ -169,7 +169,7 @@ * * //Setup Cellular class * Cellular* cellular = Cellular::getInstance(); -* cellular->init(serial); +* cellular->init(serial, PTA4, PTC9); //DCD and DTR pins for KL46Z * * //Start test * printf("AT Test: %s\n\r", getCodeNames(cellular->test()).c_str());