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

[BUG] Messanger: Constant ERROR: INVALID PACKET flood. #106

Closed
T1MOXA opened this issue Jan 28, 2024 · 8 comments
Closed

[BUG] Messanger: Constant ERROR: INVALID PACKET flood. #106

T1MOXA opened this issue Jan 28, 2024 · 8 comments
Labels
bug Something isn't working

Comments

@T1MOXA
Copy link

T1MOXA commented Jan 28, 2024

Describe the bug
When sending a message in messenger after receiving the message, it starts flooding with errors.

To Reproduce
Steps to reproduce the behavior:

  1. Prepare two radios on the same frequency and same encryption key.
  2. Go to messenger.
  3. Type message.
  4. Send message.
  5. See error.

Expected behavior
There should be no error messages.

Pictures/video
https://github.com/kamilsss655/uv-k5-firmware-custom/assets/19938629/c5fda6e1-f9c9-46d6-941b-a29f05830603

Details:

  • Firmware version: v20
  • Bandwidth: 12.5K
  • Power: L
  • RxAGC: SLOW
  • Gain settings (LNAs/LNA/PGA): ?
  • other: Encryption key 0123456789
@T1MOXA T1MOXA added the bug Something isn't working label Jan 28, 2024
@kamilsss655
Copy link
Owner

Nice report!

There are 2 issues here:

  1. The firmware has a bug where it ACKs the invalid packets, when it should only ACK valid ones.
  2. You're receiving invalid packets because either/or:
    • your radios are too close to each other
    • your non-standard antennas affect the signal
    • your bandwidth is too narrow

@T1MOXA
Copy link
Author

T1MOXA commented Jan 28, 2024

  1. I've tested 25k bandwidth with no luck.
    Antenas have good SWR on selected frequency but I'il try the stock one.
    And on video I've tried move radio for about 1 meter away.

@T1MOXA
Copy link
Author

T1MOXA commented Jan 29, 2024

UPD.
The same problem with stock antennas, BW 25k and distance between radios about 10 meters.

@kamilsss655
Copy link
Owner

Interesting, I tried reproducing it but I couldn't make it send invalid packet.

Can someone else confirm this?

@MrHoerby
Copy link

Ich hatte das auch gestern bei zwei Aussendungen, aber ich hatte beide Geräte in den Händen und die Bandbreite auf 5 kHz eingestellt. Leider ist die Schrift im Messenger zu klein und ich habe dann lieber die DTMF-Sachen im Makefile aktiviert.

@T1MOXA
Copy link
Author

T1MOXA commented Jan 29, 2024

Looks like I found the cause.
It's in ROGER = MDC (39 Parameter in the menu)
With ROGER = Roger || ROGER = OFF, error gone.

T1MOXA pushed a commit to T1MOXA/uv-k5-firmware-custom that referenced this issue Jan 29, 2024
@kamilsss655
Copy link
Owner

Awesome! I am glad you figured it out.

@kamilsss655
Copy link
Owner

I see you submitted a PR. Awesome! 🎉

I will review it tomorrow.

VA7FGT pushed a commit to VA7FGT/uv-k5-firmware-custom that referenced this issue Apr 16, 2024
VA7FGT pushed a commit to VA7FGT/uv-k5-firmware-custom that referenced this issue Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants