如何實(shí)現(xiàn)DS34S132與其它TDMoP器件的互操作
圖2. UDP/IPv4報(bào)頭。
表2. IPv4報(bào)頭結(jié)構(gòu)
Field | Description |
IPVER | IP version number; IPv4 IPVER = 4 |
IHL | Length in 32-bit words of the IP Header, IHL = 5 |
IP TOS | IP type of service |
Total length | Length in octets of IP Header and data |
Identification | IP fragmentation identification |
Flags | IP control flags; must be set to 010 to avoid fragmentation |
Fragment offset | Indicates where in the datagram the fragment belongs; not used for TDMoP |
Time to live | IP time-to-live field; datagrams with zero in this field are discarded |
Protocol | Must be set to 0x11 to signify UDP |
IP Header checksum | Checksum for the IP Header |
Source IP address | IP address of the source |
Destination IP address | IP address of the destination |
表3. UDP報(bào)頭結(jié)構(gòu)
Field | Description |
Source port number, destination port number | Either the source or the destination port number holds the bundle identifier. The unused field can be set to 0x85E (2142), which is the user's port number assigned to TDMoP by the Internet Assigned Numbers Authority (IANA). For UDP/IP-specific OAM packets, the bundle identifier is all 1s. |
UDP length | Length in octets of UDP Header and data |
UDP checksum | Checksum of UDP/IP Header and data. If not computed, it must be set to zero. |
根據(jù)IANA規(guī)定,UDP報(bào)頭的目標(biāo)端口應(yīng)設(shè)定為0x85E (2142),這是分配給TDMoP的用戶端口號(hào)。Maxim TDMoP器件默認(rèn)遵循該規(guī)范。
部分TDMoP廠商在UDP報(bào)中的目標(biāo)端口號(hào)位置分配一個(gè)綁定標(biāo)識(shí)號(hào),而不是在源端口號(hào)位置。有些廠商還分配一個(gè)隨機(jī)號(hào)作為用戶端口號(hào),而不是采用IANA分配的0x85E。使用DS34S132時(shí),用戶可采用兩種方式解決這些問題。
- 在預(yù)配置菜單中,將全部綁定標(biāo)識(shí)號(hào)賦予相應(yīng)的位置。
- 向綁定引擎表明綁定標(biāo)識(shí)號(hào)在接收數(shù)據(jù)包中的位置。
- RTP報(bào)頭互操作性
RTP報(bào)頭
Field Description V RTP version; must be set to 2. P Padding bit; must be set to 0. X
相關(guān)推薦
-
soothmusic | 2012-05-06
-
-
star800 | 2007-09-29
技術(shù)專區(qū)
- FPGA
- DSP
- MCU
- 示波器
- 步進(jìn)電機(jī)
- Zigbee
- LabVIEW
- Arduino
- RFID
- NFC
- STM32
- Protel
- GPS
- MSP430
- Multisim
- 濾波器
- CAN總線
- 開關(guān)電源
- 單片機(jī)
- PCB
- USB
- ARM
- CPLD
- 連接器
- MEMS
- CMOS
- MIPS
- EMC
- EDA
- ROM
- 陀螺儀
- VHDL
- 比較器
- Verilog
- 穩(wěn)壓電源
- RAM
- AVR
- 傳感器
- 可控硅
- IGBT
- 嵌入式開發(fā)
- 逆變器
- Quartus
- RS-232
- Cyclone
- 電位器
- 電機(jī)控制
- 藍(lán)牙
- PLC
- PWM
- 汽車電子
- 轉(zhuǎn)換器
- 電源管理
- 信號(hào)放大器
評論