Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Linux door-lock app #12907

Merged
Merged
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
6e62af5
Add linux lock app stub.
dustin-crossman Dec 1, 2021
f67ccf3
Add LockManager to linux lock app
dustin-crossman Dec 2, 2021
7ba1e7e
Add linux door-lock app to github workflows.
dustin-crossman Dec 6, 2021
d4f3933
Add door lock cluster to door lock app zap.
dustin-crossman Dec 8, 2021
b0fc725
Regen auto-generated stuff.
dustin-crossman Dec 8, 2021
de91f48
Working on door-lock implementation.
dustin-crossman Dec 9, 2021
d029f2b
Update a couple auto-generated files.
dustin-crossman Dec 9, 2021
0820de3
More door-lock fixes/improvements.
dustin-crossman Dec 9, 2021
9d56bdd
Cleaning up lock app a bit.
dustin-crossman Dec 10, 2021
1157441
Add linux lock app to build_examples.py script and use it in github w…
dustin-crossman Dec 13, 2021
cc7ea3e
Addressing review feedback.
dustin-crossman Dec 13, 2021
454a8b7
Fixup some auto-generated files.
dustin-crossman Dec 14, 2021
5cade9e
Ran through clang-format.
dustin-crossman Dec 14, 2021
012cc93
Regen files.
dustin-crossman Dec 15, 2021
6027d59
More review feedback.
dustin-crossman Dec 15, 2021
055dcd7
Restyle gn files.
dustin-crossman Dec 15, 2021
919a196
Added weak definitions for Lock/Unlock commands.
dustin-crossman Dec 15, 2021
f7813e5
Addressing review feedback.
dustin-crossman Dec 16, 2021
fad6e5d
Restyle
dustin-crossman Dec 16, 2021
62d0beb
Quick fix.
dustin-crossman Dec 17, 2021
cdd925a
Merge remote-tracking branch 'dustin/master' into feature/door-lock-l…
Morozov-5F Dec 28, 2021
bcc98fb
Fix format strings in Door Lock cluster
Morozov-5F Dec 28, 2021
de1eed5
Add Door Lock Cluster to an mbedOS build
Morozov-5F Dec 28, 2021
b1c1ed5
Fix format strings and parameter usage
Morozov-5F Dec 28, 2021
512e7a8
Add placeholder README.md
Morozov-5F Dec 28, 2021
ae5a61b
Make lock-app to build on Darwin
Morozov-5F Dec 28, 2021
958cd30
Fix Linux Build tests by adding appropriate targets
Morozov-5F Dec 28, 2021
0173d55
Fix formatting in README for linux lock app
Morozov-5F Dec 29, 2021
30f066c
Merge remote-tracking branch 'upstream/master' into feature/door-lock…
Morozov-5F Dec 29, 2021
bfe3a96
Use proper path for Linux lock app in CI
Morozov-5F Dec 29, 2021
3e901ef
Fix build errors on ESP32
Morozov-5F Dec 29, 2021
673e18f
Update auto-generated files
Morozov-5F Dec 29, 2021
ef7b9cd
Fix ESP32 build lock-app build
Morozov-5F Dec 29, 2021
4e60ac3
Move door lock app to the separate example
Morozov-5F Dec 29, 2021
9488a34
Fix styling issues
Morozov-5F Dec 29, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix build errors on ESP32
  • Loading branch information
Morozov-5F committed Dec 29, 2021
commit 3e901ef4a2ef14cdda3197ca65f96ee88f0310cc
3 changes: 2 additions & 1 deletion src/app/clusters/door-lock-server/door-lock-server.cpp
Original file line number Diff line number Diff line change
@@ -47,7 +47,8 @@ EmberEventControl emberAfPluginDoorLockServerRelockEventControl;
DoorLockServer DoorLockServer::instance;

// TODO: Remove hardcoded pin when SetCredential command is implemented.
chip::ByteSpan mPin({ 1, 2, 3, 4 });
static const uint8_t HARD_CODED_PIN_CODE[] = { 1, 2, 3, 4 };
chip::ByteSpan mPin(HARD_CODED_PIN_CODE);

/**********************************************************
* DoorLockServer Implementation