nicolaibonde / PyRo

Python Robot a robotics platform made with python
GNU General Public License v3.0
0 stars 0 forks source link

WiFi setup in boot.py #3

Closed nicolaibonde closed 6 years ago

nicolaibonde commented 6 years ago

Create something that can connect to a specified wifi network. The WiFi information should be stored in a JSON format like this:

    {
        "SSID": "<network ssid>",
        "PASS": "<password>"
    }

The boot.py script should be able to take this file and extract the correct information where after it would setup the network and connect to an potential router.
If nothing is passed default to access point instead of station

nicolaibonde commented 6 years ago

Fixed by cad46b13a2637b2beccdc143b62eee279b7c9e3c
Upload the WiFi.JSON file from the config folder to the root of target, and the boot should automatically read the file and connect to the network