OTA中各种定时器的具体值是多少,如何解析?
例如下面这个T3412的具体是多少?
03:20:29.166 [0xB0EC] LTE NAS EMM Plain OTA Incoming Message
pkt_version = 1 (0x1)
rel_number = 9 (0x9)
rel_version_major = 5 (0x5)
rel_version_minor = 0 (0x0)
security_header_or_skip_ind = 0 (0x0)
prot_disc = 7 (0x7) (EPS mobility management messages)
msg_type = 73 (0x49) (Tracking area update accept)
lte_emm_msg
emm_ta_update_accept
eps_update_result = 1 (0x1) (combined TA/LA updated)
t3412_incl = 1 (0x1)
t3412
unit = 2 (0x2)
timer_value = 9 (0x9)
通过协议:24.301
8.2.26 Tracking area update accept
Table 8.2.26.1: TRACKING AREA UPDATE ACCEPT message content
IEI | Information Element | Type/Reference | Presence | Format | Length |
Protocol discriminator | Protocol discriminator 9.2 | M | V | 1/2 | |
Security header type | Security header type 9.3.1 | M | V | 1/2 | |
Tracking area update accept message identity | Message type 9.8 | M | V | 1 | |
EPS update result | EPS update result 9.9.3.13 | M | V | 1/2 | |
Spare half octet | Spare half octet 9.9.2.9 | M | V | 1/2 | |
5A | T3412 value | GPRS timer 9.9.3.16 | O | TV | 2 |
50 | GUTI | EPS mobile identity 9.9.3.12 | O | TLV | 13 |
54 | TAI list | Tracking area identity list 9.9.3.33 | O | TLV | 8-98 |
57 | EPS bearer context status | EPS bearer context status 9.9.2.1 | O | TLV | 4 |
9.9.3.16 GPRS timer
See subclause 10.5.7.3 in 3GPP TS 24.008 [13].
可以找到最终解析定时器的位置在
24.008:
10.5.7.3 GPRS Timer
The purpose of the GPRS timer information element is to specify GPRS specific timer values, e.g. for the READY timer.
The GPRS timer is a type 3 information element with 2 octets length.
The GPRS timer information element is coded as shown in figure 10.5.146/3GPP TS 24.008 and table 10.5.172/3GPP TS 24.008.
8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | |||
GPRS Timer IEI | octet 1 | |||||||||
Unit | Timer value | octet 2 |
Figure 10.5.146/3GPP TS 24.008: GPRS Timer information element
Table 10.5.172/3GPP TS 24.008: GPRS Timer information element
Timer value (octet 2) Bits 5 to 1 represent the binary coded timer value. Bits 6 to 8 defines the timer value unit for the GPRS timer as follows: Bits 8 7 6 0 0 0 value is incremented in multiples of 2 seconds 0 0 1 value is incremented in multiples of 1 minute 0 1 0 value is incremented in multiples of decihours 1 1 1 value indicates that the timer is deactivated. Other values shall be interpreted as multiples of 1 minute in this version of the protocol. |
这样就好计算T3412的具体值了:
t3412
unit = 2 (0x2)
timer_value = 9 (0x9)
unit = 2 单位是decihours,即十分之一小时,即6分钟;
timer_value = 9 ;
T3412的具体值 = timer_value *unit = 9*6分钟 = 54分钟。
其它定时器的解析方法一样。