|  Developer
Updated on November 15, 2021

stop_scan_network()

  • Stop network scanning by using scan id.
Edit
Edit
fields type description
scan_id int The scan id is returned by start_scan_network method
Edit
nothing
Edit
				
					require "network"

local ip_list = "192.168.0.0, 192.168.0.1, 192.168.122.1, 192.168.0.34"
local handle_results = "HUB:zwave/scripts/handle_network_scan_results"
local scan_id1 = network.start_scan_network( ip_list, "IPv4", handle_results )
network.stop_scan_network( scan_id1 )