Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Direwolf v1.6 truncates Source SSID when IS to TX #408

Open
joshbradfield opened this issue Jul 2, 2022 · 2 comments
Open

Direwolf v1.6 truncates Source SSID when IS to TX #408

joshbradfield opened this issue Jul 2, 2022 · 2 comments
Assignees
Labels

Comments

@joshbradfield
Copy link

When forwarding from the internet (IG) to radio (TX), any text following a hyphen "-" in the "source" call sign is dropped.
e.g. WHO-IS becomes WHO

Steps to reproduce:

  1. Setup direwolf as an RX/TX IGATE
  2. From a message capable APRS device emit a beacon (so direwolf knows the device is in range)
  3. From the same device emit a "WHO-IS" request/message

Expected Result

  • Message ACK is returned to originator via RF, the source station should be "WHO-IS"
  • WHO-IS response is returned to originator via RF, the source station should be "WHO-IS"

Actual Result

  • Message ACK and Response is returned to originator via RF, but the "Source" station is incorrect (truncated) "WHO" instead of "WHO-IS"

Example

WHO-IS request sent from ZL1JSH-9 via ZL1JSH-10,

[ig>tx] WHO-IS>APJIW4,TCPIP*,qAC,AE5PL-JF::ZL1JSH-9 :Charles Beadfield/New Zealand{583
mheard_save_is: WHO - update time, was 1656771162 seconds ago.
callsign  cnt chan hops    RF      IS    lat     long  msp
WHO         7   0   0      -      0:00     -       -    1
ZL1JSH-9   10   0   0     0:00     -    -36.79  174.76  0
ZL1NL-3     6   0   0     0:03     -    -36.84  174.77  0
ZL1JSH      2   0   0      -      0:16     -       -    1
Was message addressee ZL1JSH-9 heard in the past 60 minutes, with 1 or fewer digipeater hops?
Yes, ZL1JSH-9 last heard over radio 0 minutes ago, 0 digipeater hops.
Was message source WHO heard in the past 1 minutes, with 0 or fewer digipeater hops?
No, we have not heard WHO over the radio.
MSP for WHO set to 1
[0L] ZL1JSH-10>APDW16,WIDE1-1:}WHO>APJIW4,TCPIP,ZL1JSH-10*::ZL1JSH-9 :ack5
[0L] ZL1JSH-10>APDW16,WIDE1-1:}WHO>APJIW4,TCPIP,ZL1JSH-10*::ZL1JSH-9 :Charles Beadfield/New Zealand{583
@wb2osz wb2osz self-assigned this Jul 4, 2022
@wb2osz wb2osz added the bug label Jul 4, 2022
@wb2osz
Copy link
Owner

wb2osz commented Jul 4, 2022

Thank you for reporting this problem.
The code was written, expecting only a numeric SSID.
This is an unusual, but perfectly valid case.
The message addressee, and therefore the sender of a reply, does not have the same restriction as the AX.25 addresses.

@joshbradfield
Copy link
Author

joshbradfield commented Jul 4, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants