Here's two packets:
Code: Select all
0x7e 0xfd 0x04 0x0b 0x5e 0x5e 0x13 0x19 0x1b 0x7b 0x7e
Code: Select all
0x7e 0xfd 0x06 0x0c 0x16 0x5e 0x1b 0x7C 0x0d 0x5e 0x7e
So the command is 0x1b and the value is 0xD07 (decimal 3452) and everything's clear.
But what about this first packet? I can tell that first packet sends command of 0x13 (latitude value before decimal separator) and it should send value of 0x1619 (decimal 5657). I can see that this values low byte (0x19) is located in first packet but somehow high byte (0x16) is sent via second packet... What's the trick? What about those two 0x5e in first packet? How's everything connected, I just don't get it. Protocol's description in FrSky-rc.com tells nothing about this: http://www.frsky-rc.com/uploadfile/2010 ... 837352.pdf
I'm stuck, please help me.