Commit Graph

668 Commits

Author SHA1 Message Date
Piyush Shah
f6e07b593e examples: Configure ESP32-C5 GPIO defaults for examples
- Set button GPIO to 28 for ESP32-C5 devkit (vs GPIO 9 for other C-series)
- Set WS2812 LED GPIO to 27 for ESP32-C5 devkit (vs GPIO 8 for other C-series)
- Updated examples: gpio, switch, multi_device, temperature_sensor, fan, led_light
2025-06-09 17:44:47 +05:30
Piyush Shah
27c1dfde76 esp32c5: Add ESP32-C5 CI support and update documentation
- Add dedicated CI job for ESP32-C5 preview (release/v5.5 only, --preview flag)
- Update README to include ESP32-C5 (preview) in supported chips list
2025-06-09 17:44:41 +05:30
Piyush Shah
1d3b86e232 esp32c5: Add ESP32-C5 support to RainMaker core component
- Add ESP32-C5 secure boot header include in esp_rmaker_secure_boot_digest.h
- Bump component version from 1.5.5 to 1.5.6 for ESP32-C5 support
2025-06-06 17:50:32 +05:30
Piyush Shah
f3d178b7a1 Merge branch 'task/ci-update' into 'master'
gitlab-ci: Add ESP-IDF v5.4 and v5.5 builds to pipeline

See merge request app-frameworks/esp-rainmaker!542
2025-06-03 19:53:43 +05:30
Piyush Shah
6c839a9251 Merge branch 'task/simple_ts_ttl' into 'master'
simple timeseries: Add an option to include ttl field (in days) while reporting values

See merge request app-frameworks/esp-rainmaker!540
2025-05-30 13:28:56 +05:30
Piyush Shah
c375cb3189 gitlab-ci: Add ESP-IDF v5.4 and v5.5 builds to pipeline 2025-05-29 19:09:59 +05:30
Piyush Shah
d638825f7e Merge branch 'rmaker/fix_thread_local_ctrl' into 'master'
esp-rmaker: fix the host name check for Thread local control

See merge request app-frameworks/esp-rainmaker!536
2025-05-23 13:06:19 +05:30
Piyush Shah
2dcc01c665 esp_rainmaker: Bump up the component version for new simple TS TTL feature 2025-05-22 20:41:31 +05:30
Piyush Shah
08c419da85 simple timeseries: Add a new helper API to directly report time series data
This allows users to avoid the double reporting that happens when using
esp_rmaker_param_update_and_report(), once for regular param update and
once for time series update. This can help reduce cost, especially when
the apps are using values only from the simple time series API.
2025-05-22 20:41:25 +05:30
Piyush Shah
d319d1d7c7 simple timeseries: Add an option to include ttl field (in days) while reporting values
This will ensure that the size of simple time series data in backend
does not keep growing and gets deleted after the configured time.

Typically, 30-60 days would be enough for most use cases.
2025-05-21 16:58:34 +05:30
WanqQixiang
72b54cf485 esp-rmaker: fix the host name check for Thread local control 2025-05-12 18:01:33 +08:00
Piyush Shah
cb5f1dd13f Merge branch 'thread/add_local_control' into 'master'
esp_rmaker: Add local control for Thread devices

See merge request app-frameworks/esp-rainmaker!473
2025-04-11 16:34:59 +08:00
Hrishikesh Dhayagude
4312ee5987 Merge branch 'defer_rmaker_start_mtr' into 'master'
examples/matter: defer rainmaker start until ble deinit

See merge request app-frameworks/esp-rainmaker!523
2025-04-11 15:22:11 +08:00
Shubham Patil
5c21be6597 examples/matter: defer rainmaker start until ble deinit
Starting the rainmaker agent alongside the matter may cause matter commissioning
to fail due to low heap memory. This happens because matter CASE and rainmaker’s
MQTT connection occur simultaneously, and both operations are memory-intensive,
potentially leading to failures.
2025-04-11 12:07:57 +05:30
WanqQixiang
3c019227b4 esp_rmaker: Add local control for Thread devices 2025-04-10 10:34:08 +08:00
Piyush Shah
892535a711 Merge branch 'm5_stick_example/make_fixes' into 'master'
M5 stick example

See merge request app-frameworks/esp-rainmaker!524
2025-03-28 20:07:32 +08:00
Piyush Shah
f5a790f25a Merge branch 'feature/rsa_signature' into 'master'
Extend signature generation to work on RSA signature

See merge request app-frameworks/esp-rainmaker!508
2025-03-28 19:29:37 +08:00
ivan.theng
7219d7a2ad examples: Added a new example for m5 stick
This adds an example for the M5 stick development board. More info can
be found in its README.
2025-03-28 19:12:51 +08:00
Vikram Dattu
699df878b1 Extend signature generation to work on RSA signature
- Added signature generation for RSA signature in addition to ECDSA
 - Bugfix: use inlen, instead of doing strlen on input data
 - Bugfix: outlen should be `2 * slen` and not `slen` as we convert this to HEX
 - Also added a sign-data console command

 - component manager: Updated patch version for rainmaker component
2025-03-26 15:56:19 +05:30
Piyush Shah
8ffd3a9806 Merge branch 'task/idf_v5.x_only' into 'master'
esp_rainmaker_components: Remove all external dependencies from codebase

See merge request app-frameworks/esp-rainmaker!468
2025-03-25 21:23:22 +08:00
Piyush Shah
6c82ec8c1e readme: Update note for removing support for esp-idf v4.x 2025-03-25 17:57:38 +05:30
Piyush Shah
b5e1a46591 examples: Changes for component manager based builds 2025-03-25 17:54:31 +05:30
Piyush Shah
065d8ae770 docs: Removed python docs as cli submodule has been removed 2025-03-25 17:12:10 +05:30
Piyush Shah
327f35437e esp_rainmaker_components: Remove all external dependencies from codebase
Removed
- esp-insights
- jsmn
- json_generator
- json_parser

Instead, pick them up from idf component manager
2025-03-25 17:11:07 +05:30
Vikram Dattu
35941c8925 examples/common: use qrcode from component manager
- Remove qrcode sources from examples/common
 - Added idf_component.yml file to app_wifi component with qrcode dependency
 - Added qrcode_display function in app_wifi which wraps the qrcode generation
2025-03-21 15:49:58 +05:30
Piyush Shah
fb940eb4b2 Merge branch 'thread_br_on_M5Stack' into 'master'
examples/thread_br: thread br on M5Stack

See merge request app-frameworks/esp-rainmaker!501
2025-03-20 13:17:06 +08:00
Piyush Shah
b647e54abf Merge branch 'zigbee_gateway_on_M5Stack' into 'master'
examples/zigbee_gateway: zigbee gateway on M5Stack

See merge request app-frameworks/esp-rainmaker!500
2025-03-20 13:16:49 +08:00
Hrishikesh Dhayagude
e78edaa1c2 Merge branch 'controller_on_M5Stack' into 'master'
examples/controller: controller on M5Stack-CoreS3

See merge request app-frameworks/esp-rainmaker!516
2025-03-20 11:03:53 +08:00
Chen Dejin
00e941baa2 examples/controller: controller on M5Stack-CoreS3 2025-03-20 11:03:53 +08:00
Piyush Shah
78749819f2 Merge branch 'launchpad-add-readme' into 'master'
launchpad: Add the per example readme and build config

See merge request app-frameworks/esp-rainmaker!495
2025-03-10 16:37:02 +08:00
Piyush Shah
6ed65d92fc Merge branch 'bugfix/fix_string_param_memory_leak' into 'master'
fix(esp_rainmaker): Fix memory leak when set string parameter

See merge request app-frameworks/esp-rainmaker!522
2025-03-04 16:04:34 +08:00
Piyush Shah
40853e41e2 Merge branch 'update/esp_insights_submodule' into 'master'
Update esp_insights submodule to 1.2.4

See merge request app-frameworks/esp-rainmaker!521
2025-02-28 22:32:44 +08:00
jim
cfaf803fac fix(esp_rainmaker): Fix memory leak when set string parameter 2025-02-28 19:52:28 +08:00
Gautam Agrawal
88d359014e Update esp_insights submodule to 1.2.4
* Update app_insights components dependency version to 1.2.4
2025-02-28 11:30:55 +05:30
chendejin
ecbc449451 examples/zigbee_gateway: zigbee gateway on M5Stack
Co-authored-by: Xie Qi Nan <xieqinan@espressif.com>
2025-02-25 18:01:54 +08:00
Piyush Shah
f5fbf58cbc Merge branch 'bugfix/invalid_ptr_compile_err' into 'master'
Fix Invalid Pointer Usage in esp_rmaker_report_info

See merge request app-frameworks/esp-rainmaker!514
2025-02-12 22:25:15 +08:00
chendejin
fa11b46471 examples/thread_br: thread br on M5Stack 2025-02-12 19:47:02 +08:00
Bijan Treister
6350543270 Fix Invalid Pointer Usage in esp_rmaker_report_info
Pull Request Summary: Fix Invalid Pointer Usage in esp_rmaker_report_info
Issue

Compilation failed due to incorrect pointer usage in snprintf and json_gen_obj_set_* calls. The function incorrectly passed &key_name (a char (*)[3] type) instead of key_name (a char *), causing type mismatch errors.
Fix

    Corrected snprintf usage: Passed key_name instead of &key_name.
    Fixed json_gen_obj_set_* calls: Removed unnecessary address-of operator (&key_name).
    Ensured correct string formatting: snprintf now correctly assigns key_name values without an explicit null termination.

Impact

    Resolves compilation errors for ESP32-C3 builds.
    Maintains intended functionality with proper string handling.
    No functional changes, just type correctness fixes.

This fix ensures successful builds and prevents runtime issues due to incorrect pointer usage
2025-02-10 20:54:39 -05:00
Piyush Shah
a43bb53741 Merge branch 'bugfix/fix_roll_back_flag_not_clear' into 'master'
bugfix: Fix when OTA successfully and rollback flag not clear

See merge request app-frameworks/esp-rainmaker!492
2025-01-31 20:45:57 +08:00
Piyush Shah
7585504ad4 Merge branch 'bugfix/fix_memory_leak' into 'master'
bugfix: Fix memory leak when create device and parameter and then delete them

See merge request app-frameworks/esp-rainmaker!502
2025-01-23 20:28:53 +08:00
Piyush Shah
8e14dea1b6 Merge branch 'update/cli_ver' into 'master'
Update rainmaker-cli submodule to latest (v1.1.3)

See merge request app-frameworks/esp-rainmaker!504
2025-01-08 21:59:39 +08:00
Gautam Agrawal
bc8f25f2a2 Update rainmaker-cli submodule to latest (v1.1.3) 2025-01-08 21:59:39 +08:00
jim
0af4040bbb bugfix: Fix memory leak when create device and parameter and then delete them 2025-01-03 11:55:56 +08:00
Piyush Shah
f8722442f7 Merge branch 'example/update_thread_br' into 'master'
examples: Use thread border router management cluster instead of custom thread br cluster for Matter Controller examples

Closes MEGH-6030

See merge request app-frameworks/esp-rainmaker!482
2025-01-02 17:26:13 +08:00
Piyush Shah
d1cb118d2a Merge branch 'support/h2_boot_gpio' into 'master'
Provide correct default BOOT pin config for ESP32-H2

See merge request app-frameworks/esp-rainmaker!478
2025-01-02 14:22:23 +08:00
Piyush Shah
e5c4b8e007 Merge branch 'bugfix/bulk_cb' into 'master'
bugfix: Application registered callback was getting skipped for persistent params

See merge request app-frameworks/esp-rainmaker!499
2024-12-30 20:39:03 +08:00
WanqQixiang
97ee869a32 examples: Use thread border router management cluster instead of custom thread br cluster for Matter Controller examples 2024-12-30 19:46:02 +08:00
Piyush Shah
4ee7cc20e8 bugfix: Application registered callback was getting skipped for persistent params
If the new bulk write callback is registered for a device/service instead of regular
callback, it was getting skipped for persistent params during initialisation.
2024-12-24 13:53:59 +05:30
Shubham Patil
2b6ce90678 launchpad: Add the per example readme and build config 2024-12-06 17:03:32 +05:30
jim
e11bb3076d bugfix: Fix when OTA successfully and rollback flag not clear 2024-11-27 11:21:43 +08:00