Fork of WizFi310Interface_Legacy by
Revision 2:6f9444b6e733, committed 2017-11-28
- Comitter:
- ajeet3004
- Date:
- Tue Nov 28 06:41:04 2017 +0000
- Parent:
- 1:e08ea0ee2788
- Commit message:
- wizfi310 station
Changed in this revision
diff -r e08ea0ee2788 -r 6f9444b6e733 WizFi310/WizFi310.h --- a/WizFi310/WizFi310.h Tue May 02 00:31:36 2017 +0000 +++ b/WizFi310/WizFi310.h Tue Nov 28 06:41:04 2017 +0000 @@ -327,6 +327,8 @@ //daniel for mqtt char rcvd_mqtt_topic[128]; + + bool test(void); };
diff -r e08ea0ee2788 -r 6f9444b6e733 WizFi310/WizFi310_at.cpp --- a/WizFi310/WizFi310_at.cpp Tue May 02 00:31:36 2017 +0000 +++ b/WizFi310/WizFi310_at.cpp Tue Nov 28 06:41:04 2017 +0000 @@ -166,7 +166,7 @@ int WizFi310::cmdWANT(AntennaMode mode) { char cmd[CFG_CMD_SIZE]; - sprintf(cmd, "AT+WANT=%d",mode); + sprintf(cmd, "AT+WANT=%d",mode); return sendCommand(cmd); } @@ -215,7 +215,7 @@ if( cmdWSTATUS() ) return -1; - WIZ_INFO("WizFi310 is successfully join to AP"); + //WIZ_INFO("WizFi310 is successfully join to AP"); return 0; }
diff -r e08ea0ee2788 -r 6f9444b6e733 WizFi310Interface.cpp --- a/WizFi310Interface.cpp Tue May 02 00:31:36 2017 +0000 +++ b/WizFi310Interface.cpp Tue Nov 28 06:41:04 2017 +0000 @@ -64,6 +64,8 @@ return cmdWLEAVE(); } + + char* WizFi310Interface::getMACAddress() { return _state.mac; @@ -84,4 +86,7 @@ return cmdWANT(mode); } + //char* getNetworkMask(); + +