Commit graph

145 commits

Author SHA1 Message Date
Ed Gonzalez
181e69a97c Remove reset_softcfg from ThumbDV Init since it messes up new ThumbDVs 2015-08-20 14:23:37 -05:00
Ed Gonzalez
2f828cf2ac Handle ThumbDV being unplugged gracefully.
When the ThumbDV is unplugged the serial read thread stops and tries to re-connect. All writes to the serial port also stop.
2015-08-20 14:21:38 -05:00
Ed Gonzalez
09cca8a92d Trigger slice commands on a slice entering DSTR mode instead of D*FM 2015-08-11 11:08:18 -05:00
Ed Gonzalez
d935086b89 Update ThumbDV.cfg to change waveform mode to DSTR 2015-08-11 11:03:50 -05:00
Ed Gonzalez
08b9375fd5 Make companion_call default to CQCQCQ to follow convention 2015-08-10 13:50:27 -05:00
Ed Gonzalez
5c93764a36 Add support for higher speed ThumbDV (460800 Baud) 2015-08-04 15:18:23 -05:00
Ed Gonzalez
76cd75b585 Merge branch 'thumbDV_support' of github.com:n5ac/smartsdr-dsp into thumbDV_support 2015-08-04 14:44:31 -05:00
Ed Gonzalez
88dd1d94e7 When sending commands replace spaces with \u007f 2015-08-04 14:44:18 -05:00
Ed Gonzalez
b34f02c311 Merge branch 'thumbDV_support' of github.com:n5ac/smartsdr-dsp into thumbDV_support 2015-08-04 14:42:12 -05:00
Ed Gonzalez
d82c84e994 Default header with instructional fields added 2015-08-04 14:42:10 -05:00
Ed Gonzalez
7eacc2472e Change status parsing to take into account both rx and tx incoming data 2015-08-04 14:40:02 -05:00
Ed Gonzalez
33e1c96b1f Merge branch 'thumbDV_support' of github.com:n5ac/smartsdr-dsp into thumbDV_support 2015-08-04 14:39:10 -05:00
Ed Gonzalez
12b06958ed Change status update to be specific to tx and rx headers. Add status command to send current state 2015-08-04 14:39:07 -05:00
Ed Gonzalez
ad5ab7d721 Add parsing of waveform status to receive RX information 2015-08-04 14:26:57 -05:00
Ed Gonzalez
95f844e59f Add parsing of input fields for DSTARGui 2015-08-04 13:55:42 -05:00
Ed Gonzalez
b2310cfaee Create controls for DSTAR waveform 2015-08-04 11:55:37 -05:00
Ed Gonzalez
87c3132618 Make header dump more friendly by adding single quotes around string fields to be able to see spaces 2015-08-03 17:11:59 -05:00
Ed Gonzalez
a1c2094429 Sanitize DSTAR header fields more. Automatically insert spaces required when callsigns/rptr do not extend the full 8 characters in header 2015-08-03 17:11:22 -05:00
Ed Gonzalez
3dd58394ce Update GMSK Encode filter for new 24kHz sample rate. Header decode working on ICOM 2015-08-03 14:50:24 -05:00
Ed Gonzalez
f17aaa53d8 Add test function that creates a default outgoing header for TX testing 2015-08-03 14:50:01 -05:00
Ed Gonzalez
bea9eea4a8 Increase drive of gmsk_encode and remove slow data dump 2015-08-03 08:57:02 -05:00
Ed Gonzalez
280051c0ec Fix magic number that should be DSTAR_RADIO_BIT_LENGTH 2015-08-03 08:50:10 -05:00
Ed Gonzalez
dc62823035 Waveform now subscribes to slice status messages and sets parameters when a slice enters the waveform mode 2015-07-30 15:16:02 -05:00
Ed Gonzalez
09440809a6 Spacing and set initial_rx to FALSE regardless of whether we got good decode audio or not 2015-06-22 17:26:44 -05:00
Ed Gonzalez
b171c4b372 Add commands to set various outgoing header fields and add status message that reports incoming header fields 2015-06-22 17:25:59 -05:00
Ed Gonzalez
2ca2373c81 Fix stack smashing when command into console where > 80. maximum allowed is now 511 2015-06-22 17:23:58 -05:00
Ed Gonzalez
9221d5b0b8 Add spaces to slow data output to try to get Icom to decode header. 2015-06-22 11:26:51 -05:00
Ed Gonzalez
f5d4a997f4 Add 4 synchronization bits to header detect to reduce false positives 2015-06-22 11:26:03 -05:00
Ed Gonzalez
8303e3e135 Remove unused variables 2015-06-19 14:30:20 -05:00
Ed Gonzalez
8f6d86be48 Fix RX buffering and begin adding slow data encoding 2015-06-19 14:22:06 -05:00
Ed Gonzalez
b27cdc451a Add more descriptive output to a circular buffer overwrite 2015-06-19 14:21:15 -05:00
Ed Gonzalez
524891c602 Transmit working with NFM TX 2015-06-18 16:07:09 -05:00
Ed Gonzalez
c76d81e448 Header TX working. Requires pre-emphasis on TX 2015-06-17 18:34:15 -05:00
Ed Gonzalez
ea1ce6307e Increase TX4_cb buffer size to be able to hold a full header worth of audio data 2015-06-17 18:21:02 -05:00
Ed Gonzalez
fe678569b4 Transmit of SYNC bits working. Very dirty state 2015-06-17 18:04:43 -05:00
Ed Gonzalez
13d4d64014 Add P_FCS checksum check for incoming header 2015-06-17 11:21:26 -05:00
Ed Gonzalez
5eb520fcce Move header, voice_bits and data_bits into the dstar_machine data structure for future support of multiple instances 2015-06-16 18:14:34 -05:00
Ed Gonzalez
8ab5a053aa Replace some magic numbers with their appropriate macros. 2015-06-16 18:14:06 -05:00
Ed Gonzalez
8cac900b72 Don't use the 64 training bits for detecting the header. Just the synchronization bits and also allow transitioning directly from waiting on sync bits to voice frames if we detect a data_sync frame 2015-06-16 15:32:59 -05:00
Ed Gonzalez
843d734b60 DSTAR Audio decode working. Add ICOM order bits to bytes 2015-06-16 14:49:55 -05:00
Ed Gonzalez
319feb6f0e Add incoming header packet parsing and output 2015-06-12 14:18:10 -05:00
Ed Gonzalez
a2e5110085 CID12151 - Fix passing byte as array 2015-06-12 11:24:58 -05:00
Ed Gonzalez
eda34ee255 CID12153 - Make sure we get a correct serial descriptor on startup if not loop until we do 2015-06-12 11:22:34 -05:00
Ed Gonzalez
a3e918ee32 CID12154 - Close tty on failure to set attribute 2015-06-12 11:17:14 -05:00
Ed Gonzalez
907e3514fa CID12156 - Uninitialized array 2015-06-12 11:14:15 -05:00
Ed Gonzalez
d9568a9e1f Fix build problems caused by missing CODEC2 folder 2015-06-12 11:13:46 -05:00
Ed Gonzalez
f3f2c50e51 Remove unneeded variables 2015-06-12 10:57:38 -05:00
Ed Gonzalez
5b5947dd06 Remove CODEC2_FREEDV folder and files 2015-06-12 10:56:49 -05:00
Ed Gonzalez
880581d4ea Buffering working but decode de-stabilizes to FFs and 00s 2015-06-11 18:35:05 -05:00
Ed Gonzalez
aabd5424cb Remove debug from bit_pattern_matcher 2015-06-11 16:52:59 -05:00