| 전자부품 데이터시트 검색엔진 |
|
UM0851 데이터시트(PDF) 120 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0851 데이터시트(HTML) 120 Page - STMicroelectronics |
|
120 / 245 page ![]() Communication device drivers UM0851 120/245 Doc ID 16604 Rev 2 4.10.7 Test utilities ● setslot A utility to assign timeslot for HDLC channel. Only useful for TDM/E1 port. Usage: setslot IF DIR SLOT IF := hdlcx DIR := [-]tx/rx ('-' for remove) SLOT := [0-127] Example : # setslot hdlc0 tx 0 TDM/E1:ch0: TS 0 => Chan 0 # setslot hdlc1 tx 1,2 TDM/E1:ch1: TS 1 => Chan 1 TDM/E1:ch1: TS 2 => Chan 1 # setslot hdlc0 rx 0,2-5 TDM/E1:ch0: RS 0 => Chan 0 TDM/E1:ch0: RS 2 => Chan 0 TDM/E1:ch0: RS 3 => Chan 0 TDM/E1:ch0: RS 4 => Chan 0 TDM/E1:ch0: RS 5 => Chan 0 # setslot hdlc1 -tx 1,2 TDM/E1:ch1: Remove Tx TS 1 TDM/E1:ch1: Remove Tx TS 2 # setslot hdlc0 -rx 2-4 TDM/E1:ch0: Remove Rx TS 2 TDM/E1:ch0: Remove Rx TS 3 TDM/E1:ch0: Remove Rx TS 4 ● sethdlc A utility to set HDLC mode. See sethdlc README for detail information. Example : # sethdlc hdlc0 hdlc ● hdlctest A utility to do HDLC transmitting and receiving test. Usage: hdlctest (hdlcX | hdlcX:hdlcY) [number_of_packets [packet_size [test_patten]]] It supports two port tests. If only one port is specified, the tool both transmits and receives on this port. It two ports are specified, the tool transmits on the first ports and try to receive on the second port. 4.10.8 List HDLC channels The HDLC channels are just a network devices in Linux. Use ifconfig command to see them. Example : # ifconfig -a hdlc0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 POINTOPOINT NOARP MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:7 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |