在3gpp协议中,描述ie的length的时候有这么一句话:
For all the length fields, bit 8 of the lowest numbered octet is the most significant bit and bit 1 of the highest numbered octet is the least significant bit.
这个是大致是啥含义? 作者: hrbqby 时间: 2013-8-27 13:21:47
附带协议TS29060:
7.7.0 General
A GTP Signalling message may contain several information elements. The TLV (Type, Length, Value) or TV (Type,
Value) encoding format shall be used for the GTP information elements. The information elements shall be sorted, with
the Type fields in ascending order, in the signalling messages. The Length field contains the length of the information
element excluding the Type and Length field.
For all the length fields, bit 8 of the lowest numbered octet is the most significant bit and bit 1 of the highest numbered
octet is the least significant bit. Within information elements, certain fields may be described as spare. These bits shall be transmitted with the value
defined for them. To allow for future features, the receiver shall not evaluate these bits.
The most significant bit in the Type field is set to 0 when the TV format is used and set to 1 for the TLV format. 作者: hycl5410 时间: 2013-8-27 16:11:22
5 Transmission Order and Bit Definitions
The messages in this document shall be transmitted in network octet order starting with octet 1. Where information elements are repeated within a message the order shall be determined by the order of appearance in the table defining the information elements in the message.
The most significant bit of an octet in a GTP message is bit 8. If a value in a GTP message spans several octets and nothing else is stated, the most significant bit is bit 8 of the octet with the lowest number.