Hi, I've been using Perl for some years for CGI and general data manipulation but now I suddenly find that I need to do some RS232 comms.
I am trying to communicate with an auto engine management computer (Greddy Emanage).
I've found some examples using Win32::SerialPort on this board (thanks) and that all seems OK. I have sniffed the traffic between the OEM client and the hardware and I get Hex data as expected but also lots of “IOCTL_SERIAL_GET_COMMSTATUS” and “IOCTL_SERIAL_GET_MODEMSTATUS” etc. I can work out the data that I want to receive and transmit but I have no idea about the comms management in RS232.
Can anyone point me to a simple tutorial in RS232 that will give me the info I need to communicate in RS232 using Perl? Thanks.
I am trying to communicate with an auto engine management computer (Greddy Emanage).
I've found some examples using Win32::SerialPort on this board (thanks) and that all seems OK. I have sniffed the traffic between the OEM client and the hardware and I get Hex data as expected but also lots of “IOCTL_SERIAL_GET_COMMSTATUS” and “IOCTL_SERIAL_GET_MODEMSTATUS” etc. I can work out the data that I want to receive and transmit but I have no idea about the comms management in RS232.
Can anyone point me to a simple tutorial in RS232 that will give me the info I need to communicate in RS232 using Perl? Thanks.