Skip to content

Commit

Permalink
Disable OT CLI for non-shell apps + Disable OT joiner feature (#20223)
Browse files Browse the repository at this point in the history
Co-authored-by: Dieter Van der Meulen <[email protected]>
  • Loading branch information
2 people authored and pull[bot] committed Jul 5, 2022
1 parent 346dbc0 commit 7025469
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 15 deletions.
7 changes: 0 additions & 7 deletions examples/lighting-app/qpg/include/CHIPProjectConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,6 @@
*/
#define CHIP_DEVICE_CONFIG_EVENT_LOGGING_DEBUG_BUFFER_SIZE (512)

/**
* CHIP_DEVICE_CONFIG_THREAD_ENABLE_CLI
*
* Enable Thread CLI interface at initialisation.
*/
#define CHIP_DEVICE_CONFIG_THREAD_ENABLE_CLI 1

/**
* @def CHIP_CONFIG_MAX_FABRICS
*
Expand Down
7 changes: 0 additions & 7 deletions examples/lock-app/qpg/include/CHIPProjectConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,6 @@
*/
#define CHIP_DEVICE_CONFIG_EVENT_LOGGING_DEBUG_BUFFER_SIZE (512)

/**
* CHIP_DEVICE_CONFIG_THREAD_ENABLE_CLI
*
* Enable Thread CLI interface at initialisation.
*/
#define CHIP_DEVICE_CONFIG_THREAD_ENABLE_CLI 1

/**
* @def CHIP_CONFIG_MAX_FABRICS
*
Expand Down
1 change: 1 addition & 0 deletions examples/platform/qpg/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ source_set("qpg-matter-shell") {
defines = [
"OPENTHREAD_CONFIG_CLI_TRANSPORT=OT_CLI_TRANSPORT_CONSOLE",
"ENABLE_CHIP_SHELL",
"CHIP_DEVICE_CONFIG_THREAD_ENABLE_CLI=1",
]

sources = [
Expand Down
2 changes: 1 addition & 1 deletion examples/platform/qpg/project_include/OpenThreadConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
#define OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE 0

#define OPENTHREAD_CONFIG_COAP_API_ENABLE 0
#define OPENTHREAD_CONFIG_JOINER_ENABLE 1
#define OPENTHREAD_CONFIG_JOINER_ENABLE 0
#define OPENTHREAD_CONFIG_COMMISSIONER_ENABLE 0
#define OPENTHREAD_CONFIG_UDP_FORWARD_ENABLE 0
#define OPENTHREAD_CONFIG_BORDER_ROUTER_ENABLE 0
Expand Down

0 comments on commit 7025469

Please sign in to comment.