Piyush Shah
767643f6d3
homekit_switch: Fixes for idf v5.x
...
Also updated the cli and rmaker_common submodules
2023-05-19 17:39:21 +05:30
yuanjianmin
cf8d240ef6
rmaker_local_ctrl: Reduce local contrl stack size from 10K to 6K and make it configurable
2023-05-10 20:01:21 +08:00
Piyush Shah
5f67499f15
bugfix: Null terminating byte was not considered in key/certificate length
...
Causing issues with connection.
2023-04-04 17:31:29 +05:30
Dhaval Gujar
0de30063b1
Add esp_rmaker_get_* APIs for getting length of device PKI elements
2023-04-03 14:20:42 +05:30
Dhaval Gujar
741b2c64a1
Adds support for using esp_secure_cert_mgr for TLS credentials
...
- Updated partitions.csv in all examples to use final
esp_secure_cert partition format.
- This option can only be enabled if claiming is disabled.
- The Rainmaker app will fall back to using NVS if it
fails to fetch from the `esp_secure_cert` partition.
This has been done to allow a common firmware to be built that
can run on both kinds of devices, i.e. ones that use NVS
and ones that use the `esp_secure_cert` partition.
2023-03-30 22:23:17 +05:30
Piyush Shah
46ec3c41cf
esp_rmaker_ota: Add support for local time based OTA
...
This will help ensure that OTA can be performed within specific dates
and within specific times within those dates.
Eg. Perform OTA between 1 Dec 2022 and 10 Dec 2022 that too only between
2:00am and 5:00am
2023-03-23 19:51:10 +05:30
sanket.wadekar
ab37459cc2
fix: build errors on idf 5.1
2023-03-23 15:03:30 +05:30
sanket.wadekar
849a654857
fix: Removed deprecated sntp APIs
2023-03-23 15:03:30 +05:30
Piyush Shah
a45a6bca87
Merge branch 'support/update_rmaker_common' into 'master'
...
Updated rmaker_common and used cli from it
See merge request app-frameworks/esp-rainmaker!354
2023-03-23 17:31:55 +08:00
Vikram
ca8c99ee48
Updated rmaker_common and used cli from it
...
Signed-off-by: Vikram <vikram.dattu@espressif.com >
2023-03-23 14:15:43 +05:30
Chirag Atal
96357111e1
insights: Update insights submodule to support insights package for esp32h2
2023-03-15 15:00:36 +05:30
Piyush Shah
79085a7754
Merge branch 'fix/ota_fw_reject' into 'master'
...
Report OTA status rejected on mismatch chip id
See merge request app-frameworks/esp-rainmaker!351
2023-02-08 21:50:40 +08:00
Piyush Shah
d8aac19409
Merge branch 'bugfix/no_mqtt_budget_insights_wdt_trigger' into 'master'
...
Bugfix: MQTT budget exceed causing WDT trigger in ESP-Insights
See merge request app-frameworks/esp-rainmaker!344
2023-02-02 18:38:46 +08:00
Vikram
7da0ec23db
Bugfix: MQTT budget exceed causing WDT trigger in ESP-Insights
...
Cause: A vicious cycle:
MQTT budget exceed error print getting logged into ESP-Insights.
When the RTC memory is full, this causes it to drop the message and
raise memory full event, which then taken action as reporting Insights
data immediately. This again causes MQTT budget exceed error!
The fix: Do not try to send message when budget is not available
Signed-off-by: Vikram <vikram.dattu@espressif.com >
2023-02-01 12:43:41 +05:30
Vikram
60df4b9da3
Updated ESP-Insights submodule
...
Signed-off-by: Vikram <vikram.dattu@espressif.com >
2023-02-01 12:43:41 +05:30
sanket.wadekar
a7feb9d863
Report OTA status rejected on chip revision mismatch.
2023-01-30 09:31:06 +05:30
Pritam Shelke
82f9074555
Updated rmaker_common to allocate some buffers into external ram
2023-01-25 17:48:04 +05:30
Pritam Shelke
72ac8935aa
ExtRAM usage: Allocate some buffers into external RAM, if available
...
Allocating buffers in external RAM (if available and enabled) helps gain about 3500 bytes of memory in the Internal RAM
2023-01-25 17:48:04 +05:30
Piyush Shah
bcc2163b92
Merge branch 'bugfix/nvs_commit_call' into 'master'
...
bugfix: Added nvs_commit calls in esp_schedule_nvs.c.
See merge request app-frameworks/esp-rainmaker!341
2023-01-24 20:02:11 +08:00
sanket.wadekar
25a4cf7954
bugfix: Added nvs_commit calls in esp_schedule_nvs.c.
...
Closes #196
2023-01-24 17:11:25 +05:30
Vikram
61fb45ca27
Check if cmd_resp already enabled before trying to enable it
...
Signed-off-by: Vikram <vikram.dattu@espressif.com >
2023-01-24 16:45:37 +05:30
Chirag Atal
658bbe0501
esp_rmaker_ota: Add support to check for secure version
...
If the secure version of the OTA image is less than the one stored in efuse, the update will be rejected. This is useful when anti-rollback is enabled.
2022-12-06 15:13:15 +05:30
Piyush Shah
d9994f3fb6
esp_rmaker_mqtt: Add MQTT budgeting to control the number of messages sent
2022-11-23 21:41:23 +05:30
sanket.wadekar
2f2c383e5e
mqtt_topics: Added support for AWS basic ingest topics.
...
Signed-off-by: sanket.wadekar <sanket.wadekar@espressif.com >
2022-11-21 18:59:47 +05:30
sanket.wadekar
cf3b8d851a
Added MQTT disconnect and user node mapping reset calls on WiFi/Factory Reset.
...
Signed-off-by: sanket.wadekar <sanket.wadekar@espressif.com >
2022-11-15 10:43:09 +05:30
sanket.wadekar
9b33df844b
Added Job ID to OTA structure
...
Signed-off-by: sanket.wadekar <sanket.wadekar@espressif.com >
2022-10-18 15:03:44 +05:30
sanket.wadekar
80eec80015
Fixed OTA Race condition
...
Signed-off-by: sanket.wadekar <sanket.wadekar@espressif.com >
2022-10-12 10:01:25 +05:30
Piyush Shah
d54f29d26f
Merge branch 'bugfix/time-series' into 'master'
...
Fixed time-series crash issue #176
See merge request app-frameworks/esp-rainmaker!330
2022-10-11 16:56:49 +08:00
sanket.wadekar
02bd4057f3
Fixed time-series crash issue.
...
Closes: https://github.com/espressif/esp-rainmaker/issues/176
Signed-off-by: sanket.wadekar <sanket.wadekar@espressif.com >
2022-10-10 19:49:50 +05:30
sanket.wadekar
32b2e0229f
Added config to disable auto reboot after ota
...
Signed-off-by: sanket.wadekar <sanket.wadekar@espressif.com >
2022-10-10 19:41:55 +05:30
sanket.wadekar
7f34a7b6e6
Added firmware version to ota data structures
...
Signed-off-by: sanket.wadekar <sanket.wadekar@espressif.com >
2022-10-10 19:38:00 +05:30
Piyush Shah
de9521febb
Merge branch 'bugfix/insights_not_working' into 'master'
...
Update esp-insights submodule
See merge request app-frameworks/esp-rainmaker!326
2022-10-03 17:02:28 +08:00
Piyush Shah
f9dc846a0f
esp_rmaker_core: Changes as per the change in the behaviour of MQTT connect API
...
The MQTT connect API is no more blocking. Logic was added in the rmaker
task to replicate that blocking behaviour so that there is no change in
behaviour for the RainMaker functionality.
2022-09-30 18:35:47 +05:30
Vikram
2952173f1d
Update esp-insights submodule
...
Fixes: esp-insights failing to send messages with rainmaker
Signed-off-by: Vikram <vikram.dattu@espressif.com >
2022-09-16 13:10:28 +05:30
Piyush Shah
1b3964cd25
temperature_sensor: Use time series data for reporting temperature value
2022-09-15 18:36:26 +05:30
Piyush Shah
b63b9d66f1
esp_rmaker_params: Add support for reporting time series data
2022-09-15 18:36:19 +05:30
Piyush Shah
757cbe5116
ota: Add support for OTA metadata, applicable for OTA using topics
2022-09-15 18:12:24 +05:30
Piyush Shah
31e0ae27de
bugfix: Compilation fixes for ESP IDF v5.0
2022-09-08 00:03:41 +05:30
Mahavir Jain
cc5661843b
esp_rainmaker: fix printf formatting related build error with ESP-IDF v5.x toolchain
2022-09-01 16:17:41 +05:30
Piyush Shah
bcde4e1f03
esp_rmaker_ota: Trigger events if the default OTA callback is used
2022-08-29 19:29:36 +05:30
Vikram
a9798f71df
IDF5.0 build fixes
...
1. Added requires wherever necessary
2. Use exact format specifiers
3. Updated `esp-insights` and `rmaker_common` submodules
Signed-off-by: Vikram <vikram.dattu@espressif.com >
2022-08-26 19:04:02 +05:30
Chirag Atal
8fb1966178
gpio_button: Renaming button to gpio_button to fix compilation errors
...
Multiple components with the same name are detected if the idf_component_manager also includes the button component.
2022-07-20 14:43:07 -04:00
Piyush Shah
b6cd75f3a9
bugfix: Wrong checks for return values in claiming code
...
- Also updated rmaker_common code for PPI value changes
2022-07-20 15:19:20 +05:30
Piyush Shah
f838cf5e56
esp_rmaker_console: Add a command to test RainMaker Command-Response module
2022-07-18 15:47:31 +05:30
Piyush Shah
c77d27a32f
esp_rmaker_core: Add mqtt based support for command-response
2022-07-18 12:21:59 +05:30
Piyush Shah
5389ce22cf
ota: Better usage of App rollback feature
...
- Mark new app firmware as valid only if MQTT connection is successful.
- Report OTA success to RainMaker backend only after successful
connection after booting into new firmware.
- If the new firmware cannot connect to MQTT within specified time
(Default 90 seconds, configuratble), it will roll back into older
firmware. Even if the timer logic fails for some reason, a reboot
will also trigger the rollback.
2022-07-13 21:55:57 +05:30
Piyush Shah
a5dbd2d8d9
esp_rainmaker: Add a component manager dependency for mDNS component for idf >= 5.0
...
Closes: https://github.com/espressif/esp-rainmaker/issues/133
2022-07-12 14:37:36 +05:30
Piyush Shah
88335d174c
esp_rmaker_core: Minor changes for compilation with idf v5.0/master
2022-06-29 23:21:14 +05:30
sivar2311
07533b82a1
Merge branch 'espressif:master' into master
2022-06-09 09:10:58 +02:00
Piyush Shah
677a244fe1
Merge branch 'task/name_param_cb' into 'master'
...
esp_param_name: Give an option to handle name param in application callback
See merge request app-frameworks/esp-rainmaker!286
2022-06-07 16:50:24 +08:00