Skip to content

Search for Undefined YSF Host (Use WiresX, connect to a reflector by ID, use 00000) and YSFGateway will segfault. #330

Description

@MW0MWZ

Raising this as an issue, so that I have some space to open discussion about it, along with some additional changes.

First, crash on searching for non existent YSF reflector. Simple fix, tiny issue crept in with the move from $NULL to nullptr.

While working on this, I was also trying to brute force the WiresX "frame type" field, in the hope I could find the magic to swap it to VW... still a nope on that, but what I did find was actually handy and lead to a new WiresX feature - now when you search for a room that does not exist, you get an immediate "Offline" message back to the radio rather than a time-out, better UX, this is very much like other replies with the "frame type" set differently - I'm calling it that, it's an un-documented protocol, feel free to give it a name that suits. Added comments around that so that you can see the intent etc.

Changes to variable names / small comments around WiresX logic to help anyone that is trying to read it, understand what it is doing / supposed to do, some of this is work I had done in the past, and I hope this makes more sense.

Improved the auto-detection of XLX hosts for WiresX passthrough, based on the new naming standardisation going on from DVRef.

Things I would love to fix, but are out of my abilities right now;
We can choose to act on WiresX commands or not, but either way they get forwarded to the network, I'd love to be able to choose IF they get forwarded or not.
I'd love to be able to set the user's radio to VW.

If any of you have ideas about either one speak up. (PR incoming for the above that I'll link here)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions