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: io/IPStack.h
- Revision:
- 41:81d035fb0b6a
- Parent:
- 27:8e6188cbcfd4
- Child:
- 43:3cacf019ed7d
--- a/io/IPStack.h Thu Dec 19 15:56:05 2013 +0000 +++ b/io/IPStack.h Thu Dec 19 21:16:30 2013 +0000 @@ -62,7 +62,7 @@ //Error code => -1, Timeout == -1 for blocking virtual int read(char* data, int max, int timeout = -1) = 0; - virtual int write(char* data, int length, int timeout = -1) = 0; + virtual int write(const char* data, int length, int timeout = -1) = 0; /** This method is used to get the number of bytes available to read off the * socket.