-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/bytebeamio/bytebeam-esp-idf…
- Loading branch information
Showing
91 changed files
with
1,203 additions
and
554 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,148 @@ | ||
menu "Bytebeam" | ||
menu "Device Shadow" | ||
config DEVICE_SHADOW_STATUS | ||
string "Status" | ||
default "Device is Online" | ||
help | ||
Provide the status | ||
|
||
config DEVICE_SHADOW_SOFTWARE_TYPE | ||
string "Software Type" | ||
default "bytebeam-app" | ||
help | ||
Provide the software type | ||
|
||
choice BYTEBEAM_PROVISIONING_FILESYSTEM | ||
prompt "Provisioning file system" | ||
default BYTEBEAM_PROVISION_DEVICE_FROM_SPIFFS | ||
help | ||
Select the file system for the device provisioning | ||
config DEVICE_SHADOW_SOFTWARE_VERSION | ||
string "Software Version" | ||
default "v0.1.0" | ||
help | ||
Provide the software version | ||
|
||
config DEVICE_SHADOW_HARDWARE_TYPE | ||
string "Hardware Type" | ||
default "Bytebeam ESP32" | ||
help | ||
Provide the hardware type | ||
|
||
config DEVICE_SHADOW_HARDWARE_VERSION | ||
string "Hardware Version" | ||
default "rev1" | ||
help | ||
Provide the hardware version | ||
|
||
config DEVICE_SHADOW_CUSTOM_JSON_STR_LEN | ||
int "Custom json string len (In Bytes)" | ||
default 512 | ||
help | ||
Provide the length of custom device shadow json str | ||
|
||
config DEVICE_SHADOW_PUSH_INTERVAL | ||
int "Push Interval (In Seconds)" | ||
default 40 | ||
help | ||
Provide the heartbeat push interval | ||
endmenu | ||
|
||
menu "Device Provisioning" | ||
choice DEVICE_PROVISIONING_FILESYSTEM | ||
prompt "Provisioning file system" | ||
default DEVICE_PROVISIONING_FILESYSTEM_IS_SPIFFS | ||
help | ||
Select the file system for the device provisioning | ||
|
||
config DEVICE_PROVISIONING_FILESYSTEM_IS_SPIFFS | ||
bool "SPIFFS" | ||
help | ||
Use spiffs file system for device provisioning | ||
|
||
config DEVICE_PROVISIONING_FILESYSTEM_IS_FATFS | ||
bool "FATFS" | ||
help | ||
Use fatfs file system for device provisioning | ||
|
||
config BYTEBEAM_PROVISION_DEVICE_FROM_SPIFFS | ||
bool "SPIFFS" | ||
config DEVICE_PROVISIONING_FILESYSTEM_IS_LITTLEFS | ||
bool "LITTLEFS" | ||
help | ||
Use littlefs file system for device provisioning | ||
endchoice | ||
|
||
config DEVICE_PROVISIONING_FILENAME | ||
string "Provisioning file name" | ||
default "device_config.json" | ||
help | ||
Use spiffs file system for device provisioning | ||
Provide the file name for the device provisioning | ||
endmenu | ||
|
||
config BYTEBEAM_PROVISION_DEVICE_FROM_LITTLEFS | ||
bool "LITTLEFS" | ||
menu "Bytebeam Logging" | ||
config BYTEBEAM_CLOUD_LOGGING_IS_ENABLED | ||
bool "Enable cloud logging" | ||
help | ||
Use littlefs file system for device provisioning | ||
Enable cloud logging | ||
|
||
config BYTEBEAM_CLOUD_LOGGING_STREAM | ||
string "Cloud logging log stream" | ||
depends on BYTEBEAM_CLOUD_LOGGING_IS_ENABLED | ||
default "logs" | ||
help | ||
Provide the cloud logging stream name | ||
|
||
config BYTEBEAM_PROVISION_DEVICE_FROM_FATFS | ||
bool "FATFS" | ||
choice BYTEBEAM_LOGGING_LEVEL | ||
prompt "Logging level" | ||
default BYTEBEAM_LOGGING_LEVEL_IS_INFO | ||
help | ||
Use fatfs file system for device provisioning | ||
endchoice | ||
Select the bytebeam logging level | ||
|
||
config BYTEBEAM_LOGGING_LEVEL_IS_NONE | ||
bool "No Output" | ||
help | ||
None log level | ||
|
||
config BYTEBEAM_LOGGING_LEVEL_IS_ERROR | ||
bool "Error" | ||
help | ||
Error log level | ||
|
||
config BYTEBEAM_LOGGING_LEVEL_IS_WARN | ||
bool "Warning" | ||
help | ||
Warning log level | ||
|
||
config BYTEBEAM_LOGGING_LEVEL_IS_INFO | ||
bool "Info" | ||
help | ||
Info log level | ||
|
||
config BYTEBEAM_LOGGING_LEVEL_IS_DEBUG | ||
bool "Debug" | ||
help | ||
Debug log level | ||
|
||
config BYTEBEAM_LOGGING_LEVEL_IS_VERBOSE | ||
bool "Verbose" | ||
help | ||
Verbose log level | ||
endchoice | ||
|
||
config BYTEBEAM_LOGGING_LEVEL | ||
int | ||
default 0 if BYTEBEAM_LOGGING_LEVEL_IS_NONE | ||
default 1 if BYTEBEAM_LOGGING_LEVEL_IS_ERROR | ||
default 2 if BYTEBEAM_LOGGING_LEVEL_IS_WARN | ||
default 3 if BYTEBEAM_LOGGING_LEVEL_IS_INFO | ||
default 4 if BYTEBEAM_LOGGING_LEVEL_IS_DEBUG | ||
default 5 if BYTEBEAM_LOGGING_LEVEL_IS_VERBOSE | ||
endmenu | ||
|
||
config BYTEBEAM_PROVISIONING_FILENAME | ||
string "Provisioning file name" | ||
default "device_config.json" | ||
config NUM_MESSAGES_IN_MQTT_BATCH | ||
int "MQTT batch element numbers" | ||
default 125 | ||
help | ||
Provide the file name for the device provisioning | ||
Provide the number of elements in mqtt batch | ||
|
||
config MQTT_BATCH_ELEMENT_SIZE | ||
int "MQTT batch element size (In Bytes)" | ||
default 250 | ||
help | ||
Provide the length of element in mqtt batch | ||
|
||
endmenu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,19 @@ | ||
# Bytebeam ESP-IDF SDK Examples | ||
|
||
This section includes some basic example app's to get you started with **bytebeam-esp-idf-sdk** | ||
This section includes the example apps to easily get you started with **bytebeam-esp-idf-sdk** | ||
|
||
- setup_client | ||
- actions_handling | ||
- toggle_led | ||
- receive_data | ||
- actions_handling | ||
- toggle_led | ||
- update_config | ||
- push_data | ||
- esp_touch | ||
- temp_humid | ||
- update_config | ||
- esp_touch | ||
- temp_humid | ||
- custom_device_shaodw | ||
- batch_mqtt_data | ||
- cloud_logging | ||
- basic_ota | ||
- basic_ota_rollback | ||
- hello_wokwi | ||
- hello_wokwi | ||
- hello_cmake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.