[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:
Yakun Xu
2020-02-24 21:03:19 -08:00
committed by GitHub
parent ff3033f24f
commit b01754cabf
25 changed files with 725 additions and 30 deletions
+11
View File
@@ -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
;;