Skip to content

apci.pack bug #16

@MaxXor

Description

@MaxXor

Currently when executing the following, the result is wrong.

a = Apci(apci_type='A_GroupValue_Write', apci_data=3198)
print(a.pack())

Actual output: FE
Expected output: 800C7E

For small values like apci_data=1 it's working correctly and outputs 81.

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