I have some difficulties in radio feeback section. I have something like this:
CMD_READ_FREQ=01,01,FE,FE,<A>,E0,03,FD,<R>,0B,<00>,<00>,<00>,<00>,<00>,<rec_byte_6>,<rec_byte_7>,<rec_byte8>,<rec_byte_9>,<rec_byte_10>,<00>
my ic718 reply in 11 bytes format and I don't know how to set paramaters: "rec_byte_6...rec_byte10"
According to this page: http://www.plicht.de/ekki/civ/civ-p32.html
"Frequency data is transferred using the BCD (binary coded decimal) code. For historical reasons there are two data lengths used: 4 and 5 bytes. Practically all rigs use 5 bytes of data, only one old model uses 4-byte length: the IC-735 (IC-731 in Japan). Most rigs can be set to 'IC-731' compatibility, reducing the used data length for frequencies to four bytes.
In the remaining document I will discuss only 5 byte length data formats."
So I consider you have a radio set to 5 byte length.
The frequency digits are packed as BCD (two digits per byte).
The tag used for this is <Dxy>, where x is the digit represented by the bits 7-4 and y the digit represented by the bits 3-0.
For iCOM radios digit numbers are from 0 (Hz), 1 (10Hz) ... 8(100MHz), 9(GHz):
and the digits are transmitted in the following order:
10,32,54,76,98
so for example the frequency 145.225125 MHz is represented as 4 bytes:
25,51,22,45,01
The correct read radio frequency the command is: CMD_READ_FREQ=01,01,FE,FE,<A>,E0,03,FD,<R>,0B,<00>,<00>,<00>,<00>,<00>,<D10>,<D32>,<D54>,<D76>,<D98>,<00>
Hope is more clear now.
73 Dan YO3GGX
In my tests when sending a command to CI-V the command is reflected back (because of the one-wire TX/RX method used in CI-V).
Read Frequency command:
FE FE 90 E0 03 FD
Reply from tranceiver:
FE FE 90 E0 03 FD FE FE E0 90 03 00 50 92 44 01 FD
but this takes only the 2nd byte of the two bytes.
Notice that i have the 7 dummy bytes for the READ_CMD which echoes back , and then the remaining 9 bytes are the tranceiver answer.
how to get 2 bytes and then calibrate S-METER using two bytes?
The following example is for 1 byte only...
CALIB_SMETER=<MAX=255>,<0=0;10=1;17=2;25=3;40=4;52=5;70=6;90=7;115=8;135=9;150=910;170=920;189=930;214=940;226=950;250=960>
Hi Dan,
Ok, i have added many features in IC-2730 config (IC-5100 is almost the same), i have also added most of the read commands (it would be good if they worked too).
Now i am working on the IC-7100 config.
;The next maybe is wrong , is AF Level = MOD ?
CMD_READ_MOD=01,01,FE,FE,<A>,E0,14,01,FD,<R>,10,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<D32>,<D10>,<00>
I still haven't understand how to see PWR SWR etc... are they displayed when replies arrived , or should i tick the meter-bar to select the corresponding type?
I even can provide you direct access to my tranceiver , if that helps.
Please read Monitoring chapter in the jAReC user guide. You can set it to automatically answer to a specific command. In this way you can emulate radio feedback and see if meters are correctly configured (including calibration data).