Skip to content

Ensure correct endianness for pprzlink #78

@podhrmic

Description

@podhrmic

Based on my talk with @gautierhattenberger

pprzlink uses the host byte order, which is typically little endian for most autopilots. Conveniently, most computers are little-endian these days, so it works out. However, it would be good to ensure that the byte order is the same for both parties, or even better switch to network byte order for pprzlink to make this universal.

Possible solution: add hton*()/ntoh*() shims to the generated code.

I might get to this later in the year, hence assigning to myself.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions