Tim, Below are the pertinent lines from the rpt.conf. As to the CIV..... As we sit now, if I send a *017 command (supposed to load 146.520 simplex), the debug output says this: String output was �� �'Ms: FE FE 20 E0 08 01 FD Which from what I find online says that function 08 is set memory mode. I think, the string should be : FE FE 20 E0 05 00 00 52 06 14 FD . Function 05 being set frequency with acknowledgment. Or possibly FE FE 20 E0 00 00 0 052 06 14 FD . Function 00 be set frequency without acknowledgment. To prove this out, I'll make a file with only those values in it with a hex editor, and blow it out ttyS0 to the xcat and see what happens. I'll anxiously await to see if anything is wrong. functions = functions-remote phone_functions = functions-remote lconn = PP3=1 ; Turn ON Fan ldisc = PP3=0 ; Turn OFF Fan memory = memory ; Section to hold memory entries (optional) remote = xcat ; Radio Command format ; remote=ft897 for Yaesu FT-897 or ; remote=rbi for Doug Hall RBI1 ; remote=kenwood for Kenwood mobiles such as the TMG707A ; remote=ic706 for the Icom IC-706 ; remote=xcat for Syntor X with XCAT board civaddr = 32 ; CI-V address in DECIMAL ioport = /dev/ttyS0 ; Specify port for serial port (optional) iospeed = 19200 ; COMM port speed dusbabek = yes ; either you need it or you don't authlevel = 0 ; Remote base authentication level ; authlevel = 0 : Anyone can use it ; authlevel = 1 : Requires log in, Waits for Tx key to ask for it ; authlevel = 2 : Requires log in, asks for it automously ;mars = 1 ; set=1 for IC-706 w/MARS mods (optional) ; remote_inact_timeout=0 ; Inactivity timer for remote base nodes only (set to 0 to disable). remote_timeout=5400 ; Session time out for remote base. (set to 0 to disable) split2m = 600 ; Set the default tx split to 600 KC [functions-remote] 0=remote,1 ; Retrieve Memory 1=remote,2 ; Set freq. example : *1146*520*1 for 146.520 (-) Split ; *1146*970*2 for 146.970 ( ) Simplex ; *1147*330*3 for 147.330 (+) Split 2=remote,3 ; Set tx PL tone 3=remote,4 ; Set rx PL tone 5=macro,1 ; Call MACROS 40=remote,100 ; Rx PL off 41=remote,101 ; Rx PL on 42=remote,102 ; Tx PL off 43=remote,103 ; Tx PL on 44=remote,104 ; Low Power 45=remote,105 ; Medium Power 46=remote,106 ; High Power 711=remote,107 ; Bump -20 714=remote,108 ; Bump -100 717=remote,109 ; Bump -500 713=remote,110 ; Bump +20 716=remote,111 ; Bump +100 719=remote,112 ; Bump +500 721=remote,113 ; Scan - slow 724=remote,114 ; Scan - quick 727=remote,115 ; Scan - fast 723=remote,116 ; Scan + slow 726=remote,117 ; Scan + quick 729=remote,118 ; Scan + fast 79=remote,119 ; Tune (brief AM transmission for automatic antenna tuner) 61=remote,5 ; Long status query 62=remote,140 ; Short status query 67=remote,210 ; Send a * 69=remote,211 ; Send a # 91=remote,99,CALLSIGN,LICENSETAG ; Remote base login. [memory] ; Memories for remote bases ;Syntax : CC=RRR.RRR,PPP.P,AAAAA ; C=Channel Number ; R=RX Frequency ; P=PL Frequency ; A=Attributes ; ;Attributes : a=AM b=LSB f=FM u=USB ; l=Low Power m=Medium Power h=High Power ; -=Minus TX Offset s=Simplex +=Plus TX Offset ; t=TX PL on r=RX PL on ; init=145.670,123.0,shrt ;Set to this on startup 00=145.510,123.0,sht ;Simplex, High Power, PL Encode 01=145.530,123.0,sht ;Simplex, High Power, PL Encode 02=145.550,123.0,sht ;Simplex, High Power, PL Encode 03=145.570,123.0,sht ;Simplex, High Power, PL Encode <SNIP> 17=146.520,123.0,sht ;National Simplex/Calling <SNIP> -- Robert A. Poff Loganville, PA S/V Loon 1983 Hunter 34 Havre de Grace, MD. WB3AWJ - Allstar 27784 Powered by Linux On Thu, 2013-08-01 at 15:46 -0700, Tim Sawyer wrote:
Maybe you have something wrong with your remote [functions] stanza. Let's see that that looks like on your system.
-- Tim :wq
On Aug 1, 2013, at 3:19 PM, Robert A. Poff WB3AWJ <wb3awj@comcast.net> wrote:
Still digging on my Agile Remote.
Acid with a Syntor X and XCAT. When I try to set a frequency, it's sending the CIV string to retrieve a memory from the radio. Not the string needed to set it from one of the memory entries in rpt.conf.
Running Asterisk in the foreground with all the debug turned up here's what I see on the console executing a *017 command :
@@@@ action: remote, param = 1 @@@@ table index i = 5 [Aug 1 15:06:09] NOTICE[2718]: app_rpt.c:17558 function_remote: 28260 param=1 digitbuf=17 source=2 [Aug 1 15:06:09] NOTICE[2718]: app_rpt.c:17483 get_mem_set: digitbuf=17 [Aug 1 15:06:09] NOTICE[2718]: app_rpt.c:4225 retrieve_memory: memory=17 block=memory [Aug 1 15:06:09] NOTICE[2718]: app_rpt.c:10476 rpt_telemetry: Tracepoint rpt_telemetry() entered mode=38 [Aug 1 15:06:09] NOTICE[2718]: app_rpt.c:10760 rpt_telemetry: Tracepoint rpt_telemetry() exit [Aug 1 15:06:09] NOTICE[2718]: app_rpt.c:17486 get_mem_set: freq=146.520 res=0 [Aug 1 15:06:09] NOTICE[2718]: app_rpt.c:12849 collect_function_digits: rv=3 [Aug 1 15:06:09] NOTICE[2718]: app_rpt.c:10476 rpt_telemetry: Tracepoint rpt_telemetry() entered mode=3 [Aug 1 15:06:09] NOTICE[2718]: app_rpt.c:10760 rpt_telemetry: Tracepoint rpt_telemetry() exit Mode [Aug 1 15:06:09] NOTICE[2731]: app_rpt.c:13870 serial_remote_io: ioport=/dev/ttyS0 baud=14 iofd=0x19 String output was �� �'Ms: FE FE 20 E0 08 01 FD [Aug 1 15:06:09] NOTICE[2732]: app_rpt.c:8420 wait_interval: Delay interval = 2000 [Aug 1 15:06:10] WARNING[2731]: app_rpt.c:13910 serial_remote_io: -99999 Serial device not responding on node 28260 Offset Initial/Simplex Frequency Offset CTCSS Frequency [Aug 1 15:06:10] NOTICE[2731]: app_rpt.c:8420 wait_interval: Delay interval = 2000 [Aug 1 15:06:11] NOTICE[2732]: app_rpt.c:8424 wait_interval: Delay complete -- Hungup 'Zap/pseudo-1521668112' [Aug 1 15:06:12] NOTICE[2731]: app_rpt.c:8424 wait_interval: Delay complete -- <Zap/pseudo-1162233705> Playing 'rpt/invalid-freq' (language 'en')
At one point I added a statement to printf myrpt->remoterig variable in the check_freq function. It returned "myrpt->remoterig=Mode" ????? Shouldn't that be "xcat", or "remote_rig_xcat" ?
Any suggestions where I should be looking?
Robert A. Poff Loganville, PA.
"Lieutenant, target the offending power boat and launch photon torpedoes"
_______________________________________________ App_rpt-users mailing list App_rpt-users@ohnosec.org http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users