Wykres commitów

7911 Commity (7f1faf24c0fbfa2af6ce576d3eb29c756edcedde)

Autor SHA1 Wiadomość Data
Mike Black W9MDB cc5010d0e3 Add otherVFO to misc.c 2021-09-25 11:45:42 -05:00
Mike Black W9MDB fc765a48cc Add VFO_OTHER for Icom rigs so they can request unselected VFO items 2021-09-25 11:14:33 -05:00
Mike Black W9MDB 0b9b719997 Add elapsed time macros and put in vfo and freq calls 2021-09-25 08:59:57 -05:00
Michael Black 1f9ffe3035
Merge pull request #810 from AuroraRAS/androidsensor
add androidsensor rotator
2021-09-24 22:24:15 -05:00
Michael Black 186ed2ae43
Merge pull request #809 from AuroraRAS/keepgoingndk
make the Android.mk files adapt to multi arch
2021-09-24 22:23:57 -05:00
AuroraRAS 1c3250f6f4 add androidsensor rotator
The androidsensor rotator is not a real rotator, it uses the accelerometer sensor and magnetic field sensor of the cell phone or tablet to perform attitude determination for your antenna and the phone tied to it.
Now you can wave your antenna to find radio signals.

Signed-off-by: AuroraRAS <chplee@gmail.com>
2021-09-25 09:51:11 +08:00
AuroraRAS 782ad2a034 make the Android.mk files adapt to multi arch 2021-09-25 07:03:23 +08:00
Mike Black W9MDB e51e645d2a Fix rigtestlibusb.c to include config.h 2021-09-22 22:38:04 -05:00
Mike Black W9MDB 376db9e2e7 Fix compilation when OS does have libusb installed
https://github.com/Hamlib/Hamlib/issues/803
2021-09-22 22:34:31 -05:00
Mike Black W9MDB 875104c395 Update comments in tests/Makefile.am 2021-09-22 13:25:07 -05:00
Mike Black W9MDB 421c6e7c4e Fix icom.c get_mode to not ask for unselected VFO when VFO_CURR is requested
https://github.com/Hamlib/Hamlib/issues/806
2021-09-22 10:40:56 -05:00
Mike Black W9MDB 0806896e3b Fix compilation when OS does not have libusb installed
https://github.com/Hamlib/Hamlib/issues/803
2021-09-21 23:32:12 -05:00
Mike Black W9MDB 9671a26858 Add mutex back to rigctld. Migrating to mutext locks on all rig functions
https://github.com/Hamlib/Hamlib/issues/695
2021-09-21 23:30:45 -05:00
Mike Black W9MDB a94dcddcf4 Fix ICOM request for VFOB info when VFOB is active vfo
https://github.com/Hamlib/Hamlib/issues/806
2021-09-21 12:17:17 -05:00
Michael Black 4c0633bf62
Merge pull request #804 from wutje/improve_rig
Fix rig_cookie: use lock for reads and write.
2021-09-21 09:26:11 -05:00
Michael Black 3fb38741aa
Merge pull request #805 from wutje/fix_yaesu_detect
Fix Yaesu and Adat detect
2021-09-20 16:31:56 -05:00
Wouter van Gulik 0ad5f4c3db Drop debug printf 2021-09-20 23:19:59 +02:00
Wouter van Gulik 8024fba14d Fix bug yaesu and adat probe:
Yaesu probe code never left the loop, even if it did find something.
Adat tried stop_bits 0, which serial_setup rightfully refused.
THIS IS UNTESTED.
2021-09-20 23:06:25 +02:00
Wouter van Gulik a3ab4a4312 Fix rig_cookie: use lock for reads and write.
Ensure we never print more then HAMLIB_COOKIE_SIZE otherwise we read
out-of-bounds.
Drop stray printf.
Add tests for invalid input and overly large input.
Fix test2 to release the cookie.
2021-09-20 22:10:55 +02:00
Mike Black W9MDB c0c941a9d0 Update NEWS 2021-09-20 11:14:46 -05:00
Mike Black W9MDB f7ca1a90fd Fix FTDX9000 METER reading the right way
https://github.com/Hamlib/Hamlib/issues/755
2021-09-20 00:03:02 -05:00
Mike Black W9MDB f8db0b2a36 Fix FTDX9000 METER readings
https://github.com/Hamlib/Hamlib/issues/755
2021-09-19 23:56:38 -05:00
Mike Black W9MDB e5aa78c396 Fix FTDX9000 METER_TEMP
Change return codes for meters to RIG_ENAVAIL
https://github.com/Hamlib/Hamlib/issues/755
2021-09-19 23:49:06 -05:00
Michael Black 2a93553e58
Merge pull request #801 from wutje/improve_rig
Improve rig.c checks and documentation
2021-09-19 16:15:06 -05:00
Wouter van Gulik d9e1f5aac4 Fix and document rig_cookie;
Example in doxygen was wrong.
Description of parameters was wrong; we return an int so we cannot return
a NULL.
NULL check for cookies is needed for all 3 commands so move it up, fixing the
missing one.
Length check was wrong; cookie needs to be at least as large as
HAMLIB_COOKIE_SIZE otherwise subsequent checks will always faila
Document the 3 cookie commands a bit.
2021-09-19 22:52:41 +02:00
Wouter van Gulik 82785f81dc Replace RIG_EIO with RIG_EINVAL when checking arguments. RIG == NULL is
an argument error. A rig not properly inited (caps == NULL) is also an
invalid argument.
2021-09-19 22:18:03 +02:00
Wouter van Gulik f029769fb7 Add arguments check for rig_get_cache, rig_stop_morse, rig_wait_morse,
rig_get_range, rig_set_vfo_opt, rig_get_infget_info.
2021-09-19 22:12:21 +02:00
Mike Black W9MDB 912bfb4d5b Promote IC781 to stable 2021-09-18 09:36:29 -05:00
Mike Black W9MDB 1cdc387bc4 Promote Orion Tentec 599 Eagle to stable 2021-09-18 08:45:55 -05:00
Mike Black W9MDB 63240f1671 Fix rigtestlibusb test_wrapped_device for libusb-1.0.22 or less 2021-09-18 06:08:16 -05:00
Mike Black W9MDB e49693af08 Update version in flrig.c to match format of all others 2021-09-18 06:00:35 -05:00
Mike Black W9MDB c2117ce140 Fix Xiegu spelling in x108g.c 2021-09-17 22:16:10 -05:00
Mike Black W9MDB be3d79ce19 Change libusb warning in rigtestlibusb.c to Android-only
Doesn't appear wrapped usb devices are needed elsewhere
2021-09-17 10:09:39 -05:00
Mike Black W9MDB 696a55a968 Promote FTDX10 to stable 2021-09-17 09:25:50 -05:00
Mike Black W9MDB 1586a92b63 Prompt FT980 to stable 2021-09-17 09:01:53 -05:00
Mike Black W9MDB f01a9647d0 Prompt TenTec Orion to stable 2021-09-17 09:00:23 -05:00
Mike Black W9MDB 17bbd2f602 Update version date in ft817.c 2021-09-16 15:57:37 -05:00
Michael Black e81ad71221
Merge pull request #799 from wutje/ft817_improvements2
FT817 improve reading of mode/freq.
2021-09-16 15:55:58 -05:00
Wouter van Gulik 345729421d ft817: Only set the VFO after a successful read. 2021-09-16 22:43:12 +02:00
Wouter van Gulik 7d605c86bd Split on/off is used so drop comment saying it is not yet 2021-09-16 22:43:12 +02:00
Wouter van Gulik 759cbbed3b ft817.c: Improve get_ptt by fetching TX_STATUS explicitly, instead of
doing a manual cache timeout.
Also be consistent: if we allow set_ptt to be rejected then also allow
get_tx_status en get_ptt to be rejected without failing.
Stop settings ptt_response to -1; it is only set when we got a reply so
it is a sane value or the default, no need set it again.
2021-09-16 22:43:05 +02:00
Wouter van Gulik 90f27ac7aa ft817.c: Use ft817_get_ptt instead of open coding it. 2021-09-16 22:42:07 +02:00
Wouter van Gulik 34492271bc ft817.c: Only get dig mode when needed.
This improves getting frequency and mode because we can skip reading EEPROM
 if not needed.
2021-09-16 22:42:07 +02:00
Mike Black W9MDB ca43bf50da Add Makefile.am to simulators 2021-09-16 00:03:52 -05:00
Mike Black W9MDB be03885101 Add Makefile to simulators 2021-09-15 23:59:31 -05:00
Mike Black W9MDB 12e184a0e8 Rename testlibusb to rigtestlibusb to avoid name collisions with other testlibusb.exe files 2021-09-15 23:45:16 -05:00
Mike Black W9MDB 388294c3d6 Fix RIG_STATUS_STABLE misspelling 2021-09-15 13:50:31 -05:00
Mike Black W9MDB 8cc59cca3b Rigs have been at BETA status forever so promoting all to STABLE 2021-09-15 13:44:42 -05:00
Mike Black W9MDB 7561642898 Turns out thd72 has a mini USB so may take hardware flow control 2021-09-15 13:36:45 -05:00
Mike Black W9MDB b49d2b6c05 Add CLOCK_REALTIME flag to cppcheck.sh 2021-09-15 10:27:34 -05:00