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

Calculating Checksum #17

Open
sankarmanoj opened this issue Feb 15, 2016 · 0 comments
Open

Calculating Checksum #17

sankarmanoj opened this issue Feb 15, 2016 · 0 comments

Comments

@sankarmanoj
Copy link

In line 163, of FPS.py where you calculate the checksum of the packet, you pass packetbytes[0:9]. However in python, when you get the subarray the last element is excluded. I think the checksum you are calculating would be wrong in that case.
It should be changed to chksum = self.CalculateCheckSum(packetbytes[0:10])

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