WiFi (W)

<< Click to Display Table of Contents >>

Home  mIoTa BASIC > mIoTa BASIC Language Reference > O/S Variables - Quick Reference >

WiFi (W)

The following is a complete list of the the WiFi variables ('W' prefix). W128 and onwards are Read-Only variables.

 

These are variables associated with the wireless network connection (WiFi).

 

Click a variable name to view a more comprehensive description.

 

 

Read/Write Variables

 

mIoTa ID

Friendly Name

(in mIoTa BASIC only)

Data Type

Brief Description

W0

WF_SSID

String[32]

The wireless network name that will be used when connecting via WiFi.

W1

WF_SecurityKey

String[64]

The security key (pass-phrase) that will be used when connecting to the WF_SSID wireless network.

W2

WF_IPAddress

IPAddress

The IPV4 network IP address that will be used on the network if WF_DHCPEnable is set to FALSE

W3

WF_SubnetMask

IPAddress

The Subnet Mask that will be used on the network if WF_DHCPEnable is set to FALSE

W4

WF_Gateway

IPAddress

The Gateway IP address that will be used on the network if WF_DHCPEnable is set to FALSE

W5

WF_PrimaryDNS

IPAddress

The Primary DNS IP address that will be used on the network if WF_DHCPEnable is set to FALSE

W6

WF_SecondaryDNS

IPAddress

The Secondary DNS IP address that will be used on the network if WF_DHCPEnable is set to FALSE

W7

WF_MACAddress

MACAddress

The MAC (media access control) address that will be used for the WiFi connection.

W8

WF_NetBIOSName

String[16]

The NetBIOS (Network Basic Input/Output System) name that will be used for the WiFi connection

W9

WF_DHCPEnable

Boolean

Determines if the DHCP (Dynamic Host Configuration Protocol) on the WiFi network is to be used to set the IP address (plus Subnet Mask,Gateway,Primary DNS, and Secondary DNS) of the connection.

W10

WF_SecurityMode

Byte

The required WiFi security mode

W11

WF_mIoTaAP_SSID

String[32]

The network name used when the mIoTa operates as an access point.

W12

WF_mIoTaAP_WEPKey

String[6]

The WEP security key used when the mIoTa operates as an access point.

W13

WF_mIoTaAP_Channel

Byte

The WiFi channel used when the mIoTa operates as an access point

 

 

Read Only Variables

 

mIoTa ID

Friendly Name

(in mIoTa BASIC only)

Data Type

Brief Description

W128

WF_WiFiEnabled

Boolean

Whether the wireless network is connected.

W129

WF_CurrentSSID

String[32]

The network name of the currently connected wireless network.

W130

WF_CurrentSecurityKey

String[34]

The security key of the currently connected wireless network.

W131

WF_ScanFinished

Boolean

Whether a scan of available wireless networks has finished.

W132

WF_NumScanResults

Byte

The number of available wireless networks found on the last scan.

W133

WF_ScanIndex

Byte

The index in the scan list of the currently shown wireless network.

W134

WF_ScanBSSID

MACAddress

The MAC address of the currently shown wireless network.

W135

WF_ScanSSID

String[32]

The network name of the currently shown wireless network.

W136

WF_ScanSSIDLen

Byte

The length in characters of the SSID of the currently shown wireless network.

W137

WF_ScanRSSI

Byte

The MAC address of the currently shown wireless network.

W138

WF_ScanNetType

Byte

The signal strength of the currently shown wireless network.

W139

WF_ScanConfig

Byte

The configuration of the currently shown wireless network.