-
-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TRS: Add initial template for Transparent Reader Support
We borrow the same design ideas from osdp_file.[ch] as that came out pretty neatly without introducing any regressions to existing functionality. So to enable TRS, do one of: cmake -DCONFIG_OSDP_TRS=on (or) configure.sh --enable-trs Signed-off-by: Siddharth Chandrasekaran <[email protected]>
- Loading branch information
Showing
6 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ | |
|
||
#include "osdp_common.h" | ||
#include "osdp_file.h" | ||
#include "osdp_trs.h" | ||
|
||
#define LOG_TAG "CP : " | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* | ||
* Copyright (c) 2021 Siddharth Chandrasekaran <[email protected]> | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
#ifndef _OSDP_TRS_H_ | ||
#define _OSDP_TRS_H_ | ||
|
||
#include "osdp_common.h" | ||
|
||
#ifdef CONFIG_OSDP_TRS | ||
|
||
#else /* CONFIG_OSDP_TRS */ | ||
|
||
#endif /* CONFIG_OSDP_TRS */ | ||
|
||
#endif /* _OSDP_TRS_H_ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/* | ||
* Copyright (c) 2021 Siddharth Chandrasekaran <[email protected]> | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ |