Commit Graph

215 Commits

Author SHA1 Message Date
Martin Cooper b8fdf013c5 Build changes for the use of CM108 for PTT on Mac
The CMake changes are slightly complicated by the Windows build using
a local copy of some hidapi files, for some reason, instead of using
the hidapi library itself. The Mac version uses hidapi in the same way
as other libraries.

In the CMake files, it is unclear to me whether "elseif (NOT WIN32 AND
NOT CYGWIN)" means the same thing as "elseif (APPLE)", so they are
treated separately in order to avoid breaking other build types.
2023-11-15 17:02:32 -08:00
Martin Cooper b03a797ec4 Add support for the use of CM108 for PTT on Mac
Support for CM108-based PTT on Mac is provided using the hidapi library
in the same way as on Windows. As such, the code changes are limited
almost entirely to updated #if conditions, treating Windows and Mac in
the same way.
2023-11-15 17:00:53 -08:00
wb2osz 9807304d63 Bump version to 1.7 release. 2023-10-28 01:10:20 +01:00
wb2osz 091670a917 New device identifier location. 2023-10-28 01:00:50 +01:00
wb2osz 88e2222db6 Better keyword for preemptive digipeating. 2023-10-14 17:37:46 +01:00
wb2osz 6b76e1d98d Don't let t1v get out of control. 2023-10-14 17:34:46 +01:00
wb2osz 6bd296bd7e glibc 2.38 has strlcpy and strlcat but cmake does not detect it. 2023-10-14 17:31:07 +01:00
wb2osz ba0313ca78 Add FTM-500D to recognized device identifers. 2023-09-11 00:08:58 +01:00
wb2osz a08d0939b5 Add FEC type to station heard line. 2023-09-11 00:07:36 +01:00
wb2osz 7a8e4320ac Issue 486. Maybe. 2023-08-16 15:00:10 +01:00
Brent Petit a87b72e040
Handle slow Hamlib init. This change adds a retry loop to the (#484)
rig_open call. If the rig_open continues to fail after 5 tries,
exit.
2023-08-08 13:48:53 -04:00
wb2osz 2434e5f13b Minor cleanups. 2023-08-08 17:34:06 +01:00
wb2osz dfc063f905 Minor clarifications. 2023-08-08 00:14:47 +01:00
wb2osz 80bbf5a553 FIX_BITS default to 0. 2023-08-08 00:02:44 +01:00
Andrew Rodland c5ad945c3c
Fix IL2PTX config parsing (#483)
We were checking `*t` for end of string instead of `*c`, but `t` never changes, so we would run off of the end of the buffer and output a very large number of config errors before eventually crashing.
2023-07-17 13:21:22 -04:00
wb2osz e84a622515 Look past third party header for packet filtering. 2023-06-14 01:37:08 +01:00
wb2osz f9cf42b291 Better interpretation of bulletin identifiers. 2023-06-03 20:24:30 +01:00
wb2osz 4008153334 Silently ignore AGW protocol application login. 2023-05-21 21:32:54 +01:00
wb2osz 415a08da1e Add AIOC to list for cm108 ptt. 2023-05-18 00:17:39 +01:00
wb2osz f8b9cae461 Improved error messages. 2023-05-14 23:25:02 +01:00
wb2osz 92a2097d30 New warnings for gcc 11.3. 2023-05-11 21:29:45 +01:00
wb2osz 24a06aef9e 1.7 dev version G 2023-05-08 03:23:26 +01:00
wb2osz b1727345e0 Issue 401 - Avoid receiving own transmission due to audio crosstalk. 2023-05-08 02:27:59 +01:00
wb2osz 8e32286604 Issue 275 - AGW 'd' would not abort a connect attempt in progress. 2023-05-07 02:38:00 +01:00
wb2osz 8000e46c02 Issue 427 - callsign order for AGW protocol 'Y'. 2023-05-04 18:56:09 +01:00
wb2osz 110b85a781 Add EAS to gen_packets. 2023-05-01 02:41:05 +01:00
wb2osz 4ac666df6a Clean up atest EAS receive. 2023-04-30 21:48:51 +01:00
wb2osz 4cd63df5be Use channel rather than port when dumping KISS frame. 2023-04-26 01:07:05 +01:00
wb2osz 75ccf181f9 Improve config error checking. 2023-04-07 16:29:27 -04:00
wb2osz 019ff3bda6 Update config.c 2023-04-07 14:14:32 -04:00
Daniele Forsi 3091ef5351 Remove stray comma
Fixes cppcheck error:
src/gen_tone.c:580:0: error: failed to expand 'strlcpy', Wrong number of parameters for macro 'strlcpy'. [preprocessorErrorDirective]
 strlcpy (my_audio_config.adev[0].adevice_out, DEFAULT_ADEVICE, , sizeof(my_audio_config.adev[0].adevice_out));
^
2023-04-02 16:31:31 +02:00
wb2osz 11468f26f8 Improve error message. 2023-03-05 15:38:06 +00:00
wb2osz eb813e5804 Reduce noise. 2023-03-05 15:12:49 +00:00
wb2osz 7573f996c4 Improve error message. 2023-03-05 15:11:00 +00:00
wb2osz dbb4777ba7 More comments. 2023-03-05 15:10:05 +00:00
wb2osz cac83f2506 Improve error message. 2023-03-05 15:07:46 +00:00
wb2osz b4b7b1388d Improve error message. 2023-03-05 15:06:48 +00:00
wb2osz c25629a286 Merge branch 'dev' of http://github.com/wb2osz/direwolf into dev 2023-01-30 03:09:23 +00:00
wb2osz 8e289025d7 Notes for future. 2023-01-30 03:03:30 +00:00
wb2osz 04ecdbc6fc Complete the new ICHANNEL feature. 2023-01-30 02:50:17 +00:00
dforsi fedfef92cd
Fix spellling (#409)
Fixed with
codespell --skip external,symbols*.txt,tocalls.txt,./cmake/* --ignore-words-list clen,convers,dout,feets,fo,inout,ist,ot,parm,pres,ro,siz,usng,xwindows --summary

running first with only --write-changes and then adding --interactive=2

Co-authored-by: Daniele Forsi <iu5hkx@gmail.com>
2023-01-28 15:58:09 -05:00
wb2osz 031c937cdb Issue 444 - Command line -x calibrate tones are reversed 2023-01-28 16:36:51 +00:00
wb2osz ef573f2acf Pull request 439 - Fix audio level display for B demodulator. 2023-01-23 23:11:34 +00:00
Brent Petit 399ffcccb3 Add in a couple missing includes to clean up build warnings 2023-01-16 10:43:25 -05:00
wb2osz 9553abc28e Tested compatibility with gpsd 3.25. 2023-01-15 22:54:11 +00:00
wb2osz 1d452fe1ab Tested compatibility with gpsd 3.25. 2023-01-15 21:55:08 +00:00
wb2osz 17d3d0a621 Increase max AFSK filter size. 2022-12-18 20:19:37 +00:00
wb2osz 07ea828c28 Assorted minor cleanups. 2022-11-25 22:59:36 +00:00
wb2osz 8913a852fd clean up 2022-10-01 02:32:43 +01:00
wb2osz d0fc24aa5d Just comments. 2022-10-01 02:28:10 +01:00
wb2osz acace8cd9a Variable speed for gen_packets. 2022-10-01 01:08:28 +01:00
wb2osz 429d095665 Issue 417 - Allow UTF-8 characters for Mac audio device names. 2022-09-25 22:30:19 +01:00
Vladimir b8919baf20
Merge branch 'dev' into gpiod 2022-07-06 20:56:57 -07:00
wb2osz 30869c7afc Issues 405 & 406 and other improvements in message interpretation. 2022-07-04 02:11:55 +01:00
wb2osz d11bd6f3f2 pull request 355 - verb correction 2022-05-24 02:23:05 +01:00
wb2osz 59288b7c56 Pull Request 394 - fix compilation on musl 2022-05-24 02:03:37 +01:00
wb2osz c9ffbd71c3 Merge branch 'dev' of http://github.com/wb2osz/direwolf into dev 2022-03-23 19:25:58 -04:00
wb2osz 722fefbda6 Compile warnings. 2022-03-24 00:21:12 +01:00
wb2osz 368bc42337 Spelling errors. 2022-03-24 00:15:04 +01:00
wb2osz 06d6cabb58 Special ATGP digipeating hack. 2022-03-24 00:12:01 +01:00
wb2osz 3dd125e1e3 UTF-8 discussion 2022-03-24 00:10:21 +01:00
wb2osz a558348635 UTF-8 in config file experiment. 2022-03-24 00:07:31 +01:00
Daniele Forsi bb16c725b9 Fix spelling errors
Fixed with:
codespell --ignore-words-list=dout,feets,fo,inout,ist,ot,parm,usng src --write-changes --interactive=2
and manual editing.
2022-03-22 20:10:29 -04:00
wb2osz 0bd31ae16e Clean up warnings. 2022-02-27 15:30:16 +00:00
wb2osz e108147655 Fix ttgrid corner and various cleanups. 2022-02-25 22:29:07 +00:00
wb2osz 27019b4793 The constant thorn in my side. 2022-02-16 02:55:19 +00:00
wb2osz 26727bbace Pull request 301 2022-02-16 02:43:29 +00:00
wb2osz 89021dd50c Cleanups 2022-02-16 02:42:15 +00:00
wb2osz dcabb8f7a5 Digipeat noid 2022-01-30 20:00:43 +00:00
wb2osz 0f2b241763 More error checking for messages. 2022-01-17 22:10:47 +00:00
wb2osz 366e0ab6e0 Clean up 2022-01-03 15:36:07 +00:00
wb2osz 42314b7219 gpsd 3.23 (API 12) compatibility and cleanups. 2022-01-02 02:55:11 +00:00
wb2osz 5dbe2ce136 Allow speed for GPSNMEA configuration. 2021-12-29 17:30:20 -05:00
wb2osz 65869bc643 Issue 366 - Remove 0x from pid in monitor header. 2021-12-19 16:30:45 -05:00
wb2osz eef35cf891 Issue 367 - AGW monitoring must handle binary data. 2021-12-19 21:06:42 +00:00
wb2osz 45cd680b90 First rough approximation of ICHANNEL. 2021-12-09 22:30:31 -05:00
wb2osz 9b9744ba15 Speed up 9600 demodulator. 2021-11-22 21:15:17 -05:00
wb2osz 049614d16c Fix IL2P for 9600 bps. 2021-11-22 21:10:31 -05:00
wb2osz 6442466a5d Shut off confusing debug message. 2021-11-11 20:01:30 -05:00
wb2osz 53e9ff7908 Add IL2P. 2021-10-22 17:29:20 -04:00
wb2osz 17b9336ce0 Merge branch 'dev' of http://github.com/wb2osz/direwolf into dev 2021-09-29 18:41:02 -04:00
wb2osz 8619b74c7b Pull request 353 - Fix spelling errors. 2021-09-29 18:28:17 -04:00
wb2osz 023f675caa Avoid serial port write error for Windows, 2021-09-21 13:29:29 -04:00
wb2osz 3220931439 Race condition when starting up with transmit queue not empty. Larger buffers. 2021-09-21 13:22:27 -04:00
wb2osz 1712fbcfb9 cleanup 2021-09-21 13:20:10 -04:00
wb2osz b77762780f More debug code. 2021-09-21 13:00:36 -04:00
wb2osz 257d2e3544 New get/set methods for packet object. 2021-09-21 12:56:45 -04:00
wb2osz 1b3ed76584 Add a comment about bundling multiple frames in single transmission. 2021-09-21 12:53:17 -04:00
Daniele Forsi d10ccb6cc0 Fix errors in strings
Errors found with codespell.
2021-09-19 21:25:00 +02:00
Daniele Forsi 6bfd22811c Fix errors in comments
Errors found with codespell.
2021-09-19 21:25:00 +02:00
wb2osz 0e68a7712a Pull Request 322 - SNDIO support for BSD. 2021-04-10 20:47:46 -04:00
wb2osz 73d5d139b4 Recognize Windows form of device path. 2021-04-10 20:46:13 -04:00
John Kristian 09de2f6681 Declare cm108 functions explicitly. 2021-03-13 18:00:24 -08:00
wb2osz e449e39d4d Update comments. 2021-03-12 19:50:25 -05:00
SASANO Takayoshi 0c285a0c6d cosme
rewrite

    int err;
    err = poll_sndio();
    if (err < 0) {
        :

to

    if (poll_sndio() < 0) {
        :
2021-02-26 06:57:59 +09:00
SASANO Takayoshi c18b562409 add sndio support (CMake) 2021-02-25 20:36:34 +09:00
SASANO Takayoshi 677117bff0 add sndio support 2021-02-25 20:35:41 +09:00
wb2osz a1afcbbafe Limited support for CM108/CM119 GPIO PTT on Windows. 2021-02-07 16:19:34 -05:00
wb2osz 667e9caaf2 Quick hack until I can handle multiple KISS TCP ports properly. 2021-01-04 21:25:49 -05:00
wb2osz 7ac1262fdf Fix Linux build. 2021-01-04 21:03:00 -05:00