-
Notifications
You must be signed in to change notification settings - Fork 17
AX25 encoding fixes. #302
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
AX25 encoding fixes. #302
Conversation
|
If anyone can test this with a packet modem, physical or software that would be great. The previous code had the potential of creating invalid UTF-8 sequences which would have resulted in corrupted data. |
|
Add a fix for a newly discovered fix for potential packet drop issue. |
|
Added changes entries. |
Github user dscp46 F4HOF discovered a potential data corruption in AX25 frame encoding and the control byte. In Python3, you can not to some bit manipulations on the str data type as that has to contain valid Unicode characters. One of the bytes types must be used instead. Github user dscp46 F4H0F discovered an additional character that needs to be Yencoded to prevent packet loss d-rats_in_mobaxterm_install.sh: Reports that newerverions of mobaxterm do not have busybox pre-installed. d_rats/agw.py: d_rats/comm.py: d_rats/wlk.py: Change to use bytes type for properly encoding binary. d_rats/yencode.py: Blacklist additional characters for D-Star and AX-25 packets changes/*: Documentation for bug fixes for News file Others: Spelling and pylint fixes found.
|
Found some more character codes that need to be blacklisted. |
maurizioandreotti
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i seems fine
Github user dscp46 discovered a potential data corruption in AX25 frame encoding and the control byte.
In Python3, you can not to some bit manipulations on the str data type as that has to contain valid Unicode characters. One of the bytes types must be used instead.
d-rats_in_mobaxterm_install.sh:
Reports that newerverions of mobaxterm do not have busybox
pre-installed.
d-rats/agw.py:
d-rats/comm.py:
d-rats/wlk.py:
Change to use bytes type for properly encoding binary.
Others:
Spelling and pylint fixes found.