Commit Graph

117 Commits

Author SHA1 Message Date
PSONALl 160324657d Add macro to define fixed endpoints with on-off server cluster 2023-06-05 18:01:13 +05:30
Shubham Patil c6899403c1 Changes to bump connectedhomeip submodule to revision: 8642c0d
- Replaced component esp32_mbedtls with mbedtls from requirements
- Enabled CONFIG_MBEDTLS_HKDF_C option in all the sdkconfig.defaults
- Removed secure cert dac provider from here and using one in
  connectedhomeip repo
- Enabled CONFIG_ESP_SECURE_CERT_DS_PERIPHERAL in sdkconfig.defaults.esp32h2
2023-05-26 14:53:37 +05:30
Hrishikesh Dhayagude 7cfe6c995f Merge branch 'pr_323' into 'main'
[GH_PR] [format_specifier] - Fixes ESP_LOG format specifier mismatches in components/esp_matter (CON-414)

See merge request app-frameworks/esp-matter!356
2023-04-27 00:00:49 +08:00
dhairyashah1 859ea8f023 Fixes format specifier mismatches in ESP_LOG prints & snprintf's using endpoint_id, cluster_id, attribute_id & command_id of components/esp_matter, examples/zigbee_bridge
[examples] Removes '-Wformat=0' flag from root CMakeLists.txt's from examples
Solves and fixes #296

Signed-off-by: dhairyashah1 <dhairya.shah@espressif.com>

[zigbee_bridge] Adds PRI format specifiers in zigbee_bridge.cpp

Signed-off-by: dhairyashah1 <dhairya.shah@espressif.com>
2023-04-19 23:25:11 +05:30
Hrishikesh Dhayagude 26e81f4598 Merge branch 'example/clean_zap_generated' into 'main'
example: Clean files under main/zap-generated path

See merge request app-frameworks/esp-matter!358
2023-04-19 19:01:49 +08:00
WanqQixiang 5d97f7ec83 example: Clean files under main/zap-generated path 2023-04-19 15:55:16 +08:00
Shubham Patil ef2c3e4d8b core: Use NVS APIs to get/set attributes with primitive datatype
Added the config option to all examples' sdkconfig.defaults
2023-04-17 13:18:33 +05:30
WanqQixiang 97fc93655e examples: make ESP32C6 and ESP32H2 use the same partition table 2023-04-10 14:21:24 +08:00
InfiniteYuan ba96bc8d6e example: add memory optimization for esp32-c2 2023-03-31 16:41:20 +08:00
Shubham Patil e13d2b96d2 Flag esp_secure_cert and nvs_keys partitions as encrypted
By default esp_secure_cert and nvs_keys partitions are encrypted as
their content needs to be secured using flash encryption, but examples
do not flag them as encrypted. So, lets flag them as encrypted for
consistency.
2023-03-28 11:57:25 +05:30
Shu Chen f2e77d239e Merge branch 'support-c6-h2' into 'main'
Add support for ESP32-C2, ESP32-C6 and ESP32-H2-MP

See merge request app-frameworks/esp-matter!319
2023-03-24 15:30:52 +08:00
WanqQixiang 7b2912a9e5 submodule: Update connectedhomeip submodule to bc8c9ece1 to support ESP32-C6 and ESP32-H2-MP
docs: Add details for esp32h2, esp32c2, and esp32c6
2023-03-23 21:10:37 +08:00
Shubham Patil d7215de6d2 identify: Make init API configurable and pass in identify effect in cb
Closes https://github.com/espressif/esp-matter/issues/238
2023-03-16 13:53:49 +05:30
Shubham Patil 9c7e738cbb Changes in examples for C2 2023-03-16 14:18:40 +08:00
WanqQixiang c44c2177a3 submodule-update: Update connectedhomeip submodule to 7e69c66bb for matter 1.1 TE1 2023-03-16 14:15:23 +08:00
Chirag Atal 1856e151b8 zap_generated: Add support to change the dynamic endpoint count through menuconfig
Added some menuconfig options which can be helpful for memory optimisations.
2023-03-15 09:51:32 +05:30
Shubham Patil 31afec5674 examples/light: Advertise only on dns-sd when last fabric is removed 2023-02-13 10:33:33 +05:30
shripad621git 3e8ea13b09 Handled the events related to Fabric in esp_matter_core.cpp and called OpenBasicCommissioningWindow api from OnFabricRemoved in light example.
Added the fabric related events to light example.
2023-02-07 16:30:59 +05:30
Shubham Patil 4dcf8e95ef docs: Point all doc links to latest deployment
This is the left over from !280
2023-02-01 14:54:27 +05:30
WanqQixiang b155794f7f console: Add wifi connect command 2022-12-30 15:58:33 +08:00
Shu Chen 85abe2cdd4 Merge branch 'submodule/update_V1_0_0_1' into 'main'
Submodule: Update submodule to the new released tag v1.0.0.1

See merge request app-frameworks/esp-matter!251
2022-12-28 19:06:45 +08:00
WanqQixiang f705a89c80 Submodule: Update submodule to the new released tag v1.0.0.1
CI: Activate matter build env before building the examples

sdkconfig: update sdkconfig to disable BT connection reattempt
2022-12-23 17:03:57 +08:00
Chirag Atal fb2493481c app_main: Fixing the max value for hue and saturation
According to the spec, hue and saturation both should be between 0-254.
2022-12-23 11:17:49 +05:30
Shu Chen 4fed14a20e Merge branch 'v1.0/update-attribute-init-value' into 'main'
Add color capability update when add colorcontrol feature

See merge request app-frameworks/esp-matter!241
2022-12-14 11:25:37 +08:00
liyashuai 4916723edc update attribute value in color light for v1.0 certified 2022-12-12 20:55:38 +08:00
Shubham Patil 6172f9a3e2 Add fault injection check when reading secure cert contents 2022-12-06 19:17:36 +05:30
Shubham Patil 09e8ee3d11 DAC Provider impl to read att info from esp_secure_cert partition
Refactored some code related to setting the attestation info provider.
Added some configurations which lets user decide which implementation of
DAC Provider to use.
Added esp_secure_cert_mgr component through idf component manager
2022-12-01 20:03:58 +05:30
Rohit Jadhav 54741bea51 Updated button idf_component to 2.3.0 2022-11-25 16:19:51 +05:30
Rohit Jadhav 0960b7787a Fixed path to example/common in CMakeList for examples Closes https://github.com/espressif/esp-matter/issues/93 2022-11-22 10:24:46 +05:30
WanqQixiang ba454ce389 esp_matter: Add support for nullable attribute setting and getting 2022-11-02 16:50:25 +08:00
Shubham Patil 5988405d51 core: reclaim the BLE memory on commissioning complete
Moved the logic to reclaim the ble memory from application to core
Also, removed the app_ble component
2022-10-18 00:07:02 +05:30
Shubham Patil 5cd0e7d244 Disable softap support by default
As softap won't be used for commissioning, disabling it saves around
~30KB of flash size.
2022-10-07 12:03:42 +05:30
Shu Chen b9133f0672 Merge branch 'submodule/update_chip_v1.0' into 'main'
Submodule: Update connectedhomeip repo to commit 4f7669b0 in v1.0 branch

See merge request app-frameworks/esp-matter!200
2022-09-28 15:30:22 +08:00
WanqQixiang 8160c16dd7 Submodule: Update connectedhomeip repo to commit 4f7669b0 in v1.0 branch 2022-09-27 20:40:27 +08:00
WanqQixiang 47a93e6d10 console: refactor esp_matter_console 2022-09-27 10:36:42 +08:00
Shu Chen 83fec9a438 Merge branch 'temporarily-remove-ota-esp32h2' into 'main'
Example: Temporarily disable ota for esp32h2

See merge request app-frameworks/esp-matter!195
2022-09-21 16:41:57 +08:00
WanqQixiang 3b6ead1f32 example: temporarily disable ota for esp32h2 2022-09-21 15:28:22 +08:00
Shubham Patil 4d55e2f8d9 Remove app_qrcode component and do not print it in examples.
Added the default QR code to the docs and pointer to generate the new
factory partition and qr code.
2022-09-20 14:45:34 +05:30
WanqQixiang a26d07bd60 move dnssd-server-start and route-hook-init to device_callback_internal 2022-09-13 15:13:24 +08:00
WanqQixiang 5e9596709f OTA: Call esp_matter_ota_requestor_start after connected to a network 2022-09-06 14:17:56 +08:00
Shubham Patil 64a44ba04d Handle the commissioning events in examples 2022-08-30 19:21:22 +05:30
liyashuai 7decda072b ota: make OTA clusters optional. 2022-08-30 15:33:57 +08:00
Shu Chen 0eca149514 Merge branch 'update_submodule_support_esp32h2' into 'main'
Submodule: Update the connectedhomeip submodule to the lastest master commit 069b09b5f3

See merge request app-frameworks/esp-matter!180
2022-08-26 18:31:31 +08:00
WanqQixiang 74d6f1ae81 Submodule: Update the connectedhomeip submodule to the lastest master commit 069b09b5f3
Example: Update lighting app on ESP32-H2

qrcode: use managed_component instead of the extra_component from IDF
2022-08-26 12:02:17 +08:00
Hrishikesh Dhayagude 0e1a62d4ee Minor changes to the documentation 2022-08-25 14:23:31 +05:30
Chirag Atal 70ffba8cc6 app_driver: Using app_driver_handle_t instead of void pointer. 2022-08-04 13:55:48 +05:30
Chirag Atal 4b47bf9819 identification: Renaming esp_matter::identify to identification
This is to reduce confusions with esp_matter::cluster::identify.
2022-08-03 19:48:21 +05:30
Chirag Atal 09eba3f455 app_driver: Restructuring setting the driver to default value
led_driver: Removing the get() APIs
2022-08-03 19:45:56 +05:30
Chirag Atal 2cc98e1de2 led_driver: Add support for handle
app_main: Passing this handle to the endpoint as priv_data and using the handle in the driver on attribute_update.
2022-08-03 11:58:13 +05:30
Chirag Atal d719c97b88 endpoint: Added support for priv_data
This priv_data is returned to the application in the attribute_update and the identify callbacks.
2022-08-02 16:01:38 +05:30