Commit Graph

7 Commits

Author SHA1 Message Date
shripad621git 768163a9da examples: Update the button component to latest version.
- Driver specific changes for updated button component in examples.
- Updated the device_hal code for button component upgrade.
- Updated the idf_component.yml of examples to use latest version of espressif/cmake_utilities.
2025-04-11 11:43:03 +05:30
Rohit Jadhav 447e0b1c78 examples/generic_switch: Update generic switch wrt spec change
Added momentary_switch, action_switch and momentary_switch_multi_press features and respective features.
Removed fixed and user labels from example because these are removed
from spec.
Removed mfg_binary as it's not needed anymore.
2024-12-05 12:37:44 +05:30
Shripad Deshpande 7441801cb6 Revert "change generic_switch example to use bsp" 2024-08-23 17:04:32 +08:00
Pavel Borcin e14c1a4aa0 change generic_switch example to use bsp 2024-05-14 10:17:51 +02:00
shripad621git 7f97c97311 Provision to add buttons to generic_switch example
Added the gpio_button struct to create the gpio buttons.
Mapped the buttons to corresponding endpoints.
Changed app_main.cpp to make creation of buttons more easy.
Added CONFIG_FACTORY_COMMISSIONABLE_DATA_PROVIDER AND CONFIG_FACTORY_DEVICE_INFO_PROVIDER in sdkconfig.defaults
to keep the app consistent with changes in providers code.
2023-05-23 16:59:28 +05:30
Rohit Jadhav 5028a15edf Multi-press count reset on multipress complete 2022-12-27 16:10:28 +05:30
Rohit Jadhav b5f1657ed2 Add generic_switch example and mapping of switch events to button 2022-12-20 21:22:32 +05:30