Difference between revisions of "2 WiFI wireless connection"

From Banana Pi Wiki
Jump to: navigation, search
(Created page with " '''WiFI wireless connection''' ==BPI:bit connect WiFI AP= *After the firmware is powered on, it will try to connect to the Internet by default after the LED light in the pa...")
 
(=BPI:bit connect WiFI AP)
Line 2: Line 2:
 
'''WiFI wireless connection'''
 
'''WiFI wireless connection'''
  
==BPI:bit connect WiFI AP=
+
=BPI:bit connect WiFI AP=
  
 
*After the firmware is powered on, it will try to connect to the Internet by default after the LED light in the panel has been rolled over. You may notice that if the tool or artificial Ctrl + C stops at this time, there will be no connection to the Internet. The following code is required
 
*After the firmware is powered on, it will try to connect to the Internet by default after the LED light in the panel has been rolled over. You may notice that if the tool or artificial Ctrl + C stops at this time, there will be no connection to the Internet. The following code is required

Revision as of 22:49, 20 February 2019

WiFI wireless connection

BPI:bit connect WiFI AP

  • After the firmware is powered on, it will try to connect to the Internet by default after the LED light in the panel has been rolled over. You may notice that if the tool or artificial Ctrl + C stops at this time, there will be no connection to the Internet. The following code is required
mport wifi # booy.py default enable
wifi.try_connect()
  • As shown below, import wifi is invoked by default in boot.py, so you can also call wifi.try_connect() directly from REPL.