I'm developing an interface to control a Radio Shack DX-394 that emulates the Drake R8B serial protocol. I'm having problems with the R8B emulation using hamlib rigctl even though Mark Fine's apps RLDB and Smart R8 are fooled into thinking it is a partially functional R8B.
My problem with the R8B interface may be that it is not providing the correct electrical interface on the serial port to allow rigctl to even think a radio is connected. It stalls.
Looking at the backend description in Hamlib (drake/r8b.c), this model requires hardware flow control. So either provide appropriate handling for the CTS/RTS signals, or lookback RTS onto CTS on the PC side.
Another solution is to pass "-C serial_handshake=None" to rigctl, in order to disable flow control.
73, Stphane - F8CFE
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If I had enough of the right 9-pin/25-pin adapters to put my breakout box in line I would have gotten here sooner. Jumpering the DCD-DTR lines together made the difference (pins 1-4 on my emulator). I had previously jumpered DTR-CTS (pins 4-8) which might be unneeded and DSR-RTS (pins 6-7) as required for the HC908 daughter card serial interface.
73, Tom
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm developing an interface to control a Radio Shack DX-394 that emulates the Drake R8B serial protocol. I'm having problems with the R8B emulation using hamlib rigctl even though Mark Fine's apps RLDB and Smart R8 are fooled into thinking it is a partially functional R8B.
My problem with the R8B interface may be that it is not providing the correct electrical interface on the serial port to allow rigctl to even think a radio is connected. It stalls.
Here's what rigctl lists:
-------------------------------------------------------------------------
C:\dvlp\DReaMcvs\drm\windows>rigctl -vvvvv -m 903 -r COM4 -s 9600
rigctl, Hamlib version 1.2.3
Report bugs to <hamlib-developer@lists.sourceforge.net>
rig:rig_init called
rig: loading backend drake
drake: _init called
rig_register (902)
rig_register (903)
rig:rig_open called
(stalls here)
-------------------------------------------------------------------------
Any advice?
73, Tom VE3MEO
Looking at the backend description in Hamlib (drake/r8b.c), this model requires hardware flow control. So either provide appropriate handling for the CTS/RTS signals, or lookback RTS onto CTS on the PC side.
Another solution is to pass "-C serial_handshake=None" to rigctl, in order to disable flow control.
73, Stphane - F8CFE
If I had enough of the right 9-pin/25-pin adapters to put my breakout box in line I would have gotten here sooner. Jumpering the DCD-DTR lines together made the difference (pins 1-4 on my emulator). I had previously jumpered DTR-CTS (pins 4-8) which might be unneeded and DSR-RTS (pins 6-7) as required for the HC908 daughter card serial interface.
73, Tom