3.13.4 Network Status
Once the network has been initialized, there is some status information can be retrieved
from the system. This status information is grouped into a structure, NETSTATUS or
BTSTATUS structure, and the system will periodically update it.
Note: User program must explicitly call CheckNetStatus() to get the latest status.
WLAN (802.11b) - Status
NETSTATUS Structure
struct NETSTATUS {
int State;
int Quality;
int Signal;
int Noise;
int Channel;
int TxRate;
int IPReady;
};
Parameter
int State
int Quality
Chapter 3 Terminal Specific Function Library
Description
Value
Connection State
0
1
Link Quality
0 ~ 10
10 ~ 15
15 ~ 30
30 ~ 50
50 ~ 80
NET_DISCONNECTED
NET_CONNECTED
Very poor
Poor
Fair
Good
Very good
133
Index
0
1