8.13.7 Get Current Network Information
To get the connected interface information of the network, which includes RSSI, channel, encryption, and so on, use the following command:
$ iwconfig wlan0
DBG [WILC_WFI_get_tx_power: 3418]Got tx power 18
wlan0 IEEE 802.11bgn ESSID:"AndroidAP"
Mode:Managed Frequency:2.437 GHz Access Point: 02:1A:11:F5:56:81
Bit Rate=0 kb/s Tx-Power=18 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:on
Link Quality=49/70 Signal level=-61 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0