ICOM radios config files

Here we will discuss any subject related to the Android Pocket Transceiver which is available for free download in Google Play Store
User avatar
do1di
Posts: 23
Joined: Sat Mar 25, 2017 4:46 pm
Location: Germany, NRW
Contact:

Re: ICOM radios config files

Post by do1di »

Hi Dan,

Thats was very nice !!!

Was MY Variables <T2>..... an the <R>,11 so correcly ?

So we continue to wait :)

73 DO1DI / Dieter
LakisFM1
Posts: 12
Joined: Sat Feb 24, 2018 9:57 pm

Re: ICOM radios config files

Post by LakisFM1 »

<Multiple posting>
Last edited by LakisFM1 on Thu Mar 01, 2018 11:23 am, edited 1 time in total.
LakisFM1
Posts: 12
Joined: Sat Feb 24, 2018 9:57 pm

Re: ICOM radios config files

Post by LakisFM1 »

<multiple posting>
Last edited by LakisFM1 on Thu Mar 01, 2018 11:23 am, edited 1 time in total.
LakisFM1
Posts: 12
Joined: Sat Feb 24, 2018 9:57 pm

Re: ICOM radios config files

Post by LakisFM1 »

yo3ggx wrote: Mon Nov 28, 2016 9:49 am Hi Pascal,
pascal.fr5dh wrote:hi,

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

So i guess the correct is 17 bytes received:

CMD_READ_FREQ=01,01,FE,FE,<A>,E0,03,FD,<R>,11,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<D10>,<D32>,<D54>,<D76>,<D98>,<00>

Unfortunately so far neither Dan's neither my CMD worked so far :(

EDIT: I think i did my best.i cannot find what else to try.I give up for now ... :oops:
LakisFM1
Posts: 12
Joined: Sat Feb 24, 2018 9:57 pm

Re: ICOM radios config files

Post by LakisFM1 »

Hello Dan,

Well , it seems that i have some kind of communication using the S-Meter command , the S-Meter now flashes randomly.

the command i use is

CMD_READ_SMETER=01,01,FE,FE,<A>,E0,15,02,FD,<R>,10,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<vvvvvvvv>,<00>

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>

73 Lakis.
User avatar
yo3ggx
Site Admin
Posts: 832
Joined: Wed Aug 15, 2012 8:30 pm
Location: Bucharest, România
Contact:

Re: ICOM radios config files

Post by yo3ggx »

Hi Lakis,

I'm working hard to release version 2.1 tomorrow. As soon as a finish this I will take a look at your config.

Thank you for your understanding.
73 Dan YO3GGX
LakisFM1
Posts: 12
Joined: Sat Feb 24, 2018 9:57 pm

Re: ICOM radios config files

Post by LakisFM1 »

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.

Have a nice weekend.
73 Lakis SV2HOS.
User avatar
yo3ggx
Site Admin
Posts: 832
Joined: Wed Aug 15, 2012 8:30 pm
Location: Bucharest, România
Contact:

Re: ICOM radios config files

Post by yo3ggx »

Hi Lakis,

Did Monitoring feature in Pocket RxTx v2 help you with the command definition?

73 Dan YO3GGX
LakisFM1
Posts: 12
Joined: Sat Feb 24, 2018 9:57 pm

Re: ICOM radios config files

Post by LakisFM1 »

Jarec helped me only for the transmitting bytes.I didn't find how to see receiving bytes.

Using a simple serialport terminal i have the icom communication:
(1st line > send, 2nd line > receive)

FE FE 90 E0 03 FD 'Read Operating frequency"
FE FE 90 E0 03 FD FE FE E0 90 03 00 50 92 34 04 FD

FE FE 90 E0 04 FD 'Read Mode"
FE FE 90 E0 04 FD FE FE E0 90 04 05 01 FD

FE FE 90 E0 1C 00 FD 'Read TX/RX status"
FE FE 90 E0 1C 00 FD FE FE E0 90 1C 00 00 FD

FE FE 90 E0 15 02 FD 'Read S-meter level"
FE FE 90 E0 15 02 FD FE FE E0 90 15 02 00 00 FD

FE FE 90 E0 14 0A FD 'Read RF power level (LOW/MID/HIGH"
FE FE 90 E0 14 0A FD FE FE E0 90 14 0A 00 42 FD


FE FE 90 E0 14 01 FD 'Read Volume Level"
FE FE 90 E0 14 01 FD FE FE E0 90 14 01 00 01 FD

FE FE 90 E0 14 03 FD 'Read SQL Level"
FE FE 90 E0 14 03 FD FE FE E0 90 14 03 00 80 FD

FE FE 90 E0 0F FD 'Read DUP mode"
FE FE 90 E0 0F FD FE FE E0 90 0F 10 FD

FE FE 90 E0 0C FD 'Read DUP freq"
FE FE 90 E0 0C FD FE FE E0 90 0C 00 60 07 FD

FE FE 90 E0 16 42 FD 'Read CTCSS Mode"
FE FE 90 E0 16 42 FD FE FE E0 90 16 42 00 FD

FE FE 90 E0 16 43 FD 'Read TSQL Mode"
FE FE 90 E0 16 43 FD FE FE E0 90 16 43 01 FD

FE FE 90 E0 16 4B FD 'Read DTCS Mode"
FE FE 90 E0 16 4B FD FE FE E0 90 16 4B 00 FD

FE FE 90 E0 1B 00 FD 'Read Repeater Tone freq"
FE FE 90 E0 1B 00 FD FE FE E0 90 1B 00 00 06 70 FD

FE FE 90 E0 1B 01 FD 'Read TQSL tone freq"
FE FE 90 E0 1B 01 FD FE FE E0 90 1B 01 00 06 70 FD

FE FE 90 E0 1B 02 FD 'Read DTCS code
FE FE 90 E0 1B 02 FD FE FE E0 90 1B 02 00 00 23 FD

FE FE 90 E0 14 0B FD ' Read Mic Gain"
FE FE 90 E0 14 0B FD FE FE E0 90 14 0B 02 24 FD

FE FE 90 E0 14 16 FD ' Read VOX level"
FE FE 90 E0 14 16 FD FE FE E0 90 14 16 00 11 FD

FE FE 90 E0 15 01 FD 'Read noise/S-meter SQL status"
FE FE 90 E0 15 01 FD FE FE E0 90 15 01 00 FD

FE FE 90 E0 15 05 FD 'Read Tone-SQL and RF SQL status"
FE FE 90 E0 15 05 FD FE FE E0 90 15 05 00 FD

Notice inside the reply the first bytes are the transmitting command.I did take care of them, and added them to the 'ignored bytes'.

Here are the commands i "think" are the correct , but don't work...

CMD_READ_FREQ=02,01,FE,FE,<A>,E0,03,FD,<R>,11,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<D10>,<D32>,<D54>,<D76>,<D98>,<00>
CMD_READ_MODE=01,01,FE,FE,<A>,E0,04,FD,<R>,0E,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<02=AM;05=FM>,<00>,<00>
CMD_READ_PTT=01,01,FE,FE,<A>,E0,1C,00,FD,<R>,0F,<00>,<00>,<00>,<00>,<00>,<00>,<00>, <00>,<00>,<00>,<00>,<00>,<00>,<vvvvvvvv>,<00> ;that vvvvvvvv probably is wrong.
CMD_READ_SMETER=01,01,FE,FE,<A>,E0,15,02,FD,<R>,10,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<D32>,<D10>,<00>
CMD_READ_PWR=01,01,FE,FE,<A>,E0,14,0A,FD,<R>,10,<00>,<00>,<00>,<00>,<00>,<00>,<00>, <00>,<00>,<00>,<00>,<00>,<00>,<D32>,<D10>,<00>
CMD_READ_ALC=01,01,FE,FE,<A>,E0,15,13,FD,<R>,10,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<D32>,<D10>,<00>
CMD_READ_SWR=01,01,FE,FE,<A>,E0,15,12,FD,<R>,10,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<00>,<D32>,<D10>,<00>

;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.

Cheers, Lakis SV2HOS.
User avatar
yo3ggx
Site Admin
Posts: 832
Joined: Wed Aug 15, 2012 8:30 pm
Location: Bucharest, România
Contact:

Re: ICOM radios config files

Post by yo3ggx »

Hi Lakis,

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).

73 Dan YO3GGX
Post Reply