[PW_SID:1099573] main: make developer mode more configurable#499
[PW_SID:1099573] main: make developer mode more configurable#499IWDTestBot wants to merge 1 commit into
Conversation
The developer mode (-E) option is used only for the autotest framework to start up IWD in a state where: - Autoconnect is disabled - The station debug interface is available For testing and development on real systems the debug interface is convenient to have available, the trouble is starting IWD in this mode loses the autoconnect functionality (unless you manually enable after starting). This patch aims to allow developer mode + autoconnect but making allowing the -E flag to take several options: -E (no args) - same behavior, debug interface + no autoconnect -Etest - same as -E with no args -Edebug - debug interface with autoconnect enabled
|
Fetch PR Prep - Setup ELL Make Distcheck Output: Build - Configure Make Check Output: Make Check w/Valgrind Output: Incremental Build with patches |
|
Fetch PR GitLint Output: Prep - Setup ELL Make Distcheck Output: Build - Configure Make Check Output: Make Check w/Valgrind Output: Incremental Build with patches Autotest Runner Output: Clang Build Output: |
The developer mode (-E) option is used only for the autotest
framework to start up IWD in a state where:
For testing and development on real systems the debug interface
is convenient to have available, the trouble is starting IWD in
this mode loses the autoconnect functionality (unless you manually
enable after starting).
This patch aims to allow developer mode + autoconnect but making
allowing the -E flag to take several options:
-E (no args) - same behavior, debug interface + no autoconnect
-Etest - same as -E with no args
-Edebug - debug interface with autoconnect enabled
src/iwd.h | 7 ++++++-
src/main.c | 48 ++++++++++++++++++++++++++++++++++++++++++------
src/station.c | 16 +++++++++-------
3 files changed, 57 insertions(+), 14 deletions(-)