(WORK IN PROGRESS)
This repository contains some IOWA samples ported to the ESP32 family. Two flavors...two folders !
For the users of the famous PlatformIO, you can find a working example under the ./PlatformIO folder. You just have to open the project under VSCode PlatformIO.
Keep in mind that you to use menuconfig under the terminal with the following command:
pio run -t menuconfig
(Note: if you are not able to use the arrow to move through menuconfig, you can use K and J keys...it helps - PlatformIO issue)
It is based on the ESP-IDF version 4.1 (Espressif IoT Development Framework)
Some of these samples can be build and tested with the IOWA public code `https://github.com/IOTEROP/IOWA. If exist, to build the Advanced Samples (e.g: Firmware update), you need the Full SDK (please contact us at https://ioterop.com/iowa/).
Please note: Neither the SDK nor the samples are open source software but commercial software. and this code should not be used in a commercial product and is for personal evaluation ONLY !
Category | Sample name | Purpose |
---|---|---|
Basic samples | ESP32_01_baseline_client | For creating a working LwM2M Client with IOWA on ESP32 |
ESP32_02_LED | Manage onboard LED with custom object |
- Install, configure and test ESP-IDF with the Blink sample (from esp-idf) Please refer to https://docs.espressif.com/projects/esp-idf/en/stable/get-started/ to install the framework according to your OS
- Clone this repo with submodule:
git clone --recurse-submodules https://github.com/IOTEROP/iowa_esp32.git
- Change to a sample directory (e.g.:
cd esp_samples/ESP32_01_baseline_client
) - Configure the options with the
idf.py menuconfig
command.- Configure connectivity with Example Connection Configuration component (this component is provided by the framework). You have to configure the WiFi SSID and the WiFi Password
- Configure IOWA sample config if needed (you can customize the Object name or the LwM2M server) The default name is IOWA_Sample_client and the URI server points to our CONNECTicut test server CONNECTicut web page
- Now you can build, flash and test your code with the usual command:
idf.py build flash monitor
You can find some interesting tutorials on Hackster.io