Project

General

Profile

Configuration » History » Version 2

laforge, 01/02/2022 04:12 PM
initial import after manual conversion from trac

1 1 laforge
h1. Configuration
2 2 laforge
3
Currently the netlink API example programs in [wiki:libnl] contained in the src/ directory are used for configuration.
4
5
Configuration consists of two steps: creating and configuring a DECT cluster and application specific configuration.
6
7
A cluster consists of one or more cells, each containing one or more transceivers. Currently only single-cell systems are supported though.
8
9
h2. Cluster configuration
10
11
To create a cluster, use the dect-cluster-add command:
12
13
<pre>
14
# dect-cluster-add --name cluster0 --mode fp --emc 0x1182 --fpn 0x0fac3
15
</pre>
16
17
The mode can be either FP for a fixed part, or PP for a portable part. The EMC and FPN specify the ID of the Fixed Part, in PP mode the cluster will scan for a matching FP and lock to its signal. For portable parts it is additionally possible to configure the cluster to "monitor" mode, in which the traffic bearers of all other portable parts will be received, by specifying "--flags monitor".
18
19
The cluster configuration can be shown using the dect-cluster-list command:
20
21
<pre>
22
# dect-cluster-list 
23
1: DECT Cluster cluster0:
24
	Mode: FP
25
	PARI: class A (residential) EMC: 1182 FPN: 0fac3
26
</pre>
27
28
The cluster can be removed again using the dect-cluster-delete command:
29
30
<pre>
31
# dect-cluster-delete --name cluster0
32
</pre>
33
34
35
h2. Cell configuration ==
36
37
Cells always exist in the context of a cluster. They can be created using the dect-cell-add command:
38
39
<pre>
40
# dect-cell-add --name cell0 --cluster cluster0
41
</pre>
42
43
To actually do something useful, one or more transceivers need to be attached to a cell using the
44
dect-transceiver-bind command. Attaching multiple transceivers is only valid if the cluster is
45
operating in FP mode:
46
47
<pre>
48
# dect-transceiver-bind --transceiver trx0 --cell cell0
49
# dect-transceiver-bind --transceiver trx1 --cell cell0
50
# dect-transceiver-bind --transceiver trx2 --cell cell0
51
</pre>
52
53
Similar to clusters, cells can be displayed using the dect-cell-list command:
54
55
<pre>
56
1: DECT Cell cell0@cluster0:
57
	Transceiver: trx0
58
	Transceiver: trx1
59
	Transceiver: trx2
60
</pre>
61
62
The cell can be removed again using the dect-cell-delete command:
63
64
<pre>
65
# dect-cell-delete --name cell0
66
</pre>
67
68
h2. Misc
69
70
To find the ID of an existing station, the dect-llme-scan command can be used. This is only
71
valid in PP mode:
72
73
<pre>
74
# dect-llme-scan --cluster cluster0
75
Requested: SCAN-req: 
76
1: Station: MAC_INFO-ind: 
77
	ARI: class A (residential) EMC: 0aa1 FPN: 0f732 RPN: 0 signal level: -69.24dBm
78
	MAC layer capabilities: extended_fp_info,full_slot,page_repetition,basic_a_field_setup,in_min_delay
79
	Extended MAC layer capabilities: prolonged_preamble
80
	Higher layer capabilities: adpcm_g721_voice,gap_pap_basic_speech,standard_authentication,standard_ciphering,location_registration
81
82
2: Station: MAC_INFO-ind: 
83
	ARI: class A (residential) EMC: 022f FPN: 197da RPN: 0 signal level: -48.29dBm
84
	MAC layer capabilities: full_slot,page_repetition,basic_a_field_setup,in_min_delay
85
	Higher layer capabilities: adpcm_g721_voice,gap_pap_basic_speech,standard_authentication,location_registration
86
87
3: Station: MAC_INFO-ind: 
88
	ARI: class A (residential) EMC: 09fd FPN: 0f3ac RPN: 0 signal level: -72.29dBm
89
	MAC layer capabilities: extended_fp_info,full_slot,page_repetition,basic_a_field_setup,in_min_delay
90
	Extended MAC layer capabilities: prolonged_preamble,
91
	Higher layer capabilities: adpcm_g721_voice,gap_pap_basic_speech,standard_authentication,standard_ciphering,location_registration,ciss_service
92
93
4: Station: MAC_INFO-ind: 
94
	ARI: class A (residential) EMC: 0fe5 FPN: 08dd5 RPN: 0 signal level: -70.18dBm
95
	MAC layer capabilities: full_slot,page_repetition,basic_a_field_setup,in_min_delay
96
	Higher layer capabilities: adpcm_g721_voice,gap_pap_basic_speech,standard_authentication,location_registration
97
...
98
</pre>
99
100
To verify whether a given station is your own, put it into pairing mode (usually by pressing a button on the station) and
101
look for the "access_rights_requests" higher layer capability.
102
103
To list registered transceivers and get some status information while a cluster is running, the dect-transceiver-list
104
command can be used. In the example below trx0 is the primary transceiver of a system using 10 transceivers and is
105
scanning for PP bearer setup attempts on slots 12-23 (PP normal transmit slots). The dummy bearer is transmitted on
106
slot 10. trx9 is the last transceiver of the cell and is receiving the dummy bearer of the primary transceiver for
107
clock synchronization on slot 10, additionally it has one active traffic bearer on slot-pair 0/12.
108
109
<pre>
110
# dect-transceiver-list --name trx0
111
DECT Transceiver trx0@cell0:
112
	Type: sc1442x
113
	RF-band: 00000
114
	Events: busy: 0 late: 0
115
116
	slot 0: <idle> carrier: 4 (1890.432 MHz)
117
	    RX: bytes 0 packets 0 a-crc-errors 0 x-crc-errors 0 z-crc-errors 0
118
	    TX: bytes 0 packets 0
119
	slot 2: <idle> carrier: 4 (1890.432 MHz)
120
	    RX: bytes 0 packets 0 a-crc-errors 2 x-crc-errors 0 z-crc-errors 0
121
	    TX: bytes 0 packets 0
122
	slot 4: <idle> carrier: 4 (1890.432 MHz)
123
	    RX: bytes 0 packets 0 a-crc-errors 0 x-crc-errors 0 z-crc-errors 0
124
	    TX: bytes 0 packets 0
125
	slot 6: <idle> carrier: 4 (1890.432 MHz)
126
	    RX: bytes 8 packets 1 a-crc-errors 2 x-crc-errors 0 z-crc-errors 0
127
	    TX: bytes 0 packets 0
128
	slot 8: <idle> carrier: 4 (1890.432 MHz)
129
	    RX: bytes 0 packets 0 a-crc-errors 1 x-crc-errors 0 z-crc-errors 0
130
	    TX: bytes 0 packets 0
131
	slot 10: <tx> carrier: 8 (1883.520 MHz)
132
	    RX: bytes 0 packets 0 a-crc-errors 0 x-crc-errors 0 z-crc-errors 0
133
	    TX: bytes 39680 packets 4960
134
	slot 12: <scanning> carrier: 1 (1895.616 MHz)
135
	    RX: bytes 12348 packets 252 a-crc-errors 231 x-crc-errors 220 z-crc-errors 212
136
	    TX: bytes 0 packets 0
137
	slot 14: <scanning> carrier: 1 (1895.616 MHz)
138
	    RX: bytes 16807 packets 343 a-crc-errors 236 x-crc-errors 211 z-crc-errors 215
139
	    TX: bytes 0 packets 0
140
	slot 16: <scanning> carrier: 1 (1895.616 MHz)
141
	    RX: bytes 14798 packets 302 a-crc-errors 255 x-crc-errors 240 z-crc-errors 230
142
	    TX: bytes 0 packets 0
143
	slot 18: <scanning> carrier: 0 (1897.344 MHz)
144
	    RX: bytes 11172 packets 228 a-crc-errors 210 x-crc-errors 193 z-crc-errors 188
145
	    TX: bytes 0 packets 0
146
	slot 20: <scanning> carrier: 0 (1897.344 MHz)
147
	    RX: bytes 9800 packets 200 a-crc-errors 200 x-crc-errors 188 z-crc-errors 172
148
	    TX: bytes 0 packets 0
149
	slot 22: <scanning> carrier: 0 (1897.344 MHz)
150
	    RX: bytes 11270 packets 230 a-crc-errors 230 x-crc-errors 222 z-crc-errors 209
151
	    TX: bytes 0 packets 0
152
153
# dect-transceiver-list --name trx9
154
DECT Transceiver trx9@cell0:
155
	Type: sc1442x
156
	RF-band: 00000
157
	Events: busy: 0 late: 2587
158
	slot 0: <tx> carrier: 2 (1893.888 MHz)
159
	    RX: bytes 320 packets 40 a-crc-errors 1 x-crc-errors 0 z-crc-errors 0
160
	    TX: bytes 1776 packets 37
161
	slot 2: <idle> carrier: 0 (1897.344 MHz)
162
	    RX: bytes 0 packets 0 a-crc-errors 0 x-crc-errors 0 z-crc-errors 0
163
	    TX: bytes 0 packets 0
164
	slot 4: <idle> carrier: 0 (1897.344 MHz)
165
	    RX: bytes 0 packets 0 a-crc-errors 0 x-crc-errors 0 z-crc-errors 0
166
	    TX: bytes 0 packets 0
167
	slot 6: <idle> carrier: 0 (1897.344 MHz)
168
	    RX: bytes 0 packets 0 a-crc-errors 0 x-crc-errors 0 z-crc-errors 0
169
	    TX: bytes 0 packets 0
170
	slot 8: <idle> carrier: 0 (1897.344 MHz)
171
	    RX: bytes 0 packets 0 a-crc-errors 0 x-crc-errors 0 z-crc-errors 0
172
	    TX: bytes 0 packets 0
173
	slot 10: <rx,sync> carrier: 9 (1881.792 MHz +0.569 kHz) signal level: -41.94dBm
174
	    RX: bytes 2600 packets 325 a-crc-errors 0 x-crc-errors 0 z-crc-errors 0
175
	    TX: bytes 0 packets 0
176
	slot 12: <rx> carrier: 2 (1893.888 MHz +0.083 kHz) signal level: -57.47dBm
177
	    RX: bytes 1764 packets 36 a-crc-errors 0 x-crc-errors 0 z-crc-errors 0
178
	    TX: bytes 0 packets 0
179
	slot 14: <idle> carrier: 0 (1897.344 MHz)
180
	    RX: bytes 0 packets 0 a-crc-errors 0 x-crc-errors 0 z-crc-errors 0
181
	    TX: bytes 0 packets 0
182
	slot 16: <idle> carrier: 0 (1897.344 MHz)
183
	    RX: bytes 0 packets 0 a-crc-errors 0 x-crc-errors 0 z-crc-errors 0
184
	    TX: bytes 0 packets 0
185
	slot 18: <idle> carrier: 0 (1897.344 MHz)
186
	    RX: bytes 0 packets 0 a-crc-errors 0 x-crc-errors 0 z-crc-errors 0
187
	    TX: bytes 0 packets 0
188
	slot 20: <idle> carrier: 0 (1897.344 MHz)
189
	    RX: bytes 0 packets 0 a-crc-errors 0 x-crc-errors 0 z-crc-errors 0
190
	    TX: bytes 0 packets 0
191
	slot 22: <idle> carrier: 0 (1897.344 MHz)
192
	    RX: bytes 0 packets 0 a-crc-errors 0 x-crc-errors 0 z-crc-errors 0
193
	    TX: bytes 0 packets 0
194
195
</pre>
Add picture from clipboard (Maximum size: 48.8 MB)