|Top Previous Next|
All DS commands have the following format:
All DS replies have the following format:
Example: here is a sample exchange between a certain device (performing the programming) and the DS. This device can be a network host (programming through the network) or attached serial device (programming through the serial port):
In the above example programming device requests the IP-address of the DS. This is done by issuing the Get Setting (G) command with parameter "IP" (for IP-address (IP) setting). The DS replies with the OK (A) reply code indicating that command was processed successfully, followed by the current value of the IP-address (IP) setting, which is 192.168.100.90.
All commands and replies sent to the DS always have the same format, regardless of which interface is used. What is interface-dependent is the encapsulation that is used to mark the beginning and the end of commands (replies) and how these commands and replies are sent. For more information see serial programming and network programming.