Steps on how to set up and start using the Bytebeam ESP-IDF SDK
This section provides step by step instructions on how to set up and start using the Bytebeam ESP IDF SDK . This SDK can be used with any ESP32 board. The only requirements are WiFi and a working internet connection.
Clone bytebeam-esp-idf-sdk
using a Git client bytebeam-esp-idf-sdk
This repository consists of three folders:
Each device needs a configuration file to connect to Bytebeam. Download the configuration file and flash it to SPIFFS by following the below steps:
Once the device is provisioned, integrate the bytebeam-esp-idf-sdk
into your existing ESP project:
CMakeLists.txt
from your ESP project in an editor.bytebeam-esp-idf-sdk
component to your project by setting EXTRA_COMPONENT_DIRS
This command needs to be after the cmake_minimum_required()
command. Look at the example project for reference.
CMakeLists.txt
from your ESP project in an editor.bytebeam-esp-idf-sdk
component to your project PRIV_REQUIRES
To connect your ESP device to Bytebeam cloud and exchange data, you need to configure wifi and partition settings. Follow the below steps to configure your project :)
Launch the ESP-IDF terminal and run the following command’s.
ESC
to exit out of the menuThis is required for implementing Over the air updates. The below steps partition your ESP flash into two app partitions and one partition for storing the device config file.
examples_partition.csv
file from example project and paste it into your ESP project.ESC
button. ESC
button. Note: With above partition table selected, flash size of 4MB or more is recommended.
The next step is to initialhe below code to do so:
Look at the setup_client example app for reference.
You can build and flash your application as usual with idf.py
.
Steps on how to set up and start using the Bytebeam ESP-IDF SDK
This section provides step by step instructions on how to set up and start using the Bytebeam ESP IDF SDK . This SDK can be used with any ESP32 board. The only requirements are WiFi and a working internet connection.
Clone bytebeam-esp-idf-sdk
using a Git client bytebeam-esp-idf-sdk
This repository consists of three folders:
Each device needs a configuration file to connect to Bytebeam. Download the configuration file and flash it to SPIFFS by following the below steps:
Once the device is provisioned, integrate the bytebeam-esp-idf-sdk
into your existing ESP project:
CMakeLists.txt
from your ESP project in an editor.bytebeam-esp-idf-sdk
component to your project by setting EXTRA_COMPONENT_DIRS
This command needs to be after the cmake_minimum_required()
command. Look at the example project for reference.
CMakeLists.txt
from your ESP project in an editor.bytebeam-esp-idf-sdk
component to your project PRIV_REQUIRES
To connect your ESP device to Bytebeam cloud and exchange data, you need to configure wifi and partition settings. Follow the below steps to configure your project :)
Launch the ESP-IDF terminal and run the following command’s.
ESC
to exit out of the menuThis is required for implementing Over the air updates. The below steps partition your ESP flash into two app partitions and one partition for storing the device config file.
examples_partition.csv
file from example project and paste it into your ESP project.ESC
button. ESC
button. Note: With above partition table selected, flash size of 4MB or more is recommended.
The next step is to initialhe below code to do so:
Look at the setup_client example app for reference.
You can build and flash your application as usual with idf.py
.