Skip to content

Commit

Permalink
Update the NRF lock implementation to use the Door Lock State (#17291)
Browse files Browse the repository at this point in the history
* Update nrfconnect ock app to door lock

* Generated code.

* Fix ESP32

* Regenerate ZAP

Co-authored-by: Damian Krolik <[email protected]>
  • Loading branch information
krypton36 and Damian-Nordic authored Apr 14, 2022
1 parent 013421d commit 2e94d8b
Show file tree
Hide file tree
Showing 11 changed files with 1,762 additions and 34 deletions.
2 changes: 2 additions & 0 deletions examples/lock-app/esp32/main/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ idf_component_register(INCLUDE_DIRS
"${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/group-key-mgmt-server"
"${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/power-source-configuration-server"
"${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/power-source-server"
"${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/door-lock-server"
PRIV_REQUIRES bt chip QRCode)

get_filename_component(CHIP_ROOT ${CMAKE_SOURCE_DIR}/third_party/connectedhomeip REALPATH)
Expand Down Expand Up @@ -172,6 +173,7 @@ idf_component_register(PRIV_INCLUDE_DIRS
"${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/power-source-configuration-server"
"${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/power-source-server"
"${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/user-label-server"
"${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/door-lock-server"
PRIV_REQUIRES chip QRCode bt)

set_property(TARGET ${COMPONENT_LIB} PROPERTY CXX_STANDARD 17)
Expand Down
Loading

0 comments on commit 2e94d8b

Please sign in to comment.