Home
FAQ
Player
Stage
Gazebo
Contrib
Documentation
Publications
Contributors
Users

Project
Download
Bugs/Feedback
Mailing lists

Radish

Old news
Old stuff

WiFiProxy Class Reference
[Proxies]

#include <playerclient.h>

Inherits ClientProxy.

List of all members.


Detailed Description

The WiFiProxy class controls a wifi device.


Public Member Functions

 WiFiProxy (PlayerClient *pc, unsigned short index, unsigned char access= 'c')
int GetLinkQuality (char *ip=NULL)
int GetLevel (char *ip=NULL)
int GetLeveldBm (char *ip=NULL)
int GetNoise (char *ip=NULL)
int GetNoisedBm (char *ip=NULL)
uint16_t GetMaxLinkQuality ()
uint8_t GetMode ()
int GetBitrate ()
char * GetMAC (char *buf, int len)
char * GetIP (char *buf, int len)
char * GetAP (char *buf, int len)
int AddSpyHost (char *address)
int RemoveSpyHost (char *address)
void FillData (player_msghdr_t hdr, const char *buffer)
void Print ()
 Print out current data.


Protected Member Functions

int GetLinkIndex (char *ip)

Protected Attributes

int link_count
 The current wifi data.

player_wifi_link_t links [PLAYER_WIFI_MAX_LINKS]
uint32_t throughput
uint8_t op_mode
int32_t bitrate
uint16_t qual_type
uint16_t maxqual
uint16_t maxlevel
uint16_t maxnoise
char access_point [32]


Constructor & Destructor Documentation

WiFiProxy::WiFiProxy PlayerClient pc,
unsigned short  index,
unsigned char  access = 'c'
[inline]
 

Constructor. Leave the access field empty to start unconnected.


Member Function Documentation

int WiFiProxy::GetLinkQuality char *  ip = NULL  ) 
 

int WiFiProxy::GetLevel char *  ip = NULL  ) 
 

int WiFiProxy::GetLeveldBm char *  ip = NULL  )  [inline]
 

int WiFiProxy::GetNoise char *  ip = NULL  ) 
 

int WiFiProxy::GetNoisedBm char *  ip = NULL  )  [inline]
 

uint16_t WiFiProxy::GetMaxLinkQuality  )  [inline]
 

uint8_t WiFiProxy::GetMode  )  [inline]
 

int WiFiProxy::GetBitrate  ) 
 

char* WiFiProxy::GetMAC char *  buf,
int  len
 

char* WiFiProxy::GetIP char *  buf,
int  len
 

char* WiFiProxy::GetAP char *  buf,
int  len
 

int WiFiProxy::AddSpyHost char *  address  ) 
 

int WiFiProxy::RemoveSpyHost char *  address  ) 
 

void WiFiProxy::FillData player_msghdr_t  hdr,
const char *  buffer
[virtual]
 

All proxies must provide this method. It is used internally to parse new data when it is received.

Reimplemented from ClientProxy.

void WiFiProxy::Print  )  [virtual]
 

Print out current data.

Reimplemented from ClientProxy.

int WiFiProxy::GetLinkIndex char *  ip  )  [protected]
 


Member Data Documentation

int WiFiProxy::link_count [protected]
 

The current wifi data.

player_wifi_link_t WiFiProxy::links[PLAYER_WIFI_MAX_LINKS] [protected]
 

uint32_t WiFiProxy::throughput [protected]
 

uint8_t WiFiProxy::op_mode [protected]
 

int32_t WiFiProxy::bitrate [protected]
 

uint16_t WiFiProxy::qual_type [protected]
 

uint16_t WiFiProxy::maxqual [protected]
 

uint16_t WiFiProxy::maxlevel [protected]
 

uint16_t WiFiProxy::maxnoise [protected]
 

char WiFiProxy::access_point[32] [protected]
 


The documentation for this class was generated from the following file:
Generated on Tue May 3 14:16:08 2005 for Player by doxygen 1.3.6