Closed K4KDR closed 7 years ago
Thanks for the feedback and details! I'll test tomorrow and see if I can reproduce the issue.
Resolved. It was due to a typo: 'BatteryTemperature' was written as 'BatteryTempertre' in the color coding of telemetry, which caused the code to crash, which also automatically closes sockets.
Using the following version: "Latest commit 62a2c59 15 hours ago More telemetry points decoded and displayed but not yet tested":
Environment: Ubuntu 16.04 (64-bit) Command run: python minxss_beacon_decoder.py
When replaying a previously recorded IQ file to test latest version of decoder app, the TCP link disconnects after a single packet decode. Previously, the app continued to decode all received packets until closed by user command. Log file follows:
2017-03-12 13:25:21,283 INFO Attempting to connect to port 2017-03-12 13:25:21,283 INFO Attempting to connect to port 2017-03-12 13:25:21,285 INFO Opening IP address: 192.168.2.114 on port: 8100 2017-03-12 13:25:21,285 INFO Opening IP address: 192.168.2.114 on port: 8100 2017-03-12 13:25:32,778 INFO From MinXSS parser: 2017-03-12 13:25:32,778 INFO From MinXSS parser: 2017-03-12 13:25:32,778 INFO {'BatteryVoltage': 7.282930631332814, 'EpsBoardTemperature': 13.375, 'SolarArray+YCurrent': 0.0, 'SolarArray+YVoltage': 0.119970703125, 'BatteryTemperature': 13.086979999999983, 'SolarArray-YCurrent': 0.0, 'SolarArray+XCurrent': 0.0, 'MotherboardTemperature': 3.6875, 'BatteryChargeCurrent': 5.979199999999999, 'BatteryDischargeCurrent': 720.896, 'SolarArray+XVoltage': 0.135966796875, 'CommBoardTemperature': 6.4375, 'SolarArray-YVoltage': 0.135966796875} 2017-03-12 13:25:32,778 INFO {'BatteryVoltage': 7.282930631332814, 'EpsBoardTemperature': 13.375, 'SolarArray+YCurrent': 0.0, 'SolarArray+YVoltage': 0.119970703125, 'BatteryTemperature': 13.086979999999983, 'SolarArray-YCurrent': 0.0, 'SolarArray+XCurrent': 0.0, 'MotherboardTemperature': 3.6875, 'BatteryChargeCurrent': 5.979199999999999, 'BatteryDischargeCurrent': 720.896, 'SolarArray+XVoltage': 0.135966796875, 'CommBoardTemperature': 6.4375, 'SolarArray-YVoltage': 0.135966796875} 2017-03-12 13:25:32,793 INFO Closing ground station link 2017-03-12 13:25:32,793 INFO Closing ground station link