This library controls the WNC. There is a derived class for usage from the K64F board.
Fork of WncControllerLibrary by
Diff: WncController.h
- Revision:
- 2:30d78cda6779
- Parent:
- 1:ac2de545b981
- Child:
- 4:c5720f4d13ff
--- a/WncController.h Thu Sep 01 02:28:10 2016 +0000
+++ b/WncController.h Thu Sep 01 22:28:10 2016 +0000
@@ -330,14 +330,14 @@
virtual int getTimerTicksB_mS(void) = 0;
bool waitForPowerOnModemToRespond(uint8_t powerUpTimeoutSecs);
-
+ AtCmdErr_e sendWncCmd(const char * const s, string ** r, int ms_timeout);
+
private:
bool softwareInitMdm(void);
bool checkCellLink(void);
AtCmdErr_e mdmSendAtCmdRsp(const char * cmd, int timeout_ms, string * rsp, bool crLf = true);
size_t mdmGetline(string * buff, int timeout_ms);
- AtCmdErr_e sendWncCmd(const char * const s, string ** r, int ms_timeout);
bool at_at_wnc(void);
bool at_init_wnc(bool hardReset = false);
bool at_sockopen_wnc(const char * const ip, uint16_t port, uint16_t numSock, bool tcp, uint16_t timeOutSec);
