It returns a 2 byte (4 character) hexadecimal number. The first byte is
the S units in hex. The second byte is the fraction S units in 256ths.
So 0F23 would be 15 sunits with a fractional part of 35/256. The 35 is
decimal for hex 23.
I hope this helps.
Carl Moreschi N4PY
121 Little Bell Dr.
Hays, NC 28635
www.n4py.com
On 7/13/2012 1:40 PM, Martin Ewing wrote:
Hello, all.
I'm using a Jupiter with Hamlib.org interface software, but the Jupiter
driver (which I'm maintaining) needs to know how to deal with the S-meter.
The Ten-Tec programmer's reference (v1.1) claims that "The data format is a
4 byte ascii string. The upper part of the number is the signal strength in
‘S’ units while the lower part is the fractional part of the signal in ‘S’
units. For example: if the radio returns the string ‘S0356’ the signal
strength is 3.56 ‘S’ units."
But this is not what is coming back to me (firmware v1330-538). I get hex
digits ('0' - 'F") not just decimal. Other CAT functions seem normal. If
someone knows the correct way to interpret the ?S results, I'd appreciate
the info. Otherwise, I will have to do some reverse engineering. Doable,
but a pain...
TIA& 73
Martin AA6E
|