Commit graph

150 commits

Author SHA1 Message Date
Ed Gonzalez 09fc0194f7 Add slight peaking IIR at 4800Hz after GMSK demod. 2015-09-03 12:49:20 -05:00
Ed Gonzalez 0c8391700c Add strlen() to TX Message debug output 2015-09-03 10:47:14 -05:00
Ed Gonzalez 6c82100170 Reset message index if we decode gets off 2015-09-03 10:46:32 -05:00
Ed Gonzalez 62abf0058c Default TX messge to empty 2015-09-03 10:45:03 -05:00
Ed Gonzalez e38e976fbc Add DUMP_GMSK_MOD flag for debuging GMSK_ENCODE 2015-09-03 10:44:02 -05:00
Ed Gonzalez 8b703f8bbc Change deviation to 1200 2015-09-03 10:34:33 -05:00
Ed Gonzalez a8ef82646c Reset encoder on END_PATTERN and shorted the initial SYNC and END tones 2015-09-03 10:32:53 -05:00
Ed Gonzalez ce962e6d87 Add thumbDV_flushLists() to flush thumbDV lists in TX/RX transistions 2015-09-03 10:29:12 -05:00
Ed Gonzalez 675e300742 Update ThumbDV.cfg to support new versioning scheme 2015-09-01 17:36:57 -05:00
Ed Gonzalez fdc522e747 Move RX=END status message to DSTAR State machine and add new STATUS_END_RX case in status message function 2015-08-31 11:52:41 -05:00
mlhnet b618fcb1fd Add RX=END waveform message, bug fixes 2015-08-30 19:16:48 -04:00
Ed Gonzalez 5c2e0b6ae8 Add slow_data.c|.h 2015-08-29 14:48:56 -05:00
Ed Gonzalez 253ab84a34 Add functions to set DSTAR message field. 2015-08-26 14:41:06 -05:00
Ed Gonzalez 8a210b587b Add slow data encode of message and header data 2015-08-26 14:18:32 -05:00
Ed Gonzalez 3a9f59def9 Add DSTAR TX State machine to handle transmit. Move current TX Logic from sched_waveform to the TX State Machine 2015-08-26 11:27:01 -05:00
Ed Gonzalez 52f27e54fd Add slow data message parsing and status updates 2015-08-26 10:41:01 -05:00
Ed Gonzalez 7be0c446d1 Add slice to DSTAR state machine which allows proper status updates with correct index 2015-08-26 10:40:45 -05:00
Ed Gonzalez 1a19337f43 First pass at slow data decode 2015-08-25 18:01:45 -05:00
Ed Gonzalez 1b3d5202f0 Try to unify code style 2015-08-25 10:15:43 -05:00
Ed Gonzalez e25403d6c1 Set the repeater relay bit when using a destination repeater 2015-08-25 09:53:03 -05:00
Ed Gonzalez de442eb75b Fix RX Audio not being emitted 2015-08-25 09:52:41 -05:00
Ed Gonzalez 0d68f11117 Fix declaration of _end_of_transmission 2015-08-25 09:52:24 -05:00
Ed Gonzalez e48c43913c Add sending of end bits at end of transmission. Needs heave cleanup. 2015-08-24 15:07:01 -05:00
Ed Gonzalez b82637e5d2 Add reset function for MODFilter and correct the bytes for END_PATTERN 2015-08-24 15:06:27 -05:00
Ed Gonzalez c742d3b3ff Add mechanism that allows the waveform to know when the radio is unkeying.
This is needed so that DSTAR can encode it's end bits.
2015-08-24 15:05:03 -05:00
Ed Gonzalez edd809c269 Look for end bits in voice frames too. 2015-08-21 08:16:06 -05:00
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 d82c84e994 Default header with instructional fields added 2015-08-04 14:42: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 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