Onboard Multiple Devices at Once
Last updated
Last updated
DeviceOn Agent will connect to DeviceOn server through Credential URL and IoT Key and those setting in agent_config.xml, if you have many devices (that has DeviceOn Agent in it) need to connect to the server, it takes time to modify agent_config.xml in each device. Here, we build-in the “Local Provision” Plugin to speed up this process. You will learn how to trigger all local devices to connect to the server with the same Credential URL and IoT Key.
The DeviceOn Agent local provision plugin will send Credential URL and IoT key to other local agent devices, and the local agent devices can connect to the server successfully. In following figure, you can send trigger command to make device A and B connect to a server with a Windows GUI tool.
All devices must install DeviceOn Agent in it.
All devices and the control PC must in the same local network (The multicast packet will not be filtered)
All devices have the capability to connect to DeviceOn server.
Step 1: Download and unzip the local provision GUI tool.
Step 2: Place valid “agnet_config.xml” file (with correct Credential URL and IoT Key) to “GUI tool\resources\tools” folder
Step 3: Double click “LocalProvision.exe”
Step 4: Click Discover button If windows display a firewall dialog, please click allow to enable TCP server permission in tool.
Step 5: Wait for 10 second and then you can get the devices on checkbox list
Step 6: Pick-up the device that you would like to connect to the server and click Active.
Until now, the checked devices should connect to server after few second later.