iostream212
Active Member
Hello,
I am new to Elk and was trying to get some custom ASCII commands programmed but was running into some issues. Hopefully one of the Elk veterans out there can set me strait.
I have a TV that is controlled via rs232. The TV is connected to my LAN via a Global Cache GC-100-12. My Elk has been setup with a telephone reporting format of '6= Ethernet M1XEP.' The M1XEP has a Central Station IP address that I set to the address and port of my GC-100-12.
In this example the rs232 command for 'TV On' is hexadecimal '020800000000D6'.
I have constructed the following text in Elk: 00AP1^H"^@^@^@^@Ö^M
00 = Elk packet header
AP = Message type as per protocol
1 = Central Station IP to report to
What follows is my hexadecimal command that I converted to ASCII.
^M = End of packet carriage return.
This has not been working and I am wondering where I went wrong. Do I need to add the checksum to the end of the packet? Also should I not convert my hexadecimal command to ASCII?
Thank you all in advanced!
I am new to Elk and was trying to get some custom ASCII commands programmed but was running into some issues. Hopefully one of the Elk veterans out there can set me strait.
I have a TV that is controlled via rs232. The TV is connected to my LAN via a Global Cache GC-100-12. My Elk has been setup with a telephone reporting format of '6= Ethernet M1XEP.' The M1XEP has a Central Station IP address that I set to the address and port of my GC-100-12.
In this example the rs232 command for 'TV On' is hexadecimal '020800000000D6'.
I have constructed the following text in Elk: 00AP1^H"^@^@^@^@Ö^M
00 = Elk packet header
AP = Message type as per protocol
1 = Central Station IP to report to
What follows is my hexadecimal command that I converted to ASCII.
^M = End of packet carriage return.
This has not been working and I am wondering where I went wrong. Do I need to add the checksum to the end of the packet? Also should I not convert my hexadecimal command to ASCII?
Thank you all in advanced!