Mindstorms 3rd Party ROBOTC Drivers RobotC
[Home] [Download] [Submit a bug/suggestion] [ROBOTC Forums] [Blog] [Support this project]
Defines | Functions | Variables

dexterind-wifi.h File Reference

#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

#define DEBUG_WIFI   1

Definition at line 30 of file dexterind-wifi.h.


Function Documentation

bool checkBaudRate ( long  baudrate )

Definition at line 361 of file dexterind-wifi.h.

int checkFailure (  )

Definition at line 110 of file dexterind-wifi.h.

bool DWIFIcheckResult ( tMassiveArray readdata,
int  timeout,
char *  caller = NULL 
)

Definition at line 78 of file dexterind-wifi.h.

bool DWIFIcheckResult ( tMassiveArray readdata,
char *  caller = NULL 
)

Definition at line 49 of file dexterind-wifi.h.

bool DWIFIClose ( int  cid = -1 )

Definition at line 305 of file dexterind-wifi.h.

void DWIFIresetConfig (  )

Definition at line 344 of file dexterind-wifi.h.

bool DWIFIsaveConfig (  )

Definition at line 333 of file dexterind-wifi.h.

long DWIFIscanBaudRate (  )

Definition at line 382 of file dexterind-wifi.h.

bool DWIFIscanNetworks (  )

Definition at line 202 of file dexterind-wifi.h.

bool DWIFIsetAuthMode ( int  state )

Definition at line 219 of file dexterind-wifi.h.

void DWIFIsetBAUDRate ( long  baudrate )

Definition at line 395 of file dexterind-wifi.h.

bool DWIFIsetDHCP ( bool  useDHCP )

Definition at line 278 of file dexterind-wifi.h.

void DWIFIsetEcho ( bool  on )

Definition at line 138 of file dexterind-wifi.h.

bool DWIFIsetSSID ( char *  _ssid )

Definition at line 241 of file dexterind-wifi.h.

bool DWIFIsetSWControl (  )

Definition at line 182 of file dexterind-wifi.h.

bool DWIFIsetVerbose ( bool  on )

Definition at line 157 of file dexterind-wifi.h.

bool DWIFIsetWEPKey ( int  keyindex,
char *  _wep_key 
)

Definition at line 252 of file dexterind-wifi.h.

bool DWIFIsetWPAPSK ( char *  ssid,
char *  _wpa_key 
)

Definition at line 262 of file dexterind-wifi.h.

void DWIFITCPOpenServer ( long  port )

Definition at line 351 of file dexterind-wifi.h.

void DWIFIwaitForIP (  )

Definition at line 442 of file dexterind-wifi.h.

bool getFW (  )

Definition at line 288 of file dexterind-wifi.h.

bool getInfo (  )

Definition at line 295 of file dexterind-wifi.h.

bool getInfoWLAN (  )

Definition at line 300 of file dexterind-wifi.h.


Variable Documentation

char beginmarker[] = {27, 'S', 0}

Definition at line 36 of file dexterind-wifi.h.

ubyte BytesRead[8]

Definition at line 34 of file dexterind-wifi.h.

long DWIFI_baudRates[] = {9600, 19200, 38400, 57600, 115200, 230400,460800, 921600}

Definition at line 39 of file dexterind-wifi.h.

Definition at line 41 of file dexterind-wifi.h.

Definition at line 40 of file dexterind-wifi.h.

char endmarker[] = {27, 'E', 0}

Definition at line 37 of file dexterind-wifi.h.

char linefeed[] = {0x0A}

Definition at line 35 of file dexterind-wifi.h.

long nRcvChars = 0

Definition at line 33 of file dexterind-wifi.h.