kartben / wioterminal-ota-sample

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Welcome to wioterminal-ota-sample 👋

License: MIT Twitter: kartben PlatformIO CI This sample application shows you how to perform an over-the-air (OTA) update of the application running on your Wio Terminal. It s

As PlatformIO supports the Wio Terminal, the sample comes in the form a PlatformIO project. This means that you don't have to worry about installing the multiple Arduino libraries the Wio Terminal requires for Wi-Fi & TLS, as well as the HTTP Client and OTA Helper needed for the OTA operations. All dependencies are automatically fetched from Github by the PlatformIO Library Manager.

In order to run the sample, just update the ssid and password variables in main.cpp with your Wi-Fi SSID and password.

const char *ssid = "<your-ssid>";      // your network SSID
const char *password = "<your-password>"; // your network password

Use the PlatformIO IDE (VS Code extension) or the PlatformIO command-line interface to deploy the application to your Wio Terminal.

Once running, the sample will connect to the Wi-Fi network that you have configured earlier, and will try to download the binary firmware passed to the enterURL() function. If the operation succeeds, the device automatically reboots and runs the new firmware. You can follow the progress of the operation by monitoring the device's serial output.

Author

👤 Benjamin Cabé

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2021 Benjamin Cabé. Copyright (c) 2015 Volodymyr Shymanskyy (from Blynk library)

This project is MIT licensed.


This README was generated with ❤️ by readme-md-generator

About


Languages

Language:C++ 100.0%