File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -614,7 +614,7 @@ play_node_soc_door_lock_keypad_()
614614play_node_s2v2_ ()
615615{
616616 local task=" s2v2"
617- log_ " $task : TODO: https://github.com/Z-Wave-Alliance/z-wave-stack/pull/700"
617+ # log_ "$task: TODO: https://github.com/Z-Wave-Alliance/z-wave-stack/pull/700"
618618 local type=" OnOff"
619619 node_cli_ " $node " H
620620 node_cli_ " $node " n
@@ -631,15 +631,16 @@ play_node_s2v2_()
631631 grep ' on_nls_state_set_v2_send_complete' " ${zpc_log} " || exit_ 20
632632 grep ' on_nls_state_get_v2_send_complete' " ${zpc_log} " || exit_ 21
633633 zpc_cli_ " attribute_store_log_search" " NLS"
634- zpc_cli_ " attribute_store_log_search" " NLS state" \
635- && grep ' NLS state ...............................................' \
636- " ${zpc_log} " \
637- || echo TODO exit_ 22 # 2 expected
638- zpc_cli_ " attribute_store_log_search" " NLS support" \
639- && grep ' NLS support .*' \
640- " ${zpc_log} " \
641- || echo TODO exit_ 23
642-
634+
635+ zpc_cli_ " attribute_store_log_search" " NLS state"
636+ grep -2 -E " .* NodeID [.]*[ ]* ${nodeid} " " ${zpc_log} " \
637+ | grep -E ' NLS state [.]*' \
638+ || exit_ 22 # 2 expected
639+
640+ zpc_cli_ " attribute_store_log_search" " NLS support"
641+ grep -3 -E " .* NodeID [.]*[ ]* ${nodeid} " " ${zpc_log} " \
642+ | grep -E ' NLS support [.]*.*1.*' \
643+ || exit_ 23
643644 pub=" ucl/by-unid/$nodeunid /State/Commands/DiscoverNeighbors"
644645 message=' {}'
645646 pub_ " $pub " " $message "
You can’t perform that action at this time.
0 commit comments