ampledata / kiss

A pure-Python implementation of the KISS Protocol for communicating with serial TNC devices for use with Amateur Radio.
Other
84 stars 35 forks source link

Logging and socket read on close - fixed #18

Closed Enrico204 closed 7 years ago

Enrico204 commented 7 years ago

I've fixed two bugs:

kleewyck commented 7 years ago

Has anyone tried this code with what I suspect is compressed information? I have a TNC on a Beaglebone black which I'm trying to use to get data from my Yeasu FT2D no matter what I send it's garbled. But if I send A message I actually get the message: BOO

2016-11-07 19:03:50,750 DEBUG kiss.classes.read:148 - len_fend=2 2016-11-07 19:03:50,766 DEBUG kiss.classes.read:148 - len_fend=2 2016-11-07 19:03:50,771 DEBUG kiss.classes.read:179 - frame=???d???r?????b@b????d@c?:KC9ZMY-9 :boo{07 string index out of range Error decoding frame: ???d???r?????b@b????d@c?:KC9ZMY-9 :boo{07

I'm thinking I need to decompress the data. Could someone give me an idea as to whether that's the case?

Don..

ampledata commented 7 years ago

@kleewyck Although what you're seeing is unrelated to the issue @Enrico204 opened here, I'll try to give you a hand. Can you email the code you're trying to use to oss@undef.net?

Thanks!