FreeDATA icon indicating copy to clipboard operation
FreeDATA copied to clipboard

[Bug]: ping ACK contains no callsign

Open dk5sm opened this issue 1 year ago • 3 comments

FreeDATA Version

current dev version (0.15.9-alpha)

What operating system are you using?

Ubuntu

Operating System Version

22.04

Architecture

x86

Area of problem

Server - Message System

Describe the bug

image

2024-05-21 11:23:08 [debug ] Event: ev={'type': 'frame-handler', 'received': 'PING_ACK', 'timestamp': 1716283388, 'mycallsign': 'DK5SM', 'myssid': 1, 'snr': '-5', 'dxcallsign': None, 'gridsquare': 'JN48EA', 'distance_kilometers': 366.5984079156632, 'distance_miles': 227.79361932496354}

A ping to a dedicated station returns with dxcallsign = None instead of reporting the IRS cs.

To Reproduce

-> Ping

Expected behavior

ACK should contain IRS' callsign.

Screenshots

No response

Log Files

No response

Additional context

No response

dk5sm avatar May 21 '24 09:05 dk5sm

Todo: None is returned if the checksum isnt in callsign database, therefore we have to check if it is existing, if not, do it

  • message_system_db_station.py --> add station if not exists
  • sending a Ping: --> add station callsign to database for storing the checksum

DJ2LS avatar Jul 27 '24 05:07 DJ2LS

fixed :-)

DJ2LS avatar Sep 13 '24 18:09 DJ2LS

We should save the ping and QRM related data as well

DJ2LS avatar Sep 13 '24 19:09 DJ2LS

What's the state of this one, @dk5sm , did we fix it?

DJ2LS avatar Sep 21 '24 06:09 DJ2LS

Uuh, sorry for missing feedback. I guess this must have been solved a while ago, as I haven't noticed it for a long time. -> Close.

dk5sm avatar Sep 21 '24 07:09 dk5sm

Just discovered this today

2024-09-21 15:19:27 [debug ] Event: ev={'type': 'frame-handler', 'received': 'QRV', 'timestamp': 1726924767, 'mycallsign': 'LA3QMA', 'myssid': 1, 'snr': '0', 'dxcallsign': 'OH3UQ-1', 'gridsquare': 'KP20SX', 'distance_kilometers': 1093.4742138029906, 'distance_miles': 679.453165704978} 2024-09-21 15:19:33 [debug ] Event: ev={'type': 'frame-handler', 'received': 'QRV', 'timestamp': 1726924773, 'mycallsign': 'LA3QMA', 'myssid': 1, 'snr': '-7', 'dxcallsign': 'OH3UQ-1', 'gridsquare': 'KP20SX', 'distance_kilometers': 1093.4742138029906, 'distance_miles': 679.453165704978} 2024-09-21 15:38:59 [debug ] Event: ev={'type': 'frame-handler', 'received': 'PING_ACK', 'timestamp': 1726925939, 'mycallsign': 'LA3QMA', 'myssid': 1, 'snr': '1', 'dxcallsign': None, 'gridsquare': 'KP20SX', 'distance_kilometers': 1093.4742138029906, 'distance_miles': 679.453165704978} 2024-09-21 15:42:38 [debug ] Event: ev={'type': 'frame-handler', 'received': 'PING_ACK', 'timestamp': 1726926158, 'mycallsign': 'LA3QMA', 'myssid': 1, 'snr': '0', 'dxcallsign': None, 'gridsquare': 'KP20SX', 'distance_kilometers': 1093.4742138029906, 'distance_miles': 679.453165704978} 2024-09-21 15:44:46 [debug ] Event: ev={'type': 'frame-handler', 'received': 'QRV', 'timestamp': 1726926286, 'mycallsign': 'LA3QMA', 'myssid': 1, 'snr': '3', 'dxcallsign': 'OH3UQ-1', 'gridsquare': 'KP20SX', 'distance_kilometers': 1093.4742138029906, 'distance_miles': 679.453165704978} Screenshot from 2024-09-21 16-13-13

LA3QMA avatar Sep 21 '24 14:09 LA3QMA