Serial Port Data Structure

Posted by Seth Archer on Stack Overflow See other posts from Stack Overflow or by Seth Archer
Published on 2010-03-28T01:58:04Z Indexed on 2010/03/28 2:03 UTC
Read the original article Hit count: 716

I need to send data to a hardware device over serial port. I'm using a program called serial port tool for os x.

After I connect to the device there is a form box where I can type data to send. I have no idea how to format the data.

Here is an excerpt from the manual for the device.

"The Net Manager Command structure consists of one start byte, one command byte, five bytes of data, and a one byte checksum. Each message packet is formatted as follows:"

an example command is: Byte0=30 Byte1=7 Byte2=5 Byte3=1 Byte4=2 Byte5=0 Byte6=245

How do I type that into the form box in serial port tool?

Thanks, Seth

© Stack Overflow or respective owner

Related posts about osx

Related posts about serial-port