kopia lustrzana https://github.com/Hamlib/Hamlib
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/371pull/453/head
rodzic
5fc36df249
commit
f8790337d3
|
@ -42,7 +42,7 @@
|
|||
#include "gs232a.h"
|
||||
|
||||
#define EOM "\r"
|
||||
#define REPLY_EOM "\r\n"
|
||||
#define REPLY_EOM "\n"
|
||||
|
||||
#define BUFSZ 64
|
||||
|
||||
|
@ -292,7 +292,7 @@ const struct rot_caps gs23_rot_caps =
|
|||
ROT_MODEL(ROT_MODEL_GS23),
|
||||
.model_name = "GS-23",
|
||||
.mfg_name = "Yaesu/Kenpro",
|
||||
.version = "20200617.0",
|
||||
.version = "20201201.0",
|
||||
.copyright = "LGPL",
|
||||
.status = RIG_STATUS_STABLE,
|
||||
.rot_type = ROT_TYPE_AZEL,
|
||||
|
@ -328,7 +328,7 @@ const struct rot_caps gs232_rot_caps =
|
|||
ROT_MODEL(ROT_MODEL_GS232),
|
||||
.model_name = "GS-232",
|
||||
.mfg_name = "Yaesu/Kenpro",
|
||||
.version = "20200605.0",
|
||||
.version = "20201201.0",
|
||||
.copyright = "LGPL",
|
||||
.status = RIG_STATUS_STABLE,
|
||||
.rot_type = ROT_TYPE_AZEL,
|
||||
|
@ -364,7 +364,7 @@ const struct rot_caps gs232a_rot_caps =
|
|||
ROT_MODEL(ROT_MODEL_GS232A),
|
||||
.model_name = "GS-232A",
|
||||
.mfg_name = "Yaesu",
|
||||
.version = "20200505.0",
|
||||
.version = "20201205.0",
|
||||
.copyright = "LGPL",
|
||||
.status = RIG_STATUS_BETA,
|
||||
.rot_type = ROT_TYPE_OTHER,
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
#include "gs232a.h"
|
||||
|
||||
#define EOM "\r"
|
||||
#define REPLY_EOM "\r\n"
|
||||
#define REPLY_EOM "\n"
|
||||
|
||||
#define BUFSZ 64
|
||||
|
||||
|
@ -329,7 +329,7 @@ const struct rot_caps gs232b_rot_caps =
|
|||
ROT_MODEL(ROT_MODEL_GS232B),
|
||||
.model_name = "GS-232B",
|
||||
.mfg_name = "Yaesu",
|
||||
.version = "20200617.0",
|
||||
.version = "20201201.0",
|
||||
.copyright = "LGPL",
|
||||
.status = RIG_STATUS_STABLE,
|
||||
.rot_type = ROT_TYPE_OTHER,
|
||||
|
|
Ładowanie…
Reference in New Issue