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
Diff: cellular/Cellular.cpp
- Revision:
- 48:dad1e780cb1c
- Parent:
- 43:3cacf019ed7d
- Child:
- 53:27c9622de0f9
--- a/cellular/Cellular.cpp Thu Dec 19 21:32:27 2013 +0000 +++ b/cellular/Cellular.cpp Thu Dec 19 22:18:23 2013 +0000 @@ -175,7 +175,7 @@ ////Setup IP Connection if(mode == TCP) { if(socketCloseable) { - Code code = sendBasicCommand("AT#DLEMODE=1,0", 1000); + Code code = sendBasicCommand("AT#DLEMODE=1,1", 1000); if(code != CELL_OK) { printf("[WARNING] Unable to set socket closeable [%d]\r\n", (int) code); }