Mike Black W9MDB
8c34ce1a2d
astyle source code
2022-02-05 15:27:43 -06:00
Mike Black W9MDB
68e121d82c
Change all to remove HAVE_CONFIG dependency and include <hamlib/config.h> by default
...
This is necessary to keep alignment between the client view of rig->state and the shared libarary view
Including PTHREAD functions in rig->state necessitated this as HAVE_PTHREAD only defined during hamlib compilation.
Clients including hamlib/rig.h did not pick up all the HAVE* config variable that control what gets included
https://github.com/Hamlib/Hamlib/issues/947
2022-02-04 07:41:36 -06:00
Mike Black W9MDB
bff29003ea
Change snprintf to SNPRINTF in rotators
...
https://github.com/Hamlib/Hamlib/issues/857
2022-01-22 22:28:32 -06:00
Mike Black W9MDB
926eba4d1c
Change sprintf to snprint in gs232b.c
...
https://github.com/Hamlib/Hamlib/issues/857
2022-01-09 11:55:51 -06:00
Mike Black W9MDB
dff4f4f124
Change sprintf to snprint in gs232a.c
...
https://github.com/Hamlib/Hamlib/issues/857
2022-01-09 11:54:31 -06:00
Mike Black W9MDB
00bdc63829
Change sprintf to snprint in gs232.c
...
https://github.com/Hamlib/Hamlib/issues/857
2022-01-09 11:53:03 -06:00
Mike Black W9MDB
bf4afbcaa1
Change sprintf to snprint in celestron.c
...
https://github.com/Hamlib/Hamlib/issues/857
2022-01-09 11:51:48 -06:00
Mike Black W9MDB
4adcda259a
Change sprintf to snprint in rotorez.c
...
https://github.com/Hamlib/Hamlib/issues/857
2022-01-09 11:48:08 -06:00
Mike Black W9MDB
390d05ec69
Change sprintf to snprint in rot_ioptron.c
...
https://github.com/Hamlib/Hamlib/issues/857
2022-01-09 11:46:01 -06:00
Mike Black W9MDB
c280bd2440
Change sprintf to snprint in hd1780.c
...
https://github.com/Hamlib/Hamlib/issues/857
2022-01-09 11:43:37 -06:00
Mike Black W9MDB
d84ac6ab5d
Change sprintf to snprint in meade.c
...
https://github.com/Hamlib/Hamlib/issues/857
2022-01-09 11:42:08 -06:00
Mike Black W9MDB
83562939fb
Change sprintf to snprint in cnctrk.c
...
https://github.com/Hamlib/Hamlib/issues/857
2022-01-09 11:41:03 -06:00
Mike Black W9MDB
9daf7394b1
Change sprintf to snprint in spid.c and add rig_get_conf2
...
https://github.com/Hamlib/Hamlib/issues/857
2022-01-09 11:39:19 -06:00
Mike Black W9MDB
3bf26fa65d
Change sprintf to snprint in sartek.c
...
https://github.com/Hamlib/Hamlib/issues/857
2022-01-09 10:16:24 -06:00
Mike Black W9MDB
405040b375
Change sprintf to snprint in ether6.c
...
https://github.com/Hamlib/Hamlib/issues/857
2022-01-09 09:35:35 -06:00
Mike Black W9MDB
20dd20032d
Change sprintf to snprint in easycomm.c
...
https://github.com/Hamlib/Hamlib/issues/857
2022-01-09 09:33:15 -06:00
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