by billytcherno » Sun 20. May 2012, 12:35
I try to understand of the command, mask... fields at the beginning are really needed or not. A previous post seems to say that they are not important. However,
when sending a command through IR Red, i capture on the network:
0000 00 22 3e 08 07 dd b8 8d 12 08 45 44 08 00 45 00 .">..... ..ED..E.
0010 00 ae 39 f2 00 00 40 11 bd ee c0 a8 00 90 c0 a8 ..9...@. ........
0020 00 7e c5 86 52 08 00 9a 39 b6 c8 00 00 00 00 00 .~..R... 9.......
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........ ........
0040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........ ........
0050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........ ........
0060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 4e 8f ........ ......N.
0070 06 01 ff ff 22 26 03 0b 02 37 00 bd 00 00 00 00 ...."&.. .7......
0080 00 00 00 00 00 00 00 33 04 4b 00 4b 00 00 00 00 .......3 .K.K....
0090 00 00 00 00 00 00 00 00 83 5b 53 31 30 31 30 30 ........ .[S10100
00a0 31 30 31 30 31 30 31 31 30 31 30 30 31 30 31 30 10101011 01001010
00b0 30 30 30 31 30 31 30 31 31 31 31 30 00010101 1110
doing the same command via Asndhex based on the posts in this thread, I send :
Asndhex LD,H4E00000000002226030B023700BD000000000000000000000033044B004B000000000000000000000003835B53313031303031303130313031313031303031303130303030313031303131313130
which is the same apart from the fields in the beginning. I get a RESULT OK back from the transceiver, but nothing happens when I send the Asndhex. IR Red works, obviously.
IRRed however, does not include the number of pulse pair definitions (before the repeats byte), even if captured via the learn mode
([N]3[1]8600 4184[2]600 440[3]600 1512[RC]3[FL]91[FREQ]38[SB][RS][D]S101001010101101001010000101011110 is the format in .rem)
so, are the command/mask/... fields required or not? Am I missing something here ? (this is on the LAN version of the ir transceiver, connected via TCP/IP ) (IRRed does everything via UDP)
Tx for the help