[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help needed with solving an axcall-related problem



On Thu, Jan 13, 2022 at 12:32:28AM +0100 Daniele Forsi wrote:
> Hello Karsten,
> 
> > Test connected mode
> > ===================
> > $ LANG=en axcall cb 13CB42
> > GW4PTS AX.25 Connect v1.11
> > AX25_WINDOW: Invalid argument
> > $ LANG=en axcall cb 13CB42-1
> > GW4PTS AX.25 Connect v1.11
> > AX25_WINDOW: Invalid argument
> 
> I never used axcall but by reading the code I think that you should
> use the -w argument, valid values are 1..63 or 1..7 depending on the
> value of -m that can be either s or e
> 
> 
> This is because there is only one place where the "AX25_WINDOW" error
> message is printed:
> 
> if (setsockopt
>    (fd, SOL_AX25, AX25_WINDOW, &window,
>     sizeof(window)) == -1) {
> perror("AX25_WINDOW");
> close(fd);
> fd = -1;
> return -1;
> }
> 
> https://salsa.debian.org/debian-hamradio-team/ax25-apps/-/blob/master/call/call.c#L677

Hello Daniele,

many thanks for your help.  I've tried passing all values from 1 to 7 with
'-w' in both modes (i.e. with '-m s' and with '-m e'), but axcall still
always gives the same error message.  Examples:

$ LANG=en axcall -m s -w 3 cb 13CB42
GW4PTS AX.25 Connect v1.11
AX25_WINDOW: Invalid argument
$ LANG=en axcall -m e -w 7 cb 13CB42
GW4PTS AX.25 Connect v1.11
AX25_WINDOW: Invalid argument

Do you perhaps have an idea what else could be the source of the problem?

Regards,
Karsten
-- 
Hiermit widerspreche ich ausdrücklich der Nutzung sowie der Weitergabe
meiner personenbezogenen Daten für Zwecke der Werbung sowie der Markt-
oder Meinungsforschung.


Reply to: