Open havefunworkhard opened 8 years ago
I been waiting 3 moths for a pull request to be merge or rejected :(
@foXes68 Let's make the project alive again. I've merged all the fixes including yours here: https://github.com/babca/python-gsmmodem
please check it out and do a pull request there if you found any bugs.
Seems like
self.serial.read(1)
inserial_comms.py
returns bytes in Python 3.x. But code expects strings and compares returned value with strings likeRX_EOL_SEQ = '\r\n'
or ''. The comparison result will always beFalse
. In this caseSerialComms
will never_handleLineRead
andTimeoutException
will be raised.