(Name suggestions are welcome)
A base project IoT node for [Name of IoT project here]. Targeting ESP32 modules using esp-idf.
- Implement a lightweight protocol for accessing node data
- CoAP - Constrained Application Protocol
- ...or any other suitable protocol that provides longer battery life
- Secure by default
- None of that pesky "default password" crap
- Take advantage of cerficates that are either geneated by users or provided by a Server/Hub
- Easy to configure
- A intuitive app on a mobile device is used to discover, adopt and configure nodes using (hopefully) Out-of-Band methods such as NFC
- esp-idf - for compiling the source files
-
If you didn't
git clone ... --recursive
to pull down submodules, then you'll need to rungit submodule init && git submodule update
-
Download
esp-idf
, follow it's setup instructions and configureIDF_PATH
environment variable to have the path ofesp-idf
on your file system. -
Ensure
PATH
environment variable includes the xtensa compiler -
Copy
main/secrets.example
tomain/secrets
and configure your WiFI SSID and password. -
Running
make
in the project's root directory should build everyhting without any problems!a. There's a chance you may need be asked to set configuration defaults during
make
. That's okay! ESP-IDF is still under active development and new configuration options are expected.
- Clean up project structure
- Add unit tests for TDD
- Create HAL to support TDD
- Experiment with CoAP or MQTT as protocols
- CoAP is UDP and provides a familiar API to other RESTful applications (can be standalone)
- MQTT is a Pub/Sub protocl designed to relay all information through a broker (Server instance)