Conversation
|
hi, The current state breaks slow data decoding and as a matter of fact late RF entry, cannot be merged as is... Working on a fix... |
Hi Geoffrey, The D-Star specification describes a lost frame as the magic value: Any frame that matches that value shall be ignored in the slow/fast data processing pipeline. However, in section 6.2 (Simple data communication), the standard mandates to escape a few characters, such that the pattern
The way section 6.2 has been written is fragile, since the banned values are a mix of scrambled and unscrambled values: to avoid the appearance of those values, one should ban at least one of the following: That's one condition I also have yet to handle in my DV Packet Service Gateway. Best regards, |
|
As seen together tonight with @F4FXL, we might have a way to reduce DV Fast data false positives on weak/garbled signals: In a fast data block, the mitigation byte ("軽減" in the standard, at the center of the 9 byte voice frame) is supposed to be set to With a check for both those bytes on top of the miniheader, the probability of a false positive, in a garbled frame, would drop from 11% to 6.7ppm, give or take, if my figures are right. |
|
I've merged it with the new MQTT enabled MMDVM Host, I hope I didn't break anything. Is there a need to add re-initialisation code to writeEndRF() and writeEndNet() to stop memory leaks and/or ensure that the variables are in a sane state for the next incoming transmission? |
|
As @dscp46 mentionned there is still the case on noisy transmission that voice data gets falsely interpreted as fast data. I'll try to implement the mitigation byte recognition to avoid false positive. I might move these to a separate class to handle it. If the transmission does not stop before the second frame is received, then there will be no memory leak, yet you are right cleaning m_RFdataLookBack and m_NetdataLookBack writeEndRF() and writeEndNet() might be more secure. |
Hi Jonathan,
As posted here this is what @dscp46 and me have been working on in the last days.
It has been tested on 3 repeaters with various MMDVM Firmware version (one even running a 5 years old firmware) without any issue either in voice or data communications.
This shall solve #470
73
Geoffrey @F4FXL
Célestine F4HOF @dscp46