PK-232 TECHNICAL MANUAL
CHAPTER 4 – HOST MODE AND SPECIAL APPLICATIONS
PK232TM Rev. A 5/87
4-12
Page 29
4.7.4.2
Persistence: CTL = $02
PERSISTENCE (P) and SLOTTIME work together to establish the time at which the PK-
232 will transmit.
OERSICTENCE is best dexcribed by quoting Phil Karn, KA9Q, directly from his "Raw TNC
Functional Spec".
"Whenever the host has queued data for transmission, the TNC begins monitoring the
carrier detect signal from the modem. It waits indefinitely for this signal to go inactive.
Once the channel is clear, the TNC generates a random number between 0 and 255. If
this number is less than or equal to P, the TNC asserts the transmitter PTT line, waits
.01 # TXDELAY seconds, and transmits all frames in its queue. The TNC then releases
PTT and goes back to the idle state. If the random number is greater than P, the TNC
delays .01 # SLOTTIME seconds and repeats the procedure. If the carrier detect signal
has gone active in the meantime, the TNC again waits for it to clear before continuing.
Note that P=255 means always transmit as soon as possible, regardless of the random
number.
The result is that the TNC waits for an exponentially-distributed random interval afr
sensing that the channel has gone clear before attempting to transmit. The idea here is
that with proper tuning of the parameters P and SLOTTIME, several stations with traffic
to send are much less likely to collide with each other when they simultaneously see
the channel go clear."
The form of the command is:
$C0
$02
n
$C0
FEND CTL
p
FEND
where
n
can be 0-255; the persistence parameter p is the fraction: (n + 1)/256
If
n
= 0,
p = 1/256
(lowest value)
If
n
= 255,
p = (155 + 1)/256 = 1.0
(highest value)
4.7.4.3
SLOTTIME: CTL = $03
The SLOTTIME command controls the slot interval as described above in the PERSIS-
TENCE command.
The form of the command is:
$C0
$03
n
$C0
FEND CTL
SLO
FEND
where
n
is the slot interval in units of 10 milliseconds.
4.7.4.4
TXTAIL: CTL = $04
In both the PK-232's human or verbose mode and the original Host mode, the length of
time between the end of data and the release of the PTT line is determined automati-
cally by the baud rate (HBAUD).
In the KISS protocol, the computer controls this interval.
Содержание PAKRATT PK-232
Страница 75: ...PK 232 TECHNICAL MANUAL APPENDIX C DRAWINGS PK232TM Rev A 5 87 C 1 Page 75 ...
Страница 76: ...PK 232 TECHNICAL MANUAL APPENDIX C DRAWINGS PK232TM Rev A 5 87 C 2 Page 76 ...
Страница 77: ...PK 232 TECHNICAL MANUAL APPENDIX C DRAWINGS PK232TM Rev A 5 87 C 3 Page 77 ...
Страница 78: ...PK 232 TECHNICAL MANUAL APPENDIX C DRAWINGS PK232TM Rev A 5 87 C 4 Page 78 ...
Страница 79: ...PK 232 TECHNICAL MANUAL APPENDIX C DRAWINGS PK232TM Rev A 5 87 C 5 Page 79 ...
Страница 80: ...PK 232 TECHNICAL MANUAL APPENDIX C DRAWINGS PK232TM Rev A 5 87 C 6 Page 80 ...
Страница 81: ...PK 232 TECHNICAL MANUAL APPENDIX C DRAWINGS PK232TM Rev A 5 87 C 7 Page 81 ...
Страница 82: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 1 Page 82 ...
Страница 83: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 2 Page 83 ...
Страница 84: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 3 Page 84 ...
Страница 85: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 4 Page 85 ...
Страница 86: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 5 Page 86 ...
Страница 87: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 6 Page 87 ...
Страница 88: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 7 Page 88 ...
Страница 89: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 8 Page 89 ...
Страница 90: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 9 Page 90 ...
Страница 91: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 10 Page 91 ...
Страница 92: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 11 Page 92 ...
Страница 93: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 12 Page 93 ...
Страница 94: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 13 Page 94 ...
Страница 95: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 14 Page 95 ...
Страница 96: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 15 Page 96 ...
Страница 97: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 16 Page 97 ...
Страница 98: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 17 Page 98 ...
Страница 99: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 18 Page 99 ...
Страница 100: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 19 Page 100 ...
Страница 101: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 20 Page 101 ...