Commit graph

80 commits

Author SHA1 Message Date
Ed Gonzalez f9164e29b5 Encapsulate DSTAR into state machine that is fed incoming bits. 2015-06-11 14:13:33 -05:00
Ed Gonzalez 014b457794 Successfully decoding DSTAR Header information. Cleanup and full state machine work starting 2015-06-11 11:31:29 -05:00
Ed Gonzalez 8b3fc14b2f Add dstar.c|.h that add FEC, interleaving and scrambling 2015-06-11 09:20:37 -05:00
Ed Gonzalez 8bfb382d25 Use output in dump function and change const to static const 2015-06-11 09:14:50 -05:00
Ed Gonzalez b3c43dafe5 Add syn and frame syn pattern matcher to find header of DSTAR frame 2015-06-10 11:07:16 -05:00
Ed Gonzalez a5609ca279 Add bit pattern match files and functions 2015-06-03 14:14:10 -05:00
Ed Gonzalez 81bb26dc15 Encapsulate encode/decode test into function. 2015-06-03 12:59:32 -05:00
Ed Gonzalez d60f28031d GMSK Encode/decode functional. DEMOD filter unecessary from OpenDV code 2015-06-03 12:53:50 -05:00
Ed Gonzalez 6ca3c9cd3a Change executable for stack trace to thumbdv instead of freedv 2015-06-03 10:29:02 -05:00
Ed Gonzalez ef467c41aa Begin porting FIR Filter for GMSK Modem 2015-06-02 14:51:33 -05:00
Ed Gonzalez fc8de37bd6 Begin porting GMSK modulator 2015-06-02 14:28:42 -05:00
Ed Gonzalez 4095503a38 Add gmsk_modem.c|.h files and begin porting GMSK Demod functions and structures 2015-06-02 14:22:50 -05:00
Ed Gonzalez 7939a2907b Use #define instead of const values to avoid non-constant initializer errors 2015-06-02 14:21:08 -05:00
Ed Gonzalez f9a65e23a8 Add DStarDefines.h and modify bool type to Waveform BOOL type 2015-06-02 13:48:02 -05:00
Ed Gonzalez f57926f1da Update TRUE/FALSE definitiions to use uint8 instead of uint32 2015-06-02 13:47:20 -05:00
Ed Gonzalez 3c092ad57d Fix scaling issues and decode_out indexing. Audio encode/decode now completely functional 2015-06-01 18:10:34 -05:00
Ed Gonzalez 011100778c Add Init,PKT_GAIN and PKT_COMPAND commands to initialization and fix by-one error in writing speech data. Encode/decode example working with input gain problems 2015-06-01 17:31:08 -05:00
Ed Gonzalez 637558a4a4 Cleanup hard coded values for DV_PACKET_SAMPLES and increase ring buffers to fit new size 2015-06-01 17:30:00 -05:00
Ed Gonzalez d1218b7346 Loopback of encode TX and decode in RX test working 2015-05-29 14:22:37 -05:00
Ed Gonzalez d618652579 Add lists for encoded/decoded frames. Link into correct chain from process serial 2015-05-29 13:16:25 -05:00
Ed Gonzalez 3158f09387 Change buffering scheme to 160 samples at coder from 128 of FDV. 2015-05-29 13:15:42 -05:00
Ed Gonzalez cbc248ca15 Add read_cfg command and fix set DSTAR mode command 2015-05-29 11:19:38 -05:00
Ed Gonzalez b1c1b162ca ThumbDV encode/decode list handling milestone. 2015-05-28 17:02:48 -05:00
Ed Gonzalez 375cbfc717 Add separate read thread for ThumbDV and fix encoding function 2015-05-28 13:00:48 -05:00
Ed Gonzalez 2b16a3242f Initial work on encoding functions 2015-05-27 18:21:27 -05:00
Ed Gonzalez 8e033a0610 Change APP_NAME to ThumbDV, update ThumbDV.cfg to reflect new name and change UDP Port to 5000 to avoid conflicts with FreeDV 2015-05-27 17:35:41 -05:00
Ed Gonzalez de0de8335e Add errno output to hal_Listener_Init 2015-05-27 17:25:07 -05:00
Ed Gonzalez ac61d281d0 Begin porting AMBServer code for use in waveforms. Add thumbDV.c|h files and successfully open serial port 2015-05-27 17:19:27 -05:00
Ed Gonzalez 4ed6e30c1f Add ThumbDV.cfg file 2015-05-27 17:18:12 -05:00
Ed Gonzalez ff21298f9f Change appname to ThumbDV 2015-05-27 17:12:08 -05:00
Ed Gonzalez 8f21ad3b5b Remove FreeDV references in preparation for ThumbDV DSTAR waveform 2015-05-27 16:47:10 -05:00
Ed Gonzalez 484b4f6da0 Solve no right-channel audio when in binaural mode 2015-05-26 14:53:21 -05:00
Ed Gonzalez 569fc2455a Remove unnecessary debug output and usleep 2015-05-26 14:52:48 -05:00
Ed Gonzalez 39680f6139 Eliminate control characters from rx_string. All control characters are replaced by 0x7F which is an intermediary representation for a space 2015-03-17 11:16:17 -05:00
Ed Gonzalez 5cd5b63b7e Replace spaces in string parsing with non-printable 0x7F for correct passthrough in radio 2015-03-12 14:53:51 -05:00
Ed Gonzalez 637e3376a0 CID12076 - Out of bounds read. Fix inproper string allocation 2015-03-05 16:32:37 -06:00
Ed Gonzalez 5acf31bb38 CID11720 - Minor memory leak when a discovery packet is invalid 2015-03-05 16:26:48 -06:00
Ed Gonzalez 890d03c154 CID12103 and CID12096 - Fix minor leak when passing duplicate cfg_path and restrict_ip params 2015-03-05 16:22:37 -06:00
Ed Gonzalez baaa412e08 Update .ssdr_cproject to build for Angstrom 2015-02-06 11:34:20 -06:00
Ed Gonzalez 3cc95df256 Merge remote-tracking branch 'origin/BBB-dsp' into develop
Conflicts:
	DSP_API/DOCS/FreeDV.cfg
	DSP_API/SmartSDR_Interface/sched_waveform.c
2015-02-06 11:30:38 -06:00
Ed Gonzalez 223971b988 Add ssdr_cproject for Angstrom build 2015-02-06 11:28:01 -06:00
Ed Gonzalez b436f2de99 Use sync bit to bypass FDV demod. Use 7 sync count to trigger demod 2015-02-06 11:27:23 -06:00
Ed Gonzalez 54a89a7798 Use PACKET_SAMPLES define instead of magic number. Still needs more work 2015-02-05 11:39:37 -06:00
Ed Gonzalez 3975a608d0 Slight optimization by using memset instead of for loops to clear filters and buffers 2015-02-05 11:38:54 -06:00
Ed Gonzalez 58fbc0bb2e Remove the condition 'emit' flag. We emit even if we're starved for pacing purposes 2015-02-05 11:29:44 -06:00
Ed Gonzalez d2b0fc27a3 Revert "Add reliable_sync_bit to FreeDV structure and handle audio passthrough in sched_waveform"
This reverts commit a14898a070.
2015-02-05 11:29:02 -06:00
Graham Haddock 36d0dedbd8 Reverted Ed's 'reliable_sync' changes, modified scaling multipliers. 2015-01-30 19:18:49 -06:00
Graham Haddock 6ea7395b35 Revert "Add reliable_sync_bit to FreeDV structure and handle audio passthrough in sched_waveform"
This reverts commit c6a6c4fedd.
2015-01-30 19:08:40 -06:00
Graham Haddock d3ef43ad37 Revert "Modified input and output levels. KE9H"
This reverts commit 893af6168d.
2015-01-30 19:06:05 -06:00
Graham Haddock 893af6168d Modified input and output levels. KE9H 2015-01-30 14:01:00 -06:00