mirror of
https://github.com/espressif/openthread.git
synced 2026-07-29 15:17:47 +00:00
[mle] add enhanced keep-alive (#4325)
This commit introduces the first Thread 1.2 feature - enhanced keep alive. This commit also introduces the build config OPENTHREAD_CONFIG_THREAD_VERSION to include/exclude Thread 1.2 code.
This commit is contained in:
+11
@@ -57,6 +57,13 @@ do_cert() {
|
||||
PYTHONUNBUFFERED=1 "$1"
|
||||
}
|
||||
|
||||
do_v1_2() {
|
||||
ls tests/scripts/thread-cert/v1_2_*.py | while read test_case; do
|
||||
[[ ! -d tmp ]] || rm -rvf tmp
|
||||
PYTHONUNBUFFERED=1 "${test_case}"
|
||||
done
|
||||
}
|
||||
|
||||
print_usage() {
|
||||
echo "USAGE: [ENVIRONMENTS] $0 COMMANDS
|
||||
|
||||
@@ -124,6 +131,10 @@ main()
|
||||
shift
|
||||
do_cert "$1"
|
||||
;;
|
||||
v1.2)
|
||||
do_v1_2
|
||||
break
|
||||
;;
|
||||
help)
|
||||
print_usage
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user