ge0rg / aprsdroid

APRSdroid - Geo-Location for Radio Amateurs
https://aprsdroid.org/
GNU General Public License v2.0
514 stars 100 forks source link

KISS: FEND/FESC are not escaped in writePacket() #343

Open pepefrog1234 opened 1 year ago

pepefrog1234 commented 1 year ago

Hi I am BX4ACP and your software is very good. But I'm having a problem with it recently. I want to use it with the software KISS TNC called VARA (through TCP connection), but after the connection is successful, sending the packet will cause the VARA program to crash. After researching with the author of VARA, I found that the problem is caused by the APP not starting with "C0" when sending kiss packets. Screenshot_2023-02-20-08-38-37-042-edit_com google android gm

ge0rg commented 1 year ago

Hi, thanks for the feedback. The packets do start with 0xC0 indeed, as can be seen in the writePacket() function, however it looks like I actually lack the escaping mechanism that Jose mentions. So this is a bug in APRSdroid indeed.

pepefrog1234 commented 1 year ago

Thank you for your reply. This bug will probably be fixed when?

BX4ACP