Update to Python UART Gateway Script

31 views
Skip to first unread message

Phil

unread,
Jan 21, 2015, 7:07:32 AM1/21/15
to ukha...@googlegroups.com
Hi all,

Welcome to the list!

I've just pushed a small change to the Python UART Gateway script, this strips null bytes from the UART input, and avoids the fatal 'DB Query Error' messages intermittently seen on ukhas.net upload attempts.

- params = {'origin': gateway_callsign, 'data': line}
+ params = {'origin': gateway_callsign, 'data': line.replace('\x00', '')}


Regards,
Phil
Reply all
Reply to author
Forward
0 new messages