New Model #5809
openAilunce HD1
0%
Description
Please add Support for Ailunce HD1.
Retevis will support you.
Updated by Jonathan Bastien-Filiatrault over 6 years ago
chippy chip wrote:
Please add Support for Ailunce HD1.
Retevis will support you.
I have started work on this yesterday, I have some success in reading channel memory, I currently interpret the channel name, RX and TX frequencies.
Here is the information I have on the read command so far:
Read command
68 31 00 01 06 cf 00 04 80 22 10
68: sync
31: command
00 01: unknown
06: % complete
cf: unknown
00 04: read length
80 22: block address
10: command terminator
The unknown values seem to vary when reading different memory regions.
Is Retevis willing to publish or give access to documentation on the memory map and the serial protocol used ?
Updated by Jonathan Bastien-Filiatrault over 6 years ago
Memory seems to be stored in 1024 byte blocks.
MEM_FORMAT = """
#seekto 0x6F3000;
struct {
u8 unknown1[132];
char name[14];
u8 unknown2[2];
lbcd rxfreq[4];
lbcd txfreq[4];
u8 unknown3[20];
} memory[64];
"""