Skip to content

Byte Swapping #4

@pasetti

Description

@pasetti

The CORDET Editor has a "byte swap flag" in the configuration of the Packet Code Generator. If the flag is set, then the packet accessor functions perform a byte swap. As long as data in a packet is accessed using the packet accessor functions, consistency is preserved. There are however two problems here:

(1) The packet accessor functions defined at framework level in CrFwPckt.h do not have a "byte swap flag"

(2) The function CrPsHkConfigUpdateRep which updates the data part of a HK Report calls function getDpValueEx to perform a memcpy from the data pool to the packet and therefore it does not take account of byte ordering.

Metadata

Metadata

Assignees

No one assigned

    Labels

    UMUser Manual

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions