Changes between Initial Version and Version 1 of Configuration


Ignore:
Timestamp:
Oct 5, 2010, 4:28:48 AM (7 years ago)
Author:
kaber
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Configuration

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