Skip to contentSkip to conversation

soundmodem parameter definitions

DISCUSSION Mike Markowski 2 participants 2 messages Feb 20, 2004

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 4 lines · Mike Markowski

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.

Quoted 3 lines

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.

Quoted 5 lines

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.

Quoted 3 lines

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

Signature · 1 line
Tomi Manninen / OH2BNS / KP20ME04