Commit graph

52 commits

Author SHA1 Message Date
Ed Gonzalez f5b96ceb1e Add code to flush waveform buffers on unkey requested. Allows radio to unkey 2015-09-04 11:51:45 -05:00
Ed Gonzalez 367f54e3db Send commands to set audio level and digu_offset when a slice enters FDV mode 2015-09-04 11:25:25 -05:00
Ed Gonzalez 6f8c45fac3 Add new build configuration for FreeDV in Angstrom environemtn 2015-09-04 11:22:48 -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
Graham Haddock 4efa220580 Merge branch 'BBB-dsp' of https://github.com/n5ac/smartsdr-dsp into BBB-dsp
Merging Graham's debug changes with Ed's improvements.
2015-01-30 11:26:13 -06:00
Graham Haddock 5c7ea0183c Added debug code to FreeDV API. 2015-01-30 11:25:20 -06:00
Ed Gonzalez a14898a070 Add reliable_sync_bit to FreeDV structure and handle audio passthrough in sched_waveform 2015-01-30 10:17:35 -06:00
Ed Gonzalez c6a6c4fedd Add reliable_sync_bit to FreeDV structure and handle audio passthrough in sched_waveform 2015-01-30 10:13:46 -06:00
Graham Haddock 1f92b51e61 New BeagleboneBlack branch of FreeDV/smart-sdr. 2015-01-28 18:15:54 -06:00
Ed Gonzalez 8756c89f8c Fix example configuration file to proper filter depth. Allowed depths are 2,4,8, and 16 2015-01-28 16:51:37 -06:00
Ed Gonzalez 8bdab04dd4 Send reponses for commands 2015-01-16 14:42:10 -06:00
Ed Gonzalez da0baf098f Add '--cfg_path=' command line parameter to point to cfg file directory. If not provided it defaults to the current directory 2015-01-15 18:37:50 -06:00
Ed Gonzalez c48bed03be Initialize vita_output in Traffic Cop after we have found a radio in Discovery. 2015-01-15 17:51:52 -06:00
Ed Gonzalez 67e9a31997 Update example FreeDV.cfg 2015-01-15 16:51:29 -06:00
Ed Gonzalez ab3c2de02d Keepalive thread is triggered from tc_init() now. 2015-01-15 16:47:17 -06:00
Ed Gonzalez 504ef71d99 Add '--ip=' command line param to restrict which radio the waveform connects to in a multi-radio environment 2015-01-15 16:24:39 -06:00
Ed Gonzalez 17bf4b036a Invoke register_mode (reads cfg file ) after the Traffic Cop has connected 2015-01-15 16:23:20 -06:00
Ed Gonzalez f053183349 Use 30 priority level and remove old debug code 2015-01-15 12:02:55 -06:00
Ed Gonzalez 72097c1f42 When starting the Traffic Cop, check if the supplied host IP is the same as the waveforms. Use loopback if this is the case 2015-01-15 12:02:18 -06:00
Ed Gonzalez b7707136bf Discovery now starts the Traffic Cop when a radio is found. The TC is passed the hostname and port from discovery 2015-01-15 11:45:36 -06:00
Ed Gonzalez a05e965db2 Add '--console' command line parameter to enable console thread. Replaces previous IFDEF 2015-01-15 10:43:42 -06:00
Ed Gonzalez d7a84b9ded Fix discovery packet parsing - now using network-to-host conversions instead of host-to-network 2015-01-15 10:41:53 -06:00
Ed Gonzalez e7846b374d Add shutdown semaphore for termination instead of endless loop 2015-01-15 09:52:29 -06:00
Stephen Hicks, N5AC 9e40822f4b adding comments 2014-10-21 11:34:46 -05:00
Stephen Hicks, N5AC ea8bb9de64 merge comments 2014-10-21 10:45:53 -05:00
Ed Gonzalez 23fb12605e Remove more debug output 2014-10-21 10:37:07 -05:00
Ed Gonzalez 65e8b4e2cc Remove debug print statements. 2014-10-21 10:36:44 -05:00
Ed Gonzalez 60c66816d0 Make sched_waveform thread SCHED_FIFO - 25. 2014-10-21 10:35:43 -05:00
Ed Gonzalez b2a2c67d84 Gain tweaks so that USB and FDV passthrough sound roughly the same. 2014-10-21 10:35:21 -05:00
Ed Gonzalez 12994e06e5 Make console thread an IFDEF so that freedv can be run as a service 2014-10-21 10:34:49 -05:00
Ed Gonzalez 5da94ac65c Direct path to configuration file for auto start 2014-10-21 10:33:58 -05:00
Stephen Hicks, N5AC c18b195346 remove crap from main.c 2014-10-21 10:19:08 -05:00