Host library for controlling a WiConnect enabled Wi-Fi module.

Dependents:   wiconnect-ota_example wiconnect-web_setup_example wiconnect-test-console wiconnect-tcp_server_example ... more

Revision:
6:8a87a59d0d21
Parent:
1:6ec9998427ad
Child:
9:b6218dc218ad
--- a/WiconnectInterface.h	Mon Aug 11 04:00:39 2014 -0700
+++ b/WiconnectInterface.h	Mon Aug 11 13:55:07 2014 -0700
@@ -90,6 +90,7 @@
 
     static const char* getWiconnectResultStr(WiconnectResult wiconnectResult);
     void setDebugLogger(LogFunc logFunc);
+    void setAssertLogger(LogFunc assertLogFunc);
 
 #ifdef WICONNECT_ASYNC_TIMER_ENABLED
     WiconnectResult enqueueCommand(QueuedCommand *command, const Callback &commandCompleteHandler = Callback());
@@ -104,6 +105,7 @@
     friend class QueuedCommand;
     friend class WiconnectSerial;
     friend class ScanResult;
+    friend class ScanResultList;
     friend class Socket;
     friend class File;
 #endif
@@ -136,7 +138,8 @@
     WiconnectResult inline receivePacket();
     void issueCommandCallback(WiconnectResult result);
 
-    wiconnect::LogFunc debugLogger;
+    LogFunc debugLogger;
+    LogFunc assertLogger;
     void debugLog(const char *msg, ...);
 
 #ifdef WICONNECT_ASYNC_TIMER_ENABLED