Piyush Shah
b4bbaac77b
gitlab-ci: Temporary fix to pass the CI pipeline
2021-05-28 23:22:00 +05:30
Piyush Shah
fce91c4fb0
esp_rmaker_core: Add a system service for reboot/reset
2021-05-28 23:21:58 +05:30
Piyush Shah
ec23bd8aa6
Merge branch 'task/node_sharing_cli' into 'master'
...
submodules: Updated the RainMaker Common and CLI submodules
See merge request app-frameworks/esp-rainmaker!234
2021-04-08 12:43:56 +00:00
Piyush Shah
7a4146c4df
submodules: Updated the RainMaker Common and CLI submodules
...
Common: Additional metadata for tracking RainMaker platform connections in AWS.
CLI: Modified workflow for Node Sharing.
2021-04-08 17:11:10 +05:30
Piyush Shah
0fba68bbf7
Merge branch 'bugfix/report_params' into 'master'
...
Bugfix in reporting params
See merge request app-frameworks/esp-rainmaker!233
2021-03-23 06:43:30 +00:00
Piyush Shah
31397c93eb
esp_rmaker_params: Do not attempt reporting params if RainMaker hasn't yet started
...
The "started" in this context means that the MQTT connection was successful
and normal RainMaker operations have begun.
2021-03-23 01:25:12 +05:30
Piyush Shah
332c6e7d58
examples: Increase FreeRTOS timer stack size
...
Button event callbacks are executed in the context of FreeRTOS Timer task.
Reporting param updates from that causes stack overflow, specifically on ESP32-C3.
As a temporary workaround, the stack size for FreeRTOS Timer task has been increased.
2021-03-23 01:25:02 +05:30
Piyush Shah
8854443e4e
examples: Use FreeRTOS timer instead of esp_timer for periodic tasks
...
esp_timer is generally recommended when high precision is required.
However, since that is not the case for periodic reporting of temperature
values, replaced it with freeRTOS Timer.
2021-03-23 01:24:39 +05:30
Piyush Shah
009c6d7ab3
Remove a stale file added mistakenly
2021-03-23 01:02:03 +05:30
Piyush Shah
37b6a24dfa
Merge branch 'bugfix/workqueue_task_delete' into 'master'
...
Don't delete work queue task when local_ctrl fails to start
See merge request app-frameworks/esp-rainmaker!232
2021-03-18 07:17:47 +00:00
Bruno Binet
80e565aac2
Don't delete work queue task when local_ctrl fails to start
...
this vTaskDelete statement was probably missed when the work queue has
been restructured and extracted in a separate component.
See commit: 31d4b375e3
2021-03-17 17:45:12 +01:00
Piyush Shah
8cb1abcdfe
Merge branch 'bugfix/esp_event_warnings' into 'master'
...
esp_events: Corrected the event handler prototypes to be in sync with esp_event_handler_t
See merge request app-frameworks/esp-rainmaker!231
2021-03-15 06:55:08 +00:00
Piyush Shah
66dc818ba8
esp_events: Corrected the event handler prototypes to be in sync with esp_event_handler_t
...
Closes https://github.com/espressif/esp-rainmaker/issues/55
2021-03-15 11:03:32 +05:30
Piyush Shah
38a46da760
Merge branch 'bugfix/schedule_memory_leak' into 'master'
...
esp_rmaker_schedule: Fix memory leak when parsing the schedule JSON.
See merge request app-frameworks/esp-rainmaker!220
2021-03-02 05:56:43 +00:00
Piyush Shah
8fd2e02ee4
Merge branch 'feature/esp32c3_support' into 'master'
...
esp32c3: Minor changes to support this new chip
See merge request app-frameworks/esp-rainmaker!216
2021-02-10 16:21:04 +08:00
Piyush Shah
86b4dbbd68
examples: Changes for the ESP32-C3, primarily for Boot button
...
And some other minor changes
- Corrected comments in example READMEs and sdkconfig.defaults
- Duplicate macro in homekit_switch removed
2021-02-09 22:32:03 +05:30
Piyush Shah
50c3023e43
esp32-c3: Minor changes for ESP32-C3 support
2021-02-08 23:27:57 +05:30
Piyush Shah
2271c51144
Merge branch 'task/module_restructure' into 'master'
...
esp_rmaker: Moved out some generic modules from esp_rainmaker component
See merge request app-frameworks/esp-rainmaker!222
2021-02-04 00:51:19 +08:00
Piyush Shah
729e4d8310
Merge branch 'bugfix/crash_in_app_wifi' into 'master'
...
app_wifi: Initialized the nvs_random to NULL
See merge request app-frameworks/esp-rainmaker!226
2021-02-03 20:12:30 +08:00
Piyush Shah
31d4b375e3
esp_rmaker: Moved out some generic modules from esp_rainmaker component
...
The following are now part of a separate repo (and included as git submodule):
- MQTT glue layer
- Work Queue
- Utilities (reset, reboot, time sync, timezone, etc.)
- Factory Storage
Even CLI is now a part of a seperate repo, included here as a git submodule.
2021-02-03 15:30:55 +05:30
Shubham Patil
460eb620e0
app_wifi: Initialized the nvs_random to NULL.
2021-02-01 20:53:25 +05:30
Piyush Shah
3c4a1bce0b
Merge branch 'feature/demo_intro_prints' into 'master'
...
app_wifi: Added some optional prints on console to help getting started
See merge request app-frameworks/esp-rainmaker!225
2021-01-28 21:49:42 +08:00
Piyush Shah
63b7471a88
app_wifi: Added some optional prints on console to help getting started
...
CONFIG_APP_WIFI_SHOW_DEMO_INTRO_TEXT needs to be set to enable these prints
2021-01-28 16:03:46 +05:30
Piyush Shah
bf855ca378
Merge branch 'feature/hue-slider' into 'master'
...
esp_rmaker_standard_types: Added UI Type "esp.ui.hue-slider" for Hue param
See merge request app-frameworks/esp-rainmaker!224
2021-01-26 04:02:32 +08:00
Piyush Shah
3a0f522995
esp_rmaker_standard_types: Added UI Type "esp.ui.hue-slider" for Hue param
...
This will show up as a coloured hue slider in the phone apps
2021-01-26 00:26:05 +05:30
Chirag Atal
6624e8664d
esp_rmaker_schedule: Fix memory leak when parsing the schedule JSON.
2021-01-15 17:58:03 +05:30
Piyush Shah
012aadf8f4
Merge branch 'bugfix/random_bytes_logic' into 'master'
...
wifi_prov: Fixed a bug which was causing name/pop to change on every reboot
See merge request app-frameworks/esp-rainmaker!218
2021-01-08 18:00:20 +08:00
Piyush Shah
0ad17a96e8
wifi_prov: Fixed a bug which was causing name/pop to change on every reboot
...
The provisioning name (SSID/BLE device name) and PoP are generated from
the general purpose random bytes stored in the factory NVS partition.
If a node hasn't completed claiming, these random bytes was getting re-generated
on a reboot, thereby causing the name and pop to change, which is undesirable.
With this fix, the random bytes will be generated only if not done already.
Note that an erase_flash will erase these bytes as well and so,
the provisioning name and PoP will still change in that case.
2021-01-07 23:19:49 +05:30
Piyush Shah
3a0621dccf
Merge branch 'bugfix/local_ctrl_crash' into 'master'
...
esp_rmaker_local_ctrl: Wait for Wi-Fi provisioning to finish before starting local control
See merge request app-frameworks/esp-rainmaker!205
2020-12-05 00:29:46 +08:00
Piyush Shah
1698e39207
Merge branch 'bugfix/ota_incomplete' into 'master'
...
ota: Fixed an issue in error reporting in case of invalid OTA image
See merge request app-frameworks/esp-rainmaker!185
2020-12-04 20:28:54 +08:00
Piyush Shah
592addd0e8
esp_rmaker_local_ctrl: Wait for Wi-Fi provisioning to finish before starting local control
...
Since only a single protocomm_httpd instance is allowed at a time, starting local
control before soft AP provisioning ends causes errors. So now, we wait for
provisioning to finish before starting local control.
2020-12-04 14:20:47 +05:30
Piyush Shah
65e31b7666
ota: Fixed an issue in error reporting in case of invalid OTA image
2020-12-03 22:51:58 +05:30
Piyush Shah
5d829c0de8
Merge branch 'task/def_disable_local_ctrl' into 'master'
...
esp_rmaker_local_ctrl: Keep the feature disabled by default
See merge request app-frameworks/esp-rainmaker!202
2020-11-27 01:46:11 +08:00
Piyush Shah
489a532c32
esp_rmaker_local_ctrl: Keep the feature disabled by default
2020-11-26 22:05:46 +05:30
Piyush Shah
88b10ebaf3
Merge branch 'feature/local_control' into 'master'
...
ESP RainMaker Local Control
See merge request app-frameworks/esp-rainmaker!126
2020-11-26 21:29:50 +08:00
Piyush Shah
32b7d65d9b
esp_rmaker_core: Provide an API to get request source in string format
...
Used this API in all examples.
2020-11-18 22:16:05 +05:30
Piyush Shah
892e61b32f
esp_rmaker_core: Add a facility for local control
...
Once the node connects to a Wi-Fi network, it would now be possible to
control it from a client in the same network. This will be useful when
the Internet connection is down. It will also reduce the cloud communication
in general and will be faster.
2020-11-18 22:16:04 +05:30
Piyush Shah
bca07db139
Merge branch 'task/misc_minor_fixes' into 'master'
...
Miscellaneous minor fixes
See merge request app-frameworks/esp-rainmaker!199
2020-11-12 21:32:37 +08:00
Piyush Shah
fd094fb045
Miscellaneous minor fixes
2020-11-12 17:19:46 +05:30
Piyush Shah
cd072cd23a
Merge branch 'feature/rmaker_mqtt_events' into 'master'
...
Added some Rmaker MQTT events
See merge request app-frameworks/esp-rainmaker!196
2020-11-12 02:13:37 +08:00
Piyush Shah
cfd2624d79
switch: Handle the newly introduced MQTT events
2020-11-10 19:00:58 +05:30
Piyush Shah
8a098f08ca
esp_rmaker_mqtt: Add a few MQTT events
2020-11-10 19:00:53 +05:30
Piyush Shah
4a6c1525c2
Merge branch 'feature/cli_node_sharing' into 'master'
...
cli: Add support for Node Sharing
See merge request app-frameworks/esp-rainmaker!178
2020-10-30 17:35:06 +08:00
Shivani Tipnis
39661ffd63
cli: Add support for node sharing
2020-10-30 12:16:31 +05:30
Piyush Shah
b3c941416b
Merge branch 'task/user_creds_ops' into 'master'
...
cli: Update user credentials operations
See merge request app-frameworks/esp-rainmaker!195
2020-10-30 14:33:54 +08:00
Shivani Tipnis
987a61372b
cli: Update user credentials operations
...
Remove current login creds for a relogin/password change attempt
Get details for current logged-in user
Add support for logout command
2020-10-29 18:43:11 +05:30
Piyush Shah
0ebf534965
Merge branch 'task/upstream_json' into 'master'
...
json: Use upstream json_generator and json_parser as submodules
See merge request app-frameworks/esp-rainmaker!184
2020-10-23 16:26:09 +08:00
Piyush Shah
f1b82c71c4
Merge branch 'bugfix/build_fail_if_claiming_enabled' into 'master'
...
rmaker_core: Fixes build failure when claim config is disabled.
See merge request app-frameworks/esp-rainmaker!191
2020-10-19 21:15:34 +08:00
Shubham Patil
4517665b28
rmaker_core: Fixes build failure when claim config is disabled.
2020-10-19 17:07:44 +05:30
Piyush Shah
7a13a9d545
json: Use upstream json_generator and json_parser as submodules
...
The JSON generator and JSON parser being used in ESP RainMaker were
taken from third party repos. In order to ensure that they are
better in sync with the upstream repos, they have now been included
as submodules.
Please run `git submodule update --init --recursive` once to pull in
these submodules.
2020-10-16 21:52:31 +05:30