SWRU455M February 2017 – October 2020 CC3120 , CC3120MOD , CC3130 , CC3135 , CC3135MOD , CC3220MOD , CC3220MODA , CC3220R , CC3220S , CC3220SF , CC3230S , CC3230SF , CC3235MODAS , CC3235MODASF , CC3235MODS , CC3235MODSF , CC3235S , CC3235SF
Table 10-16 lists the network information tokens.
Token | Name | Value and Usage |
---|---|---|
Station (and P2P Client) | ||
__SL_G_N.A | STA IPv4 Address | String format: xxx.yyy.zzz.ttt |
__SL_G_N.B | STA IPv4 Subnet Mask | |
__SL_G_N.C | STA IPv4 Default Gateway | |
__SL_G_N.D | MAC Address | String format: 00:11:22:33:44:55 |
__SL_G_N.E | STA IPv4 DHCP State | Returned value: Enabled / Disabled |
__SL_G_N.F | STA IPv4 DHCP Disable State | If DHCP is disabled, returns Checked, else returns Not_Checked. Used in the DHCP radio button |
__SL_G_N.G | STA IPv4 DHCP Enable State | If DHCP is enabled, returns Checked, else returns Not_Checked. Used in the DHCP radio button |
__SL_G_N.L | STA IPv4 LLA Enable State | If LLA option is enabled, returns Checked, else returns Not_Checked. |
__SL_G_N.H | STA IPv4 DNS Server | String format: xxx.yyy.zzz.ttt |
__SL_G_LV6 | STA IPv6 Enable | If IPv6 interface is enabled, returns Checked, else returns Not_Checked. |
__SL_G_LSC | STA IPv6 Local Address Type | Returns Checked if IPv6 local address mode is static. |
__SL_G_LSS | Returns Checked if IPv6 local address mode is stateless. | |
__SL_G_LSF | Returns Checked if IPv6 local address mode is statefull. | |
__SL_G_N.Z | STA IPv6 Global Address Type | Returns Checked if IPv6 global address is disabled. |
__SL_G_N.R | Returns Checked if IPv6 global address mode is static | |
__SL_G_N.O | Returns Checked if IPv6 global address mode is statefull | |
__SL_G_N.S | Returns Checked if IPv6 global address mode is stateless | |
__SL_G_LSK | STA Current IPv6 Local Address | Returns the address in the format xxxx:xxxx:xxxx:xxxx: xxxx:xxxx:xxxx:xxxx |
__SL_G_LSG | STA Current IPv6 Global Address | |
__SL_G_LSP | STA IPv6 DNS Server | |
__SL_G_LSO | STA IPv6 Local Address Mode | Returns Disabled / Static / Stateless / Statefull according to the configured local address mode |
__SL_G_LSD | STA IPv6 Global Address Mode | Returns Disabled / Static / Stateless / Statefull according to the configured global address mode. |
DHCP server | ||
__SL_G_N.I | DHCP Start Address | String format: xxx.yyy.zzz.ttt |
__SL_G_N.J | DHCP Last Address | |
__SL_G_N.K | DHCP Lease Time | String of the lease time in seconds |
AP (and P2P Go) | ||
__SL_G_N.P | AP IP Address | String format: xxx.yyy.zzz.ttt |
__SL_G_N.Q | AP Subnet Mask | |
__SL_G_N.T | AP Gateway Address | |
__SL_G_N.U | AP DNS Address | |
__SL_G_W.A | Channel # in AP mode | |
__SL_G_W.B | SSID | |
__SL_G_W.I | Is SSID Public | If SSID is public (visible), returns Checked, else returns Not_Checked. Used in the security type radio button check/not checked. |
__SL_G_W.J | Is SSID Hidden | If SSID is hidden (invisible), returns Checked, else returns Not_Checked. Used in the security type radio button check/not checked. |
__SL_G_W.C | Security Type | Returned values: Open, WEP, WPA. |
__SL_G_W.D | Security Type Open | If security type is open, returns Checked, else returns Not_Checked. Used in the security type radio button check/not checked. |
__SL_G_W.E | Security Type WEP | If security type is WEP, returns Checked, else returns Not_Checked. Used in the security type radio button check/not checked. |
__SL_G_W.F | Security Type WPA | If security type is WPA, returns Checked, else returns Not_Checked. Used in the security type radio button check/not checked. |
__SL_G_SR1 | The configured max number of connected stations. | The token representing the max number of connected stations returns Checked. Others return Not Checked. |
__SL_G_SR2 | ||
__SL_G_SR3 | ||
__SL_G_SR4 | ||
__SL_G_CN1 | Name of the connected station (string) in the given index. | Each token returns the host name of the station in the specified index. “ - “ is returned if the client does not exist. |
__SL_G_CN2 | ||
__SL_G_CN3 | ||
__SL_G_CN4 | ||
__SL_G_CM1 | MAC address (string in the format AA:BB:CC:DD:EE:FF) of the connected station in the given index. | Each token returns the MAC address of the station in the specified index. “ - “ is returned if no station is connected. |
__SL_G_CM2 | ||
__SL_G_CM3 | ||
__SL_G_CM4 | ||
__SL_G_CI1 | IP address (string in the format W.X.Y.Z) of the connected station in the given index. | Each token returns the IP address of the station in the specified index. “ - “ is returned if no station is connected. |
__SL_G_CI2 | ||
__SL_G_CI3 | ||
__SL_G_CI4 | ||
__SL_G_SM1 | Access control filter is enabled | If AP access control filter is enabled, returns Checked, else returns Not_Checked. |
__SL_G_SM0 | Access control filter is disabled | If AP access control filter is disabled, returns Checked, else returns Not_Checked. |
__SL_G_CLS | Number of filtered MAC addresses. | |
__SL_G_CL1 | The MAC filter of the given index (string in the format AA:BB:CC:DD:EE:FF). | Return the configured MAC address to filter. “ - “ is returned if no filter is configured. |
__SL_G_CL2 | ||
__SL_G_CL3 | ||
__SL_G_CL4 | ||
__SL_G_CL5 | ||
__SL_G_CL6 | ||
__SL_G_CL7 | ||
__SL_G_CL8 | ||
__SL_G_NW1 | Tokens for retrieving the scan results. Each result is in the format Nssid; where N is the security indicator (0=open, 1=WEP, 2=WPA/WPA2,3=WPA3). | Incrementally returns scan results (one for each get request). |
__SL_G_NW0 | Always returns the first scan result and resets the internal pointer. |