WNC14A2A LTE Interface
Dependencies: WncControllerK64F
Fork of WNC14A2AInterface by
Diff: WNC14A2AInterface.h
- Revision:
- 6:7fd9e590c4e7
- Parent:
- 1:f925e07b044d
- Child:
- 8:1c11661da488
--- a/WNC14A2AInterface.h Wed Apr 19 01:05:21 2017 +0000 +++ b/WNC14A2AInterface.h Wed Apr 19 15:19:05 2017 +0000 @@ -20,7 +20,7 @@ #include <stdint.h> #include "mbed.h" -#include "BufferedSerial.h" +#include "WNCDebug.h" #include "WncControllerK64F/WncControllerK64F.h" #define WNC14A2A_SOCKET_COUNT 5 @@ -104,7 +104,7 @@ /** WNC14A2AInterface Constructors... * @param can include an APN string and/or a debug uart */ - WNC14A2AInterface(BufferedSerial *_dbgUart = NULL); + WNC14A2AInterface(WNCDebug *_dbgUart = NULL); ~WNC14A2AInterface(); /** Set the cellular network APN and credentials @@ -311,7 +311,7 @@ WncControllerK64F_fk::WncControllerK64F *_pwnc; //pointer to the WncController instance int m_active_socket; // a 'pseudo' global to track the active socket - BufferedSerial *_debugUart; // Serial object for parser to communicate with radio + WNCDebug *_debugUart; // Serial object for parser to communicate with radio char *_fatal_err_loc; // holds string containing location of fatal error nsapi_error_t _errors; @@ -326,7 +326,7 @@ void handle_sms_event(); // Handle incoming text data char _mac_address[NSAPI_MAC_SIZE]; // local Mac - void debugOutput(BufferedSerial *dbgOut, char * format, ...); + void debugOutput(WNCDebug *dbgOut, char * format, ...); }; #endif