首页 > 其他分享 >LTE SIB12 eWEA消息解析

LTE SIB12 eWEA消息解析

时间:2022-10-03 12:34:16浏览次数:36  
标签:SIB12 00 .... 30 28 eWEA 40 r9 LTE

包含WHAM的SIB12消息:

SIB12数据:
00 40 2e 21 13 00 30 b8 0a 80 24 28 02 22 40 61 22 25 00 61 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 48 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Wireshark解析结果:
messageIdentifier-r9: CMAS CBS Message Identifier for geo-fencing trigger messages (4400)
serialNumber-r9: 030b [bit length 16, 0000 0011  0000 1011 decimal value 779]
    00.. .... .... .... = Geographical Scope: Display mode immediate, cell wide (0)
    ..00 0011 0000 .... = Message Code: 48
    .... .... .... 1011 = Update Number: 11
warningMessageSegmentType-r9: lastSegment (1)
warningMessageSegmentNumber-r9: 0
warningMessageSegment-r9: 012140111203091128030a00000000000000000000000000000000000000000000000000…
    [1 Fragment (84 bytes): #1(84)]
        [Frame: 1, payload: 0-83 (84 bytes)]
        [Fragment Count: 1]
        [Reassembled Length: 84]
        [Reassembled Data: 012140111203091128030a00000000000000000000000000000000000000000000000000…]
dataCodingScheme-r9: 45
    0100 .... = Coding Group: General Data Coding indication (4)
    ..0. .... = Compressed indicator: The text is uncompressed
    ...0 .... = Message Class present: Bits 1 to 0 are reserved and have no message class meaning
    .... 01.. = Character set being used: 8 bit data (1)

参考 ATIS-0700041 对数据进行解析:

012140111203091128030a (也就是01 21 40 11 12 03 09 11 28 03 0a)
01: 3GPP 36331 6.3.1和3GPP 23041 9.4.2.2.5说明,代表Number of Pages
21: 2表示Active Alert Identity Tuple List - Common Warning Area Coordinates
40: 21中的1,结合40的前3bit表示length为b0001010,也就是长度为10
11 12 03 09: 表示 messageIdentifier 为0x1112,serialNumber为0x0309
11 28 03 0a: 表示 messageIdentifier 为0x1128,serialNumber为0x030a

包含WAC的SIB12消息:

00 40 40 62 61 12 c0 30 50 0a 80 aa 8e 8f 41 cd 52 fc fe 7e 17 21 89 59 e8 3c d6 e3 80 95 b1 7b 3d 26 2d 03 46 d2 fd 2f 2a 12 0b b2 da 64 68 2a 0e 6f c9 d2 48 36 8b 39 dc c0 50 28 04 02 01 08 85 9b 7a 7c 66 4d 11 c1 d6 7b 24 0e 23 22 82 d6 79 64 00 00 00 00 00 00 00 00 00 00 00 08 e0 20 2c d6 42 08 cb ab fd 13 08 87 ba 8f 15 34 67 0b b7 a8 53 4d 95 bc 1a 11 33 b6 7b bf 0d 53 16 ec bb 82 e5 2f 5e 52 08 cb d6 2d 12 33 b7 bc fe d1 1f a4 cb be 8d 91 c2 60 ba 05 a9 22 85 eb ae 32 92 8c c2 bd 39 81 27 62 43 02 8b a3 a8 12 b2 0b 00 95 f3 02 8b 88 60 92 91 9c 01 40 03 02 8c 3b 4e 4a 40 88 01 90 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00


messageIdentifier-r9: CMAS CBS Message Identifier for CMAS Public Safety Alerts (4396)
serialNumber-r9: 0305 [bit length 16, 0000 0011  0000 0101 decimal value 773]
    00.. .... .... .... = Geographical Scope: Display mode immediate, cell wide (0)
    ..00 0011 0000 .... = Message Code: 48
    .... .... .... 0101 = Update Number: 5
warningMessageSegmentType-r9: notLastSegment (0)
warningMessageSegmentNumber-r9: 0
warningMessageSegment-r9: 0554747a0e6a97e7f3f0b90c4acf41e6b71c04ad8bd9e931681a3697e97950905d96d323…
dataCodingScheme-r9: 01
    0000 .... = Coding Group: Coding Group 0(Language using the GSM 7 bit default alphabet) (0)
    .... 0001 = Language: English (1)
warningAreaCoordinatesSegment-r15: 208cbabfd130887ba8f1534670bb7a8534d95bc1a1133b67bbf0d5316ecbb82e52f5e520…
Frame (277 bytes):
0000  00 40 40 62 61 12 c0 30 50 0a 80 aa 8e 8f 41 cd   .@@ba..0P.....A.
0010  52 fc fe 7e 17 21 89 59 e8 3c d6 e3 80 95 b1 7b   R..~.!.Y.<.....{
0020  3d 26 2d 03 46 d2 fd 2f 2a 12 0b b2 da 64 68 2a   =&-.F../*....dh*
0030  0e 6f c9 d2 48 36 8b 39 dc c0 50 28 04 02 01 08   .o..H6.9..P(....
0040  85 9b 7a 7c 66 4d 11 c1 d6 7b 24 0e 23 22 82 d6   ..z|fM...{$.#"..
0050  79 64 00 00 00 00 00 00 00 00 00 00 00 08 e0 20   yd............. 
0060  2c d6 42 08 cb ab fd 13 08 87 ba 8f 15 34 67 0b   ,.B..........4g.
0070  b7 a8 53 4d 95 bc 1a 11 33 b6 7b bf 0d 53 16 ec   ..SM....3.{..S..
0080  bb 82 e5 2f 5e 52 08 cb d6 2d 12 33 b7 bc fe d1   .../^R...-.3....
0090  1f a4 cb be 8d 91 c2 60 ba 05 a9 22 85 eb ae 32   .......`..."...2
00a0  92 8c c2 bd 39 81 27 62 43 02 8b a3 a8 12 b2 0b   ....9.'bC.......
00b0  00 95 f3 02 8b 88 60 92 91 9c 01 40 03 02 8c 3b   ......`....@...;
00c0  4e 4a 40 88 01 90 00 00 00 00 00 00 00 00 00 00   NJ@.............
00d0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
00e0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
00f0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
0100  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
0110  00 00 00 00 00                                    .....
Bitstring tvb (2 bytes):
0000  11 2c                                             .,
Bitstring tvb (2 bytes):
0000  03 05                                             ..
Unaligned OCTET STRING (84 bytes):
0000  05 54 74 7a 0e 6a 97 e7 f3 f0 b9 0c 4a cf 41 e6   .Ttz.j......J.A.
0010  b7 1c 04 ad 8b d9 e9 31 68 1a 36 97 e9 79 50 90   .......1h.6..yP.
0020  5d 96 d3 23 41 50 73 7e 4e 92 41 b4 59 ce e6 02   ]..#APs~N.A.Y...
0030  81 40 20 10 08 44 2c db d3 e3 32 68 8e 0e b3 d9   .@ ..D,...2h....
0040  20 71 19 14 16 b3 cb 20 00 00 00 00 00 00 00 00    q..... ........
0050  00 00 00 47                                       ...G
Unaligned OCTET STRING (1 byte):
0000  01                                                .
Unaligned OCTET STRING (100 bytes):
0000  20 8c ba bf d1 30 88 7b a8 f1 53 46 70 bb 7a 85    ....0.{..SFp.z.
0010  34 d9 5b c1 a1 13 3b 67 bb f0 d5 31 6e cb b8 2e   4.[...;g...1n...
0020  52 f5 e5 20 8c bd 62 d1 23 3b 7b cf ed 11 fa 4c   R.. ..b.#;{....L
0030  bb e8 d9 1c 26 0b a0 5a 92 28 5e ba e3 29 28 cc   ....&..Z.(^..)(.
0040  2b d3 98 12 76 24 30 28 ba 3a 81 2b 20 b0 09 5f   +...v$0(.:.+ .._
0050  30 28 b8 86 09 29 19 c0 14 00 30 28 c3 b4 e4 a4   0(...)....0(....
0060  08 80 19 00   

WAC数据解析,解析出来为2个Polygon,3个Circle:

WAC数据
20 8c ba bf d1 30 88 7b a8 f1 53 46 70 bb 7a 85
34 d9 5b c1 a1 13 3b 67 bb f0 d5 31 6e cb b8 2e
52 f5 e5 20 8c bd 62 d1 23 3b 7b cf ed 11 fa 4c
bb e8 d9 1c 26 0b a0 5a 92 28 5e ba e3 29 28 cc
2b d3 98 12 76 24 30 28 ba 3a 81 2b 20 b0 09 5f
30 28 b8 86 09 29 19 c0 14 00 30 28 c3 b4 e4 a4
08 80 19 00

20: 2表示Polygon
8c: 20中的低4bit,和该字节前6bit表示length为b0000100011,也就是长度为35
ba bf d1 30 88 7b a8 f1 53 46 70: 11字节表示2对经纬度坐标
bb 7a 85 34 d9 5b c1 a1 13 3b 67: 
bb f0 d5 31 6e cb b8 2e 52 f5 e5: 则这33个字节表示6对经纬度坐标
20 8c: 同上
bd 62 d1 23 3b 7b cf ed 11 fa 4c 
bb e8 d9 1c 26 0b a0 5a 92 28 5e 
ba e3 29 28 cc 2b d3 98 12 76 24
30: 3表示Circle
28: 30中的低4bit,和该字节前6bit表示length为b0000001010,也就是长度为10
ba 3a 81 2b 20 b0 09 5f: 8字节包含1对经纬度,1个半径
30 28: 同上 
b8 86 09 29 19 c0 14 00 
30 28: 同上 
c3 b4 e4 a4 08 80 19 00

标签:SIB12,00,....,30,28,eWEA,40,r9,LTE
From: https://www.cnblogs.com/wuhen1024/p/16750275.html

相关文章

  • 用操作筛选器实现请求限流器 filter
    我们在操作筛选器中不仅可以在操作方法之前或者之后添加代码,还可以在满足条件的时候终止操作方法的执行。为了避免恶意客户端频繁发送大量请求而消耗服务器资源,我们要实现......
  • 操作筛选器 filter
          ......
  • esxi6.7iso安装Realtek网卡驱动
    5U4TK-DML1M-M8550-XK1QP-1A052PSD:\ISO\esxi>.\ESXi-Customizer-PS.ps1-v67-pkgDir.\net\-NSC-67 指定版本,这个会自动联网下载原始iso内容-pkgDir.\net\  ......
  • 筛选器 filter
    筛选器filter又称过滤器,是APS.NETCore中提供的一种切面编程机制,它允许开发者创建自定义筛选器来处理横切关注点,也就是在APS.NETCore特定的位置执行自定义的代码,比如......
  • Svelte创建组件小结
    ·使用由HTML元素构成的简单易用语法来定义Svelte组件。script元素包含组件逻辑,style元素包含CSS样式,剩下的就是HTML标记。·向组件传递数据的常用方式是使用props。·Sv......
  • Javaweb学习笔记第十四弹---对于Cookie和Filter的学习
    ApacheTomcat-TomcatNativeDownloads会话追踪技术会话:打开浏览器,建立连接,直到一方断开连接,会话才会结束;在一次会议中,可以有多次请求。会话追踪:在多次请求间,共享数......
  • RxJS 系列 – Filter Operators
    前言介绍完RxJS两大概念Observable和Subject之后,篇幅最大的就是各种Operators了.这篇先介绍比较简单的FilterOperators. 参考Docs– FilteringOperat......
  • 函数式编程(纯函数、避免改变参数值和全局变量)、使用.map()、.filter()使代码更简洁
    函数式编程是:独立函数——不依赖于程序(里面含有可能更改的全局变量)的状态。纯函数——相同的输入总是产生相同的输出,不产生副作用(不更改参数值和全局变量值)。副作用尽量小......
  • JavaWeb-----进行事务处理的Filter
    详细资源:https://heavy_code_industry.gitee.io/code_heavy_industry/pro001-javaweb/lecture/详细博客:https://blog.csdn.net/jsdoulaoula/article/details/125648785?sp......
  • css filter 的contrast和blur的奇妙组合- 使用场景
    圆角大杀器,使用滤镜构建圆角及波浪效果!Coco国服第一切图仔 16人赞同了该文章本文,将另辟蹊径,介绍一种使用滤镜去构建圆角的独特方式。首先,......