Skip to content

Issue when using p2p encryption on the ground unit #24

@yung-louis

Description

@yung-louis

Hey, found an issue when using p2p encryption the ground unit doesn't parse the message correctly.

I was able to debug it by looking at the code of the firmware of the air unit and ground unit.

In the main.py for the ground unit line 540 the struct.unpack pattern should be <IIB16s not >IIB16s.

Then the second issue is the vb_version is parsing as 80 when it should be 5, I'm not sure of a correct resolution to this so I have just updated the main.py on mine so that line 557 checks if vb_version is 80 instead of 5.

Anyway it's working for me now but thought I would share this with you so you can resolve it for others.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions