Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apci.pack bug #16

Open
MaxXor opened this issue Nov 5, 2018 · 0 comments
Open

apci.pack bug #16

MaxXor opened this issue Nov 5, 2018 · 0 comments

Comments

@MaxXor
Copy link
Contributor

MaxXor commented Nov 5, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant