-
Notifications
You must be signed in to change notification settings - Fork 4
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
DroidStar not receiving Parrot #1239
Comments
I made further advancements that make me believe that in fact the problem is in DroidStar, but, I'm a bit lost with the DMR protocol (or Homebrew for all that matters). BrandMeister servers send a DMRD packet with 55 bytes in size, and this is what DroidStar is expecting, if checks packet size, anything different is disregarded, DMRHub sends a 53 DMRD packet size, hence it isn't picked up by DroidStar and it's discarded. I search for the protocol specification and found this PDF, https://wiki.brandmeister.network/images/5/54/DMRplus_IPSC_Protocol_for_HB_repeater.pdf in that PDF, it's stated that DMRD protocol is in fact of 53byte size like DMRHub is sending, was this updated (the pdf is from 2015) and Brandmeister is using a different one ? (with more data in the end) Or is this Brandmeister breaking protocol, most implementations I saw like MMDVM Host don't care about packet size but only about the header info (20 bytes) + DMR Data (33 bytes) disregarding the rest, or is it different for Hotspots/Repeaters ? |
More to it, Using an MMDVM hotspot connected to DMRHub, if I talk with a radio, the DMRD packet arriving DroidStar from DMRHub has a packet size of 55 bytes! Only Parrot DMRD sends 53 bytes. |
I found the issue. Parrot when replying the recorded conversation removes BER and RSSI, here is a patch fixing that. PR #1242 fixes this issue along with the RadioID user registration check enforce option. |
Hey Jacob,
As per email, I'm opening the issue in github. I made a few more tests, and using an MMDVM hat connected to DMRHub and a radio, Parrot is working, I do get some messages stating that parrot took a long time, but still, I hear everything from start to finish, but using DroidStar It acknowledges the reception and Parrot replies back (as per LastHeard in the web) but nothing is shown in DroidStar (or heard).
Anyway, I'd like to further investigate to figure out what's the problem, and it seems I only get debug messages from the web interface, I'm using these options
After the regular startup messages (and gin debug) this is the log I get
The first invalid packet length: 0 happens when droidstar connects (but not always), then I sent a 3 second message to Parrot TG (Group call), web interface shows up Parrot replying and the message on log stating Parrot took too long show up, nothing happends in DroidStar, neither a notification that a call is being received nor audio, then, invalid RPTCL happened when DroidStar disconnected.
Now, I'm very inclined this is a DroidStar issue, but I need to have more debug detail, anyway of increasing debug detail ? Or Where can I add it (point me to the right file please!!! :P).
P.S. I'll clean this up and submit a PR later when I have some time about the RadioID ID check bypass.
P.P.S Running latest tagged version, 1.0.65
The text was updated successfully, but these errors were encountered: