* soundmodem parameter definitions
@ 2004-02-20 14:40 Mike Markowski
2004-02-20 15:23 ` Tomi Manninen
0 siblings, 1 reply; 2+ messages in thread
From: Mike Markowski @ 2004-02-20 14:40 UTC (permalink / raw)
To: Linux Hams
I have a few simple soundmodem questions that I couldn't
answer using Google, and I haven't yet dug into the code. In
soundmodemconfig (using v0.7) I'm trying to get a better
understanding of the parameters:
txDelay: is this the delay between asserting PTT
and start of data transmission?
(My set up with an ICOM 706 MkIIg didn't work
until increasing txDelay to 400 ms)
txTail: delay from end of transmission till deasserting PTT?
I'm using the default 10 ms and my aprs UI packets are
being received by others.
slot time: this one confuses me. I know what traditional slotted
channels are, but it doesn't make sense that a user
would pick the slot length. So I'm guessing this
is something different. Is the default of 100 ms
reasonable? I used 300 ms for no special reason...
pPersistence: I assume this is used by the CSMA backoff
algorithm. Would I ever want to change the
default of 40?
And on a completely unrelated note, if anyone knows of any packet
frequencies to use on HF or in southeastern Pennsylvania, please let
me know. So far I've only been able to use APRS for testing. The
only other nodes I've found locally are FlexNet BBSes, which I don't
know much about except that they reply to SABM+ connection requests
with RR0+ and next with a long packet my soundmodem never seems to
decode. But maybe that's because my txTail or slot time are poorly
chosen... I still have a lot to figure out.
Thanks! I really appreciate all the great help to beginners from
this list.
Mike AB3AP
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: soundmodem parameter definitions
2004-02-20 14:40 soundmodem parameter definitions Mike Markowski
@ 2004-02-20 15:23 ` Tomi Manninen
0 siblings, 0 replies; 2+ messages in thread
From: Tomi Manninen @ 2004-02-20 15:23 UTC (permalink / raw)
To: Mike Markowski; +Cc: Linux Hams
On Fri, 2004-02-20 at 16:40, Mike Markowski wrote:
> txDelay: is this the delay between asserting PTT
> and start of data transmission?
> (My set up with an ICOM 706 MkIIg didn't work
> until increasing txDelay to 400 ms)
Yes. Also, typically HDLC flags are sent during this time to fill
the void.
> txTail: delay from end of transmission till deasserting PTT?
> I'm using the default 10 ms and my aprs UI packets are
> being received by others.
Right again. And again flags are sent.
> slot time: this one confuses me. I know what traditional slotted
> channels are, but it doesn't make sense that a user
> would pick the slot length. So I'm guessing this
> is something different. Is the default of 100 ms
> reasonable? I used 300 ms for no special reason...
This is the minislot width (tau) in the p-Persistent CSMA algorithm.
> pPersistence: I assume this is used by the CSMA backoff
> algorithm. Would I ever want to change the
> default of 40?
And this is the probability p = 40/256.
Proakis, Digital Communications, p. 869:
... In summary, in the p-persistent protocol, a user with a packet
to transmit proceeds as follows.
a) If the channel is sensed idle, the packet is transmitted with
probability p, and with probablility 1-p the transmission is delayed
by tau seconds.
b) If at t=tau, the channel is still sensed to be idle, step a) is
repeated. If a collision occurs, the users schedule retransmission of
the packets according to some preselected transmission delay
distribution.
c) If at t=tau, the channel is sensed busy, the user waits until it
becomes idle, and then operates as in a) and b).
We don't really detect collisions so the CS part is not relevant, but
other than that, this is what happens in soundmodem as well.
The correct parameters depend on the number of users on the channel
and for optimum performance should probably be dynamic. p=40 is not
very aggressive but in my opinion everyone should rather be
un-aggressive than too aggressive...
--
Tomi Manninen / OH2BNS / KP20ME04
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-02-20 15:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-20 14:40 soundmodem parameter definitions Mike Markowski
2004-02-20 15:23 ` Tomi Manninen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox