Andrew Rodland
f5a83df14c
Update RT-21 version
2022-01-04 17:47:48 -05:00
Andrew Rodland
be53d99d9f
Enable "stop" command for RT-21 rotator.
2022-01-02 01:33:21 -05:00
Andrew Rodland
8bf26f1fa0
Fix spurious writes when no RT-21 second port
...
The if condition for whether there actually is a second port is only
covering the sprintf for the elevation command, and not the write
attempt. So we call rotorez_send_priv_cmd2 whether rotport2 is valid or
not. When it's not, we try to write the command to fd 0 (stdin). When
running on the console, this results in trash on the console. When
runnning under something else (e.g. systemd) this results in errors or
other wierd behavior (e.g. EBADF because stdin isn't connected, causing
the command to fail with RIG_EIO).
2021-12-29 13:54:20 -05:00
Mikael Nousiainen
c764336e73
Fix build warnings caused by changes to I/O function signatures
2021-12-18 23:49:45 +02:00
Mike Black W9MDB
d820ee9dbf
Add expected_len to read_string function for potential serial I/O speedup
...
https://github.com/Hamlib/Hamlib/issues/850
2021-11-24 13:02:39 -06:00
Mike Black W9MDB
8fe190d622
Reduce error messages about RIG_VFO_OTHER which only applies to some rigs like Icom rigs with the 0x25 command
...
Add a flush_flag to read_string so that the new serial_flush will not produce a timeout value when flushing
https://github.com/Hamlib/Hamlib/issues/835
2021-11-01 23:43:45 -05:00
Mike Black W9MDB
468c5d2c03
Add 300ms delay to SPID rotators
...
https://github.com/Hamlib/Hamlib/issues/834
2021-10-23 13:27:01 -05:00
AuroraRAS
7f27917dbc
AndroidSensor codes improvement
...
append rotctl CLI tool to android.mk file
save target az/el to priv pointor, make them accessible more.
remove some c++ warnings.
bug fixes.
codes optimization.
Signed-off-by: AuroraRAS <chplee@gmail.com>
2021-10-06 13:51:19 +08: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
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
AuroraRAS
b5bd1f4036
Append the missing information to build hamlib v4.3 for Android NDK
...
The following errors were fixed in this commit:
error: undefined symbol: rig_sprintf_vfo
error: undefined symbol: initrots2_radant
error: undefined symbol: ts890s_caps
2021-09-07 21:30:09 +08:00
Mike Black W9MDB
283281c4cb
astyle all files preparing for 4.3 release
2021-08-26 06:49:24 -05:00
Mike Black W9MDB
0a0873252e
Fix CodeQL warnings
2021-08-13 12:28:58 -05:00
Mike Black W9MDB
046f3c448d
Allow 2nd rotator port for RT-21 Az/El model
...
https://github.com/Hamlib/Hamlib/issues/747
2021-08-01 12:14:17 -05:00
Mike Black W9MDB
eab000306c
Add max elevation 90 to RT21 rotor in preparation for adding elevation control on 2nd controller
...
https://github.com/Hamlib/Hamlib/issues/747
2021-07-23 22:48:52 -05:00
Mike Black W9MDB
27eb0087cb
Fix buffer overflow in radant.c
...
0165d81e47 (commitcomment-50545346)
2021-05-08 07:49:01 -05:00
Mike Black W9MDB
4501c1c97b
Remove generated files
2021-04-14 15:41:01 -05:00
Mike Black W9MDB
9d310062eb
More files for git clone configure to work
2021-04-14 09:19:27 -05:00
Mike Black W9MDB
2f2322068e
Update Radant rotator
...
https://github.com/Hamlib/Hamlib/pull/658
2021-04-12 09:31:53 -05:00
Evgeniy Titorenko
0165d81e47
Add Radant AZV-1 Rotator controller protocol.
2021-04-09 19:19:08 +03:00
Nonoo
a4d14e6f92
Fix warning caused by commit ac1cb518b0
2021-03-15 16:21:10 +01:00
Michael Black W9MDB
9fa3f59684
Fix cppcheck warning in rc2800.c
2021-02-28 12:33:07 -06:00
Michael Black W9MDB
ee60a68bec
astyle files
2021-02-28 09:46:01 -06:00
Michael Black W9MDB
83c47fad42
Android NDK now builds -- check README.android for info on libusb
...
https://github.com/Hamlib/Hamlib/issues/546
2021-02-28 15:50:36 +01:00
Michael Black W9MDB
ce8e539d86
Fix compilation warnings in prosistel.c
2021-02-26 11:16:49 -06:00
Michael Black W9MDB
acbe8da8a1
astyle rc2800.c
...
https://github.com/Hamlib/Hamlib/issues/451
2021-01-29 08:23:19 -06:00
Michael Black W9MDB
883574049b
Fix compile error on rc2800
...
https://github.com/Hamlib/Hamlib/issues/451
2021-01-29 08:22:56 -06:00
Michael Black W9MDB
f228bda1a2
Add detection of echo for rc2800 -- seems some versions do echo
...
https://github.com/Hamlib/Hamlib/issues/451
2021-01-29 08:20:56 -06:00
Joshua Lynch
b5a18c1732
merged upstream/master into master
2021-01-27 12:44:07 -06:00
Joshua Lynch
887b289920
fixed state bug. reconnecting would disable motion every other connect.
2021-01-27 12:40:18 -06:00
Nate Bargmann
610cd26085
Supply missing rotators/satel/Android.mk
...
The use of 'make discheck' will detect such missing files before pushing
out changes.
2021-01-26 07:12:26 -06:00
Joshua Lynch
ed5728c321
factored io functions out.
...
improve reliability...i hope.
2021-01-24 23:54:07 -06:00
Joshua Lynch
e6fa200152
initial SatEL rotator support
2021-01-23 23:26:01 -06:00
Michael Black W9MDB
c2feb98693
Fix uninitialized value in prosistel.c
2020-12-27 17:15:57 -06:00
Michael Black W9MDB
5f73977ec0
fix cygwin compile warning on rotorex.c
2020-12-27 12:44:14 -06:00
Michael Black W9MDB
263f1cde72
astyle files
2020-12-17 15:07:04 -06:00
Mikael Nousiainen
429fd1ab89
Set az/el return values to zero when not supported
2020-12-15 22:18:08 +02:00
Mikael Nousiainen
0b52d2a6c3
Update Prosistel backend model variable names
2020-12-15 21:46:02 +02:00
Mikael Nousiainen
219b1635a1
Make Prosistel model names shorter
2020-12-15 21:42:29 +02:00
Mikael Nousiainen
9e604437b1
Fix Prosistel rotator backend: the 'D' model and Combi-Track for az+el have slightly different protocols. Add stop command.
2020-12-15 21:40:35 +02:00
Michael Black W9MDB
20764a5483
If error return on prosistel elevation just return RIG_OK
...
Assuming no elevation available in this case
https://github.com/Hamlib/Hamlib/issues/466
2020-12-14 16:49:58 -06:00
Michael Black W9MDB
ac1cb518b0
Fix a few cppcheck warnings
2020-12-09 16:12:31 -06:00
Mikael Nousiainen
b062ddce22
Do not expect a reply from GS-232B stop command. Fix GS-232B retry error code.
2020-12-06 14:21:39 +02:00
Mikael Nousiainen
81a0c521e7
Add support for ROT_LEVEL_SPEED level in rotator backends that support setting the rotator speed via the move command. Add azimuth-only and elevation-only versions of generic GS-232A and GS-232B backends.
2020-12-03 23:07:08 +02:00
Mikael Nousiainen
bb315270bf
Merge branch 'master' into rotator-speed-control-and-status
2020-12-02 21:46:23 +02:00
Michael Black W9MDB
e49dc2e1f5
astyle gs232a/gs232b
2020-12-02 07:50:11 -06:00
Michael Black W9MDB
4f8de24873
Change gs232a/b post_write_delay to 50ms
...
Add retry when > char is seen indicating ?> error response
https://github.com/Hamlib/Hamlib/issues/371
2020-12-02 07:48:21 -06:00
Michael Black W9MDB
1beecdd685
Add 25ms post_write_delay for gs232a/b and a retry when \r\n is received
...
https://github.com/Hamlib/Hamlib/issues/371
2020-12-01 16:57:10 -06:00