#include "common.h"
#include "common-rs485.h"
Go to the source code of this file.
Defines |
| #define | DEBUG_WIFI 1 |
Functions |
| bool | DWIFIcheckResult (tMassiveArray &readdata, char *caller=NULL) |
| bool | DWIFIcheckResult (tMassiveArray &readdata, int timeout, char *caller=NULL) |
| int | checkFailure () |
| void | DWIFIsetEcho (bool on) |
| bool | DWIFIsetVerbose (bool on) |
| bool | DWIFIsetSWControl () |
| bool | DWIFIscanNetworks () |
| bool | DWIFIsetAuthMode (int state) |
| bool | DWIFIsetSSID (char *_ssid) |
| bool | DWIFIsetWEPKey (int keyindex, char *_wep_key) |
| bool | DWIFIsetWPAPSK (char *ssid, char *_wpa_key) |
| bool | DWIFIsetDHCP (bool useDHCP) |
| bool | getFW () |
| bool | getInfo () |
| bool | getInfoWLAN () |
| bool | DWIFIClose (int cid=-1) |
| bool | DWIFIsaveConfig () |
| void | DWIFIresetConfig () |
| void | DWIFITCPOpenServer (long port) |
| bool | checkBaudRate (long baudrate) |
| long | DWIFIscanBaudRate () |
| void | DWIFIsetBAUDRate (long baudrate) |
| void | DWIFIwaitForIP () |
Variables |
| long | nRcvChars = 0 |
| ubyte | BytesRead [8] |
| char | linefeed [] = {0x0A} |
| char | beginmarker [] = {27, 'S', 0} |
| char | endmarker [] = {27, 'E', 0} |
| long | DWIFI_baudRates [] = {9600, 19200, 38400, 57600, 115200, 230400,460800, 921600} |
| string | DWIFIscratchString |
| tMassiveArray | DWIFIscratchArray |
Define Documentation
Function Documentation
| bool checkBaudRate |
( |
long |
baudrate ) |
|
| bool DWIFIcheckResult |
( |
tMassiveArray & |
readdata, |
|
|
int |
timeout, |
|
|
char * |
caller = NULL |
|
) |
| |
| bool DWIFIcheckResult |
( |
tMassiveArray & |
readdata, |
|
|
char * |
caller = NULL |
|
) |
| |
| bool DWIFIClose |
( |
int |
cid = -1 ) |
|
| void DWIFIresetConfig |
( |
) |
|
| long DWIFIscanBaudRate |
( |
) |
|
| bool DWIFIscanNetworks |
( |
) |
|
| bool DWIFIsetAuthMode |
( |
int |
state ) |
|
| void DWIFIsetBAUDRate |
( |
long |
baudrate ) |
|
| bool DWIFIsetDHCP |
( |
bool |
useDHCP ) |
|
| void DWIFIsetEcho |
( |
bool |
on ) |
|
| bool DWIFIsetSSID |
( |
char * |
_ssid ) |
|
| bool DWIFIsetSWControl |
( |
) |
|
| bool DWIFIsetVerbose |
( |
bool |
on ) |
|
| bool DWIFIsetWEPKey |
( |
int |
keyindex, |
|
|
char * |
_wep_key |
|
) |
| |
| bool DWIFIsetWPAPSK |
( |
char * |
ssid, |
|
|
char * |
_wpa_key |
|
) |
| |
| void DWIFITCPOpenServer |
( |
long |
port ) |
|
Variable Documentation
| long DWIFI_baudRates[] = {9600, 19200, 38400, 57600, 115200, 230400,460800, 921600} |