Commit graph

2631 commits

Author SHA1 Message Date
Tim Stewart
8874d1262b Detect DV Fast Data on a per-frame basis
This commit adds a maybeFixupVoiceFrame() function that is used by
both the RF and Net code to manage FEC regeneration and DTMF blanking
in voice frames.

The presence of Fast Data is discovered by reading the mini-header in
every second data frame.  If found, FEC regeneration and DTMF blanking
are disabled for the current and next voice frames.

An exception is voice frames that have a sync frame instead of a data
frame.  This commit always disables FEC regeneration and DTMF blanking
for these frames.  A later commit will add support for these frames by
setting aside the voice frame until the next data frame can be read.

This commit also includes a number of debugging statements that will
be removed in a later commit.
2020-11-29 16:12:58 -05:00
Tim Stewart
8656aaedaa Add back desired changes that were reverted 2020-11-27 18:36:39 -05:00
Tim Stewart
1fd1a4f6d1 Revert "First attempt at detecting D-Star data frames, Kenwood and Icom."
This reverts commit 3362e29b62.
2020-11-27 18:01:02 -05:00
Tim Stewart
7aabb96351 Revert "Fix a bug and add a second Icom D-Star fast data mode identifier."
This reverts commit 18398efe97.
2020-11-27 17:51:22 -05:00
Tim Stewart
821db7910a Revert "Regenerate the data mode markers."
This reverts commit 54fbacb487.
2020-11-27 17:51:06 -05:00
Tim Stewart
4f0f0fea66 Revert "Don't insert silence on lost D-Star fast data."
This reverts commit 1bd814a079.
2020-11-27 17:50:47 -05:00
Tim Stewart
b8ae0febb0 Revert "New way to detect D-Star fast data mode."
This reverts commit a9b7179d13.
2020-11-27 17:47:51 -05:00
Tim Stewart
2d2b736c54 Revert "Don't forget to descramble the byte first."
This reverts commit 16bf9d5745.
2020-11-27 17:47:24 -05:00
Tim Stewart
449ca905ee Revert "Place the scrambled null data regeneration into the right place."
This reverts commit 59cb07329d.
2020-11-27 17:47:04 -05:00
Tim Stewart
fcad5ee0d2 Revert "Only test the slow data type in the correct place."
This reverts commit ff0082b18b.
2020-11-27 17:46:19 -05:00
Tim Stewart
bbbfbbbfad Revert "Simplify the D-Star sequence number processing."
This reverts commit 99d4a9bc51.
2020-11-27 17:45:19 -05:00
Tim Stewart
7ea37fc5e9 Revert "Fix the silence insertion for D-Star."
This reverts commit 9cc2bfaaec.
2020-11-27 17:44:33 -05:00
Tim Stewart
c94f4f5d4a Revert "Check the guard byte on fast data as well as the mini header."
This reverts commit 317bda0177.
2020-11-27 17:14:31 -05:00
Tim Stewart
a87449bf51 Revert "Loosen fast data admission criteria."
This reverts commit 6d719353c6.
2020-11-27 17:14:10 -05:00
Tim Stewart
59b8b5d623 Revert "Remove redundant code."
This reverts commit f88c9826a7.
2020-11-27 17:13:57 -05:00
Tim Stewart
da92771afa Revert "Remove more redundant code."
This reverts commit c3c5fe1a5a.
2020-11-27 17:13:37 -05:00
Jonathan Naylor
ef9fedcc01 Fix the logging messages for late entry. 2020-11-26 14:25:45 +00:00
Jonathan Naylor
ec80e9553a Fully implement the latest M17 specification. 2020-11-26 13:47:47 +00:00
Jonathan Naylor
67b93d6310 Partial work supporting the latest M17 specification. 2020-11-26 11:30:16 +00:00
Jonathan Naylor
8d31808ae8 Increase serial port speed to 460800. 2020-11-24 16:24:32 +00:00
Jonathan Naylor
3968786044 Merge branch 'master' into M17_AX25_FM 2020-11-24 09:27:30 +00:00
Jonathan Naylor
1b0caaae23 Update README.md 2020-11-24 09:27:01 +00:00
Jonathan Naylor
8e857edda2 Merge branch 'M17_AX25_FM' of https://github.com/g4klx/MMDVMHost into M17_AX25_FM 2020-11-16 16:58:33 +00:00
Jonathan Naylor
43733df7a4 Add M17 to the OLED display, even though it does say NXDN! 2020-11-16 16:56:36 +00:00
Jonathan Naylor
302a23b6e6 Add M17 to the OLED display. 2020-11-13 16:01:46 +00:00
Jonathan Naylor
2618a14ae5 Handle returned modem serial data properly. 2020-11-13 14:56:39 +00:00
Jonathan Naylor
a98f65e3aa Rename the modem data type MMDVM_SERIAL to MMDVM_SERIAL_DATA to match
the modem.
2020-11-13 12:10:41 +00:00
Jonathan Naylor
021c0fea4d Fix M17 bug spotted by nostar. 2020-11-13 09:24:37 +00:00
Jonathan Naylor
bb5e20538d Change the M17 logging slightly. 2020-11-11 18:35:52 +00:00
Jonathan Naylor
c1bb4c825e Change M17 enable bit position. 2020-11-11 11:47:46 +00:00
Jonathan Naylor
644351db4f Merge branch 'master' into M17_AX25_FM 2020-11-11 11:43:59 +00:00
Jonathan Naylor
c800a4d369
Merge pull request #652 from ct1jib/patch-1
Update MMDVM.ini
2020-11-11 09:20:41 +00:00
Jonathan Naylor
ffe0fd0cbb Change the M17 enable bit position for version 1 protocol. 2020-11-10 16:58:03 +00:00
Jonathan Naylor
067c1039d1 Merge branch 'M17_AX25_FM' of https://github.com/g4klx/MMDVMHost into M17_AX25_FM 2020-11-10 13:51:03 +00:00
Jonathan Naylor
8c65b1c1d9 Remove the out of date ISSUES.txt 2020-11-10 13:50:30 +00:00
Jonathan Naylor
a4ba00f567 Small cleanups. 2020-11-10 11:45:13 +00:00
Jonathan Naylor
eece693f05 Remove support for the Hobbytronics TFT display. 2020-11-10 10:08:59 +00:00
Jonathan Naylor
dbd779a6d3 Fix obvious crash issue. 2020-11-10 10:01:05 +00:00
Jonathan Naylor
f89145b772 Remove support for the UMP (sob). 2020-11-10 09:58:10 +00:00
Jonathan Naylor
f1dda251c3 Display the modes in the log more nicely. 2020-11-10 09:40:54 +00:00
Jonathan Naylor
3d489096cd Add the modem capabilities decoding. 2020-11-09 16:23:33 +00:00
Jonathan Naylor
304143d4a6 Handle protocol versions 1 and 2. 2020-11-09 14:22:43 +00:00
Jonathan Naylor
827a0cb72f Allow the FM Network code to build on Windows. 2020-11-09 12:17:06 +00:00
Jonathan Naylor
d1942fcb43 Merge branch 'master' into M17_AX25_FM 2020-11-09 12:05:18 +00:00
Andy CA6JAU
a42e8f74c1 Add ID for SkyBridge HS board 2020-11-08 18:46:19 -03:00
Jonathan Naylor
a57397e274 Merge branch 'AX25_FM' into M17_AX25_FM 2020-11-06 15:43:12 +00:00
Jonathan Naylor
d8677b4028 Merge branch 'M17' into M17_AX25_FM 2020-11-06 11:37:33 +00:00
Jorge (George)
54413e0891
Update MMDVM.ini
Change address of DMR Network stanza
2020-11-06 10:52:34 +00:00
Jonathan Naylor
18c8b95829 Convert M17 to use the new M17 Gateway. 2020-11-01 16:07:36 +00:00
Jonathan Naylor
72654cf02a Fix missing Log.h handling in UDPSocket.cpp 2020-10-31 22:08:38 +00:00