On Tue, Jun 11, 2013 at 10:12 PM, Chip <cfm@...> wrote:
No - wait - "The Byte Whisperer"...
Tell me when to stop...
- Chip
--- In Crestron@..., "Chip" <cfm@...> wrote:
When I start my own CSP I'm going to have to call it something like "I
Speak Bytes"...
- Chip
--- In Crestron@..., "Andrew" <aalbert@> wrote:
Thanks Chip, the \x00 did the trick.... We have control.
Thank you again,
Andy
--- In Crestron@..., "Chip" <cfm@> wrote:
If the instructions don't explicitly say to add a carriage return
and/or linefeed, then adding it isn't going to help.
If a seven character command for "left" is literally "left---",
("left", followed by three dashes) then the string you should be sending to your TCP/IP Client symbol from an SIO should be "left---\x00"
Don't bother sending anything to the TCP/IP Client symbol *unless*
the analog status output has a value of 2.
- Chip
--- In Crestron@..., "Andrew" <aalbert@> wrote:
Dealing with a device that lists the following as part of their
protocol.
String of 8 characters, 8 bits/character; the 1st 7 characters
describe the function; the last character must be the ASCII "NUL" control character, which has a byte value of 0 i.e. "left---" + NUL or "right--" + NUL
I have setup the TCP/IP client, and see it connecting on the right
port, but when I try sending left---0 or left---00 or either of those followed by \r or \x0A I don't get any response....
Suggestions or guidance greatly appreciated, as I need to go
onsite very shortly.
------------------------------------
Check out the Files area for useful modules, documents, and drivers.
A contact list of Crestron dealers and programmers can be found in the Database area. Yahoo! Groups Links