Commit graph

96 commits

Author SHA1 Message Date
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
Michael Black W9MDB
f8790337d3 Hopefully this works for all gs232a/gs232b rotors and emulators
We only look now for 0x0a on commands that expect a return
If there is a rig/emulator that does not give 0x0a on expected returns then we will have a problem.  gs232a/gs232b doc says 0x0a is expected on
cmds that return info and 0x0d on command with no return.
https://github.com/Hamlib/Hamlib/issues/371
2020-12-01 15:18:08 -06:00
Michael Black W9MDB
5fc36df249 astyle files 2020-11-30 14:53:55 -06:00
Michael Black W9MDB
dd3ed134dd Turns out M2 has two different protcols
So we now have RC2800, RC2800_EARLY_AZ, and RC2800_EARLY_AZEL
RC2800_EARLY_AZ is azimuth only
Update rotctl man page for move keywords
https://github.com/Hamlib/Hamlib/issues/451
2020-11-30 09:22:33 -08:00
Michael Black W9MDB
3490fed03c One more attempt to get rc2800 cooperating LFCR needed?
https://github.com/Hamlib/Hamlib/issues/451
2020-11-29 22:46:04 -06:00
Michael Black W9MDB
511435c73e Force rc2800 az/el to no decimal point value
https://github.com/Hamlib/Hamlib/issues/451
2020-11-29 12:54:12 -06:00
Michael Black W9MDB
b5f7c5884b Remove decimal point from A and E command for rc2800
https://github.com/Hamlib/Hamlib/issues/451
2020-11-28 22:25:55 -06:00