top logo menu kitty mascot
AROS.ORG Developers Localization Bounties

wifi

Index Prev


Name

wifi

Synopsis

DEVICE,UNIT/K/N,SCAN/S

Location

C:

Function

Show whether a wireless SANA-II device is associated, and to which
network. With SCAN, list the networks it can currently see.

Without DEVICE the wireless device configured in the network
preferences is used (ENV:AROSTCP/WirelessDevice).

Inputs

DEVICE  --  SANA-II device to query, e.g. DEVS:Networks/bwfm.device
UNIT    --  device unit, default 0
SCAN    --  scan for visible networks (takes a few seconds)

Result

Standard DOS return codes.

Example

wifi
wifi SCAN
wifi DEVS:Networks/bwfm.device UNIT 0

Notes

Nothing here needs a TCP/IP stack: the driver is asked directly, so
this also works while the network is down. Use ifconfig for addresses.

See also

ifconfig