Scanning is only possible on STA interface. Hidden networks – where the SSID is not broadcast – will also be scanned Scan for the available wireless networks. If bssid is given then the connection will be restricted to theĪccess-point with that MAC address (the ssid must also be specifiedĭisconnect from the currently connected wireless network. connect ( ssid = None, key = None, *, bssid = None ) ¶Ĭonnect to the specified wireless network, using the specified key. Wi-Fi Scanner allows you to easily locate visible wireless networks and its corresponding information. Most other methods require active interface. Wi-Fi Scanner is an easy-to-use tool to scan for and analyze 802.11 a/b/g/n wireless networks. Otherwise, query current state if no argument is active ( ) ¶Īctivate (“up”) or deactivate (“down”) network interface, if booleanĪrgument is passed. Availability of the methods below depends on interface type.įor example, only STA interface may nnect() to an access point. ![]() Points) and network.AP_IF (access point, allows other WiFi clients toĬonnect). Network.STA_IF (station aka client, connects to upstream WiFi access WLAN ( interface_id ) ¶Ĭreate a WLAN network interface object. connect ( 'your-ssid', 'your-key' ) # now use sockets as usual Constructors ¶ class network. Import network # enable station interface and connect to WiFi access point nic = network.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |