For the device gateway only. Refer to the UDP Master API for the master gateway.

Overview

The UDP API is for communicating with devices via UDP.

IP

You can get/set IP configuration of a device within a subnet using GetIPConfig/SetIPConfig.

GetIPConfig

Get the IP configuration of a device.

message DeviceInfo {
  uint32 deviceID;
  string IPAddr; 
}
Request
Parameter Type Description
deviceInfo DeviceInfo The information of the device in the subnet
Response
Parameter Type Description
config IPConfig The IP configuration read from the device

SetIPConfig

Set the IP configuration of a device.

Request
Parameter Type Description
deviceInfo DeviceInfo The information of the device in the subnet
config IPConfig The IP configuration to be written to the device

Updated: