Commit Graph

662 Commits

Author SHA1 Message Date
jim
fc644e6091 Add example README 2025-05-30 10:51:40 +08:00
jim
2b383b0605 Add rainmaker plus matter fabric and no fabric example 2025-05-30 10:51:40 +08:00
Shubham Patil
2144607979 ci: update the esp-matter docker image tag
Also, remove the old build artifacts to fix the ci, somehow the stale
components were being pulled into the build and was being compiled and
the build was failing as those configurations were not set, so removing
the build and managed_components directory before building the
application
2025-05-29 22:50:31 +05:30
Shubham Patil
1f56bf5fde components/esp_rainmaker: use latest version of esp_rcp_update to fix conflict 2025-05-29 22:49:44 +05:30
Shubham Patil
f463808e68 examples/matter: fix matter example builds with main branch
- Fix the usage of device-hal's button component for matter_light,
  matter_swithc, and matter_controller examples.
- Fix the feature bits usage in matter_light as per new changes in
  esp-matter
- Update the top level README for Matter examples to include the
  mandatory fields in the esp-matter-mfg-tool command that are required
  to PASS the certification
2025-05-23 12:34:15 +05:30
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
Piyush Shah
7d506420d3 Merge branch 'bugfix/homekit_examples' into 'master'
homekit_switch: Compilation fixes

See merge request app-frameworks/esp-rainmaker!485
2024-11-19 16:37:02 +08:00
Piyush Shah
9dfb45b7bf Merge branch 'launchpad_link' into 'master'
docs: add link to esp-rainmaker launchpad deployment

See merge request app-frameworks/esp-rainmaker!490
2024-11-18 21:23:43 +08:00
Shubham Patil
a8c641a1f0 docs: add link to esp-rainmaker launchpad deployment 2024-11-15 20:32:25 +05:30
Piyush Shah
e84067715b Merge branch 'launchpad_setup' into 'master'
gh_action: Setup example building and launchpad deployment workflow

See merge request app-frameworks/esp-rainmaker!472
2024-11-15 19:52:49 +08:00
Shubham Patil
9b6107ad9d gh_action: Setup example building and launchpad deployment workflow
Build examples in the github workflows and deploy them to github pages.
Then auto generate the toml configuration that can be used with
launchpad
2024-11-15 14:47:46 +05:30
Piyush Shah
6c2859008c Merge branch 'tbr/fix_duplicate_initial' into 'master'
thread_br: avoid duplicate initialization for border router and increase mqtt task stack size

Closes RMN-2001 and RMN-2047

See merge request app-frameworks/esp-rainmaker!479
2024-11-05 20:18:59 +08:00