Re: [Hamlib-developer] feedback from RC2800 rotator -- solved
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: <si...@ta...> - 2011-11-30 18:04:16
|
By having a look at the rc2800.c I eventually discovered rotctl was expecting a command echo prior to reply from device.Furthermore, while rotctl sends to the rotator <CR> terminated lines, it expects <CR><LF> terminated feedbacks. Just replying to myself in case anybody stumbles in the same issue in the future. 73Stefano IZ0MJE "read the source Luke" Da: "si...@ta..." si...@ta... A: ham...@li... Cc: Data: Tue, 29 Nov 2011 20:59:56 +0100 Oggetto: [Hamlib-developer] feedback from RC2800 rotator > > > Hi,I'm trying to build my own Arduino based rotor controller but I'm banging my head against reading feedback from the unit.I can send commands fine, however it looks like response is never decoded: please find below a session log. > > I found a similar issue with the EasycommII protocol, however in that case I'm not positive about the expected reply format due to little documentation available. > > Any hint would be much appreciated. > > 73Stefano IZ0MJE > > > ----------------rotctl, Hamlib 1.2.14Report bugs to <ham...@li...>rot:rot_init called rot: loading backend m2initrots2_m2 calledrot_register (1001)rot:rot_open called Opened rot model 1001, 'RC2800'Backend version: 0.1, Status: BetaRotator command: prc2800_rot_get_position calledTX 2 bytes0000 41 0d A. RX 12 characters0000 41 31 32 2e 33 20 53 3d 34 20 4d 0d A12.3 S=4 M. read_string: timedout without reading a characterTX 2 bytes0000 41 0d A. RX 12 characters0000 41 31 32 2e 33 20 53 3d 34 20 4d 0d A12.3 S=4 M. read_string: timedout without reading a characterTX 2 bytes0000 41 0d A. RX 12 characters0000 41 31 32 2e 33 20 53 3d 34 20 4d 0d A12.3 S=4 M. read_string: timedout without reading a characterTX 2 bytes0000 41 0d A. RX 12 characters0000 41 31 32 2e 33 20 53 3d 34 20 4d 0d A12.3 S=4 M. read_string: timedout without reading a characterget_pos: error = Communication timed out------------- |