Part 5 - ethernet output – Kaman digiVIT User Manual

Page 13

Advertising
background image

www.kamansensors.com

PART NO: 860525-001

Last Revised 9/16/2013

- 13 -

PART 5 - ETHERNET OUTPUT

The digiVIT has an Ethernet output that communicates via a UDP/IP protocol. To protect the
packet it is required that any command is preceded by a sequence number and has a checksum
at the end. It has a fixed IP address (which can be changed) and utilizes fixed ports (these can
also be changed) for sending and receiving data.

5.1 Default IP Address & Ports

Default IP Address: 192.168.0.145
Default UDP Writer Port: 55555
Default UDP Reader Port: 55556



5.2 UDP Packet

The packet sent over the UDP port must be preceded by a sequence number and followed by a
checksum. This is necessary because UDP does not guarantee arrival of the packet to the
host. The format of the packet is:

$s<Payload>#CC

Where the $ is the command preface and s is a sequence character from ASCII 'a' to 'z'. When
the digiVIT receives a command, it will respond with the same sequence number sent as the
first character of the string. It is up to the host to determine if the packet arrived in sequence
and to take any action.

The checksum is the last two characters and is preceded by the # sign indicating the checksum
characters follow as the payload length is variable. It is the inverted 8 bit sum of the ASCII
values in the payload including the sequence number.

Advertising