jim
4a0ff0d0eb
esp_rainmaker: make esp_rmaker_params_mqtt_init function execute in
...
queue so that it will not block event task
2025-08-01 14:00:40 +08:00
Shubham Patil
af03e62381
components/esp_rainmaker: make cmd response payload publish api public
...
also bump the minimum required rmaker_common's version to 1.4.12 to use
the newly added payload generator APIs.
2025-07-13 11:24:26 +05:30
Shubham Patil
8076c0dd76
rmaker_common: update submodule to add tlv payload generator api
2025-07-11 18:14:09 +05:30
Piyush Shah
d0d0e27a98
Merge branch 'task/ota_reliability' into 'master'
...
ota: Enhance OTA fetch reliability with retry mechanism and delivery confirmation
See merge request app-frameworks/esp-rainmaker!548
2025-06-25 06:49:32 +05:30
Piyush Shah
b2dd13214c
esp_rainmaker: Bump up component version and dependency for OTA reliability improvements
2025-06-24 19:58:21 +05:30
Piyush Shah
085b5da9cf
esp_rmaker_ota: Retry on failure
...
- Try OTA multiple times (as per `CONFIG_ESP_RMAKER_OTA_MAX_RETRIES`, set to 3 by default) if it fails
- Schedule an OTA fetch as per `CONFIG_ESP_RMAKER_OTA_RETRY_DELAY_MINUTES` if all retries fail
2025-06-24 19:53:32 +05:30
esp
8bacc14517
fix(local_ctrl): Fix srp host name is too short for some node id used with uuid
2025-06-24 11:11:46 +08:00
Piyush Shah
e081eef5c2
ota: Enhance OTA fetch reliability with retry mechanism and delivery confirmation
...
- Monitor message publish acknowledgement for the otafetch message
- Add retry logic if otafetch fails
2025-06-20 14:13:20 +05:30
Piyush Shah
4ab40d00d8
esp_rainmaker: Bump up component version for OTA Progress reporting feature
2025-06-13 18:28:29 +05:30
jim
04613d9c0f
ota: Add ota upgrade progress report feature
2025-06-13 18:28:11 +05:30
Piyush Shah
45d2001a28
Merge branch 'task/c5support' into 'master'
...
esp32c5: Add ESP32-C5 support to RainMaker
See merge request app-frameworks/esp-rainmaker!544
2025-06-10 14:18:46 +05:30
Hrishikesh Dhayagude
48a2ccdc80
Merge branch 'fix-matter-main' into 'master'
...
examples/matter: fix matter builds with main branch
See merge request app-frameworks/esp-rainmaker!534
2025-06-09 16:15:05 +08:00
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
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
Shubham Patil
1f56bf5fde
components/esp_rainmaker: use latest version of esp_rcp_update to fix conflict
2025-05-29 22:49:44 +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
WanqQixiang
3c019227b4
esp_rmaker: Add local control for Thread devices
2025-04-10 10:34:08 +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
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
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
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
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
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
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
jim
e11bb3076d
bugfix: Fix when OTA successfully and rollback flag not clear
2024-11-27 11:21:43 +08:00
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
Piyush Shah
e05a72d3dd
bugfix: Command-Response topic subscription was happening multiple times
2024-10-28 18:42:11 +05:30
Piyush Shah
630fe690b0
Minor typo fixes
2024-10-25 17:31:21 +05:30
WangQixiang
592c25f0e3
thread_br: avoid duplicate initialization for border router
...
Closes RMN-2001 RMN-2047
2024-10-17 11:18:51 +08:00
Piyush Shah
3328c7295f
Merge branch 'thread-br' into 'master'
...
feature: Add Thread Border Router service and Thread BR example
See merge request app-frameworks/esp-rainmaker!450
2024-09-10 19:23:14 +08:00
Piyush Shah
1f31d6c816
Merge branch 'rmaker/provisioning_option' into 'master'
...
rmaker: Add a configuration option to make the provisioning component selectable
See merge request app-frameworks/esp-rainmaker!460
2024-09-10 19:22:38 +08:00
WanqQixiang
189f99bb1c
feature: Add Thread Border Router service and Thread BR example
2024-09-10 17:45:03 +08:00
Piyush Shah
7151323109
Merge branch 'fix/matter_ci_build' into 'master'
...
gitlab_ci: Fix matter build by fixing the docker image to stable release
See merge request app-frameworks/esp-rainmaker!471
2024-09-10 17:18:36 +08:00
WanqQixiang
0470847455
rmaker: Add a configuration option to make the provisioning component selectable
2024-09-10 15:47:43 +08:00
Piyush Shah
19c78e018f
Merge branch 'bugfix/stringop_truncation_warnings' into 'master'
...
Avoid GCC -O2 warning stringop-truncation
See merge request app-frameworks/esp-rainmaker!474
2024-09-09 19:38:23 +08:00
Vikram Dattu
62e361f043
Bump up esp_rainmker component version and update cli submodule
2024-09-09 11:50:48 +05:30
Piyush Shah
d0f22ea9d3
esp_rmaker_claim: Fetch MQTT Host from assisted claiming service
...
For assisted claiming, the node itself does not connect to the
claiming service directly. Instead, it just creates and parses payloads which
are sent/received by phone apps on its behalf. Since the phone app
can get certificates from any claiming service, it will be better
to have the MQTT Host URL also part of the response, so that there
is no mismatch between certificate and MQTT Host URL.
2024-09-04 16:56:57 +05:30
Piyush Shah
631292c230
time_series_data: Add param type to the time series/simple time series payloads
...
This is useful for listeners (like webhooks) who may want to perform
additional operations based on the param type.
2024-08-29 22:06:02 +05:30
Vikram Dattu
3e375f43f6
Enable Insights command response module
...
- Updated esp_insights submodule and the component version dependency
- Selected `ESP_INSIGHTS_TRANSPORT_MQTT` in examples sdkconfig.defaults
- Called esp_insights_cmd_resp_enable
- Also updated `cli` submodule to the latest
2024-08-22 10:32:54 +05:30
Mahavir Jain
082f5e3eb5
Merge branch 'refactor/app_descriptor_dependency' into 'master'
...
refactor: cleaner dependency of app descriptor
See merge request app-frameworks/esp-rainmaker!463
2024-08-21 17:30:58 +08:00
Jakob Hasse
5f501ec1c2
refactor: cleaner dependency of app descriptor
2024-08-21 10:12:51 +02:00
Jakob Hasse
b5de4b1468
added esp_bit_defs.h to esp_rmaker_core.c
2024-08-21 10:11:59 +02:00
WanqQixiang
be169c6894
esp-rainmaker: Replace wifi_provisioning with network_provisioning for ESP-IDF v5.1+
2024-08-01 11:34:49 +08:00
WanqQixiang
393a9ef089
feat(rmaker): Add Thread support for esp-rainmaker component
2024-07-11 12:22:37 +08:00
Piyush Shah
a3bdac0717
Merge branch 'task/bulk_write' into 'master'
...
esp_rmaker_param: Handle multiple params simultaneously in a single callback
See merge request app-frameworks/esp-rainmaker!356
2024-06-21 14:30:25 +08:00