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)
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)