Wykres commitów

192 Commity (master)

Autor SHA1 Wiadomość Data
andz 0bdb6827da Implemented FLIR basic funktions:
* flir_init
* flir_cleanup
* flir_open
* flir_close
* flir_set_position
* flir_get_position
* flir_park
* flir_stop
* flir_reset
* flir_move
2022-11-30 12:20:25 +01:00
andz 82ef0a39bf Initial adding FLIR PTU rotator 2022-11-26 01:04:36 +01:00
Mike Black W9MDB c34f719337 Astyle files 2022-08-20 22:56:04 -05:00
Mike Black W9MDB 7b8aa15b9c Add DCU1/2 YRC1 entry for rotctl -- compatible with df9gr/erc 2022-08-16 16:15:25 -05:00
Mike Black W9MDB a83eb3bf42 astyle files for 4.5 release 2022-07-27 17:16:17 -05:00
Mike Black W9MDB 627ec83652 Change malloc to calloc 2022-07-27 10:26:08 -05:00
Daniele Forsi IU5HKX 7a132e2703 Remove unused includes
Removes includes of stdio.h stdlib.h string.h unistd.h
2022-07-24 17:08:57 +02:00
Daniele Forsi IU5HKX 34018600ee Remove unused includes of math.h 2022-07-23 18:39:55 +02:00
Daniele Forsi IU5HKX 4dfe46edbb Remove unused includes related to times and dates
Removes includes of time.h sys/time.h hamlibdatetime.h
2022-07-23 18:12:10 +02:00
Daniele Forsi IU5HKX 08c06aea14 Fix spelling errors
Fixed with:
codespell --summary --skip=.git,extra,,lib,macros,security --ignore-words-list="ans,ba,cant,develope,fo,get's,nin,numer,parm,parms,setts,som,statics,ths,ue,vektor,objext" --write-changes --interactive=2
and manual editing.
2022-07-07 23:56:22 +02:00
PianetaRadio 4544214c3a
GS23 Azimuth 2022-05-27 09:13:18 +02:00
PianetaRadio d529881cdb
GS23 Azimuth only 2022-05-27 09:08:28 +02:00
Mike Black W9MDB b1a4bb06ce Astyle files 2022-05-21 13:23:51 -05:00
Mike Black W9MDB da28af73e6 Update informatino for GRBLTRK rotor 2022-05-17 09:10:40 -05:00
wuxx e9fb733dae add new rotator grbltrk
Changes to be committed:
	modified:   Android.mk
	modified:   configure.ac
	modified:   include/hamlib/rotlist.h
	new file:   rotators/grbltrk/Android.mk
	new file:   rotators/grbltrk/Makefile.am
	new file:   rotators/grbltrk/grbltrk.c
	modified:   src/rot_reg.c
2022-05-17 13:23:44 +08:00
Mike Black W9MDB ff5682ea7e Upgrade rotors from BETA to STABLE and ALPHA to BETA -- assuming no news is good news 2022-04-16 17:39:50 -05:00
Mike Black W9MDB acf80cea37 Update rotors from Untested to Alpha 2022-03-29 16:07:21 -05:00
Mike Black W9MDB e44ed57b1e Promote easycomm to BETA 2022-03-29 13:23:17 -05:00
Mike Black W9MDB 25809ca903 Promote ioptron to BETA 2022-03-29 13:22:43 -05:00
Mike Black W9MDB 7aa0ba961f Promote rotorez to BETA 2022-03-29 13:22:07 -05:00
Mike Black W9MDB 590ddd7b82 Promote indi to BETA 2022-03-29 13:21:36 -05:00
Mike Black W9MDB 3f6edf3808 Promote satel to BETA 2022-03-29 13:20:37 -05:00
Mike Black W9MDB 02f10b34f6 Promote gs232 to BETA 2022-03-29 13:20:08 -05:00
Mike Black W9MDB e70db413a0 Fix gs232.c to allow \r as well as \n for Green Heron GS232B emulation
https://github.com/Hamlib/Hamlib/issues/962
2022-02-12 16:49:50 -06:00
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
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
Michael Black W9MDB c3c1aa9998 Register rc2800 rotator
https://github.com/Hamlib/Hamlib/issues/451
2020-11-28 17:03:28 -06:00
Michael Black W9MDB c16be1c264 Add M2 RC2800 Az-only model
Promote RC2800 to stable
https://github.com/Hamlib/Hamlib/issues/451
2020-11-28 16:59:55 -06:00
Michael Black W9MDB d1f857c131 Remove echo expectation from rc2800 rotor
https://github.com/Hamlib/Hamlib/issues/451
2020-11-27 14:35:15 -06:00
Michael Black W9MDB 4c87229e65 Change rc2800 rotator to use CR instead of LF for terminating char
https://github.com/Hamlib/Hamlib/issues/451
2020-11-27 13:21:46 -06:00