kopia lustrzana https://github.com/Hamlib/Hamlib
IC-7100 is sending 0xe1 for broadcast frames so add 0xe1 as an async packet type
https://github.com/Hamlib/Hamlib/issues/1575pull/1584/head
rodzic
660bfcb1d9
commit
388a18e5da
|
@ -206,11 +206,6 @@ again1:
|
|||
RETURNFUNC(-RIG_EPROTO);
|
||||
}
|
||||
|
||||
if (buf[2] == 0xe1)
|
||||
{
|
||||
rig_debug(RIG_DEBUG_VERBOSE, "%s: async packet? Read again\n", __func__);
|
||||
goto again1;
|
||||
}
|
||||
if (icom_is_async_frame(rig, frm_len, buf))
|
||||
{
|
||||
icom_process_async_frame(rig, frm_len, buf);
|
||||
|
|
|
@ -8970,7 +8970,8 @@ int icom_is_async_frame(RIG *rig, size_t frame_length,
|
|||
}
|
||||
|
||||
/* Spectrum scope data is not CI-V transceive data, but handled the same way as it is pushed by the rig */
|
||||
return frame[2] == BCASTID || (frame[2] == CTRLID && frame[4] == C_CTL_SCP
|
||||
// IC-7100 sends 0xe1 for broadcast frame?
|
||||
return frame[2] == 0xe1 || frame[2] == BCASTID || (frame[2] == CTRLID && frame[4] == C_CTL_SCP
|
||||
&& frame[5] == S_SCP_DAT);
|
||||
}
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
#include <sys/time.h>
|
||||
#endif
|
||||
|
||||
#define BACKEND_VER "20240704"
|
||||
#define BACKEND_VER "20240705"
|
||||
|
||||
#define ICOM_IS_ID31 rig_is_model(rig, RIG_MODEL_ID31)
|
||||
#define ICOM_IS_ID51 rig_is_model(rig, RIG_MODEL_ID51)
|
||||
|
|
Ładowanie…
Reference in New Issue