So in your case:
\xFE\x03\xC8\x14\x0A\xE9
Jarrod
--
You received this message because you are subscribed to the Google Groups "CommandFusion" group.
To post to this group, send email to comman...@googlegroups.com.
To unsubscribe from this group, send email to commandfusion+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/commandfusion?hl=en.
The command would be this way?
"sendir,1:1,1,37000,1,1,\xFE\x03\xC8\x14\x0A\xE9\x0D"
tks.
2011/9/13 Jarrod Bell <jar...@guilink.com>
http://www.commandfusion.com/wiki/index.php?title=GuiDesigner:Entering_Hex_Data
So in your case:
\xFE\x03\xC8\x14\x0A\xE9
Jarrod
On 13/09/11 10:45 PM, Paul wrote:
I can send hex commands fine using the Global Cache iTest app. What
is the exact syntax for sending the following using iViewer:
FE 03 C8 14 0A E9
--
You received this message because you are subscribed to the Google Groups "CommandFusion" group.
To post to this group, send email to comman...@googlegroups.com.
To unsubscribe from this group, send email to commandfusio...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "CommandFusion" group.
To post to this group, send email to comman...@googlegroups.com.
To unsubscribe from this group, send email to commandfusio...@googlegroups.com.
What do you mean by conversion to the command fusion format. HEX is HEX . The question is how do you represent it. You do realize that for IR you need to send a GC some prefix info, but IIRC for serial just the actual bytes where each byte is a decimal integer in the range 0-255. HEX notation is just a convenient way to represent a number in the range 0-255 using base 16 notation. The issue becomes how you tell whatever is looking at your strings that you are providing a HEX representation and not a decimal one and not ASCII characters that might look like numbers in HEX notation. Some systems actually want HEX numbers as ASCII characters but not many. One standard convention is \xNN. Another one is $Hnnnnnn. CF uses the \xNN and that is what Javascript uses. The \ means funny stuff coming (an escape sequence) the next character tells which escape sequence. Common values of this second character are x, r, n, u, \. The x says "the next two characters of the four character escape sequence are in HEX notation. Convert them to a single byte having the equivalent integer value in the range 0-255. \r == \x0D, \n==\x0A and are just notations to save two characters of space for common sequences. I am not sure if CF accepts \r and/or \n in strings.
I must of written this diatribe a dozen times on various BBS's dealing with remote control.