This is library for using WizFi250
Dependents: WebSocket_WizFi250_HelloWorld IFTTT_WizFi250 AxedaGo-WizFi250 FANARM_AP_udp_server ... more
Diff: WizFi250/WizFi250_at.cpp
- Revision:
- 21:86e26540cc84
- Parent:
- 17:2a20f54f2929
diff -r 4fd47f387930 -r 86e26540cc84 WizFi250/WizFi250_at.cpp --- a/WizFi250/WizFi250_at.cpp Wed Oct 21 05:53:02 2015 +0000 +++ b/WizFi250/WizFi250_at.cpp Wed Oct 28 11:24:41 2015 +0000 @@ -159,6 +159,14 @@ return sendCommand(cmd); } +int WizFi250::cmdWANT(AntennaMode mode) +{ + char cmd[CFG_CMD_SIZE]; + sprintf(cmd, "AT+WANT=%d",mode); + + return sendCommand(cmd); +} + int WizFi250::cmdWNET(bool is_dhcp) { char cmd[CFG_CMD_SIZE];