support library for C027 helper functions for Buffer Pipes, Buffered Serial Port (rtos capable) and GPS parsing. It includes modem APIs for USSD, SMS and Sockets.
Dependents: C027Interface C027Interface C027_SupportTest
Fork of C027_Support by
Diff: SerialPipe.h
- Revision:
- 18:e5697801df29
- Parent:
- 17:296d94a006b4
- Child:
- 19:2b5d097ca15d
diff -r 296d94a006b4 -r e5697801df29 SerialPipe.h --- a/SerialPipe.h Fri Jan 31 09:49:51 2014 +0000 +++ b/SerialPipe.h Fri Mar 14 13:07:48 2014 +0000 @@ -26,16 +26,3 @@ Pipe<char> _pipeRx; Pipe<char> _pipeTx; }; - -// ----------------------------------------------------------------------- -#define WAIT -1 -#define NOT_FOUND 0 - -class SerialPipeEx : public SerialPipe -{ -public: - int getLine(char* buffer, int length); - static int getLine(char* buffer, int length, Pipe<char>* pipe); - int getResp(char* buffer, int length); - static int getResp(char* buffer, int length, Pipe<char>* pipe); -};