Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
Rainer Schleevoigt committed Apr 19, 2017
1 parent 29a04cc commit 41ee263
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions android/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,20 @@ Wifi.startWifiScan({
});
});
```
Typical result:
```xml
[{"RSSI":"-57","SSID":"hamburg.freifunk.net","FREQ":"2432","CAP":"[ESS]","BSSID":"ce:33:32:ef:b7:98"}, {"RSSI":"-16","SSID":"iKnöterich","FREQ":"2462","CAP":"[WPA2-PSK-CCMP][ESS]","BSSID":"ea:85:50:ac:d9:17"}, {"RSSI":"-67","SSID":"o2-WLAN31","FREQ":"2447","CAP":"[WPA2-PSK-CCMP-preauth][WPS][ESS][BLE]","BSSID":"9c:80:df:62:f3:46"}, {"RSSI":"-70","SSID":"100974","FREQ":"2467","CAP":"[WPA-PSK-TKIP][WPA2-PSK-CCMP][WPS][ESS]","BSSID":"00:24:fe:a2:a3:ae"}, {"RSSI":"-75","SSID":"FRITZ!Box 7490","FREQ":"2437","CAP":"[WPA2-PSK-CCMP][WPS][ESS]","BSSID":"38:10:d5:44:c4:1e"}, {"RSSI":"-81","SSID":"Kasse","FREQ":"2462","CAP":"[WPA2-PSK-CCMP][ESS]","BSSID":"00:f7:6f:cd:d3:66"}, {"RSSI":"-83","SSID":"Kasse","FREQ":"2462","CAP":"[WPA2-PSK-CCMP][ESS]","BSSID":"4c:32:75:c6:e7:7c"}, {"RSSI":"-87","SSID":"FRITZ!Box 7490","FREQ":"5300","CAP":"[WPA2-PSK-CCMP][WPS][ESS]","BSSID":"38:10:d5:44:c4:1f"}, {"RSSI":"-90","SSID":"WLAN-E66F15","FREQ":"5220","CAP":"[WPA2-PSK-CCMP][WPS][ESS]","BSSID":"9c:80:df:e6:6f:af"}, {"RSSI":"-91","SSID":"Kasse","FREQ":"5700","CAP":"[WPA2-PSK-CCMP][ESS]","BSSID":"28:cf:e9:87:17:15"}, {"RSSI":"-87","SSID":"WLAN-360639","FREQ":"2452","CAP":"[WPA-PSK-CCMP+TKIP][WPA2-PSK-CCMP+TKIP][ESS]","BSSID":"2a:a4:3c:95:66:5b"}, {"RSSI":"-75","SSID":"hamburg.freifunk.net","FREQ":"5540","CAP":"[ESS]","BSSID":"04:18:d6:0c:c9:d1"}, {"RSSI":"-75","SSID":"hamburg.freifunk.net","FREQ":"2452","CAP":"[ESS]","BSSID":"e8:94:f6:cd:6c:65"}, {"RSSI":"-83","SSID":"Telekom","FREQ":"2447","CAP":"[ESS]","BSSID":"62:02:b4:9e:b1:bc"}, {"RSSI":"-87","SSID":"Vodafone Free WiFi","FREQ":"5680","CAP":"[ESS][BLE]","BSSID":"f8:4f:57:37:f4:2f"}]
```
### Getting all configured APIs
```javascript
var Wifi = require("ti.wifimanager");
scanned.networks.forEach(function(ap) {
console.log(ap);
Wifi.getConfiguredNetworks().forEach(function(saved) {
console.log(saved);
});
```
### Configure a new AP (after scanning current networks)
```javascript
var Wifi = require("ti.wifimanager");
Expand Down

0 comments on commit 41ee263

Please sign in to comment.