mobile CCTV,mobile surveillance,police body worn cameras

 forgetPW
 registerNow
search
view: 3447|reply: 6
打印 prevThread nextThread

执法仪 请问数据包怎么解包

[copyURL]

1

主题

4

帖子

23

积分

newBie

Rank: 1

积分
23
jumpTo
owner
poston 2021-5-6 17:23 | authorOnly 回帖奖励 |倒序浏览 |阅读模式
原始数据是下面
REGISTER sipU_21030164@192.168.0.144 SIP/2.0\r\nVia: SIP/2.0/UDP 0.0.0.0;rport;branch=z9hG4bKPj8tM0GTzBQvu8cF4TwV2.1GSkb7TPI6x4\r\nMax-Forwards: 70\r\nFrom: <sipU_21030164@192.168.0.144>;tag=0cW5lWGkik9YtxzdfM-x1c-iGfQoBCTR\r\nTo: <sipU_21030164@192.168.0.144>\r\nCall-ID: Yuc69opltQvLkPb16aL2jp3XLMRBjYfn\r\nCSeq: 1 REGISTER\r\nExpires: 2147483647\r\nContent-Type: Application/protobuf_bv1\r\nContent-Length:   260\r\n\r\n\x81\x00\x00\x00\n\x0bPU_21030164\x12\x0bAndroid MPU\x1a\x131884_NA201905061415"\x050.0.1(\x000\x010\x020\x038\x01B\x04ZW05H\x00P\x00X\x01`\x01h\x01p\x01x\x00\x80\x01\x01\x88\x01\x01\x90\x01\x00\x98\x01\x00\xa0\x01\x01\xca\x01\nsmartvideo\xd0\x01\x80\xa8\xd6\xb9\x07\xd8\x01\x80\xa8\xd6\xb9\x07\xe2\x01\x00Y\x00\x00\x00\n\x0bPU_21030164\x12\x04ZW05"\r\x08\r\x10\x00\x1a\x05video \x00"\r\x08\x10\x10\x00\x1a\x03GPS \x80\x80\x04"\x15\x080\x10\x00\x1a\x0bSerialPort1 \x80\x82\x04(\x010\x018\x00@\x9a\xcc\x9enX\x00`\x04h\x00\x1e\x00\x00\x00\n\x00\x12\x00\x1a\x00"\x00*\x002\x00:\x00B\x00J\x00R\x00Z\x00b\x00j\x00r\x00z\x00
reply

使用道具 report

3

主题

341

帖子

1783

积分

vipMem

Rank: 6Rank: 6

积分
1783
sofa
poston 2021-5-6 17:36 | authorOnly
兄弟,要有一个上下文啊。
reply agree Against

使用道具 report

1

主题

4

帖子

23

积分

newBie

Rank: 1

积分
23
bench
 Owner| poston 2021-5-6 17:41 | authorOnly
coldflame post on2021-5-6 17:36
兄弟,要有一个上下文啊。

大佬   这个是执法仪通过udp发出来的信息    服务端监听udp端口   接收到的信息就是这个    那么怎么对这个数据包解包成人看得懂的 字符串
reply agree Against

使用道具 report

1

主题

4

帖子

23

积分

newBie

Rank: 1

积分
23
ground
 Owner| poston 2021-5-6 17:42 | authorOnly
原始接收到的数据包
b'REGISTER sipU_21030164@192.168.0.144 SIP/2.0\r\nVia: SIP/2.0/UDP 0.0.0.0;rport;branch=z9hG4bKPj8tM0GTzBQvu8cF4TwV2.1GSkb7TPI6x4\r\nMax-Forwards: 70\r\nFrom: <sipU_21030164@192.168.0.144>;tag=0cW5lWGkik9YtxzdfM-x1c-iGfQoBCTR\r\nTo: <sipU_21030164@192.168.0.144>\r\nCall-ID: Yuc69opltQvLkPb16aL2jp3XLMRBjYfn\r\nCSeq: 1 REGISTER\r\nExpires: 2147483647\r\nContent-Type: Application/protobuf_bv1\r\nContent-Length:   260\r\n\r\n\x81\x00\x00\x00\n\x0bPU_21030164\x12\x0bAndroid MPU\x1a\x131884_NA201905061415"\x050.0.1(\x000\x010\x020\x038\x01B\x04ZW05H\x00P\x00X\x01`\x01h\x01p\x01x\x00\x80\x01\x01\x88\x01\x01\x90\x01\x00\x98\x01\x00\xa0\x01\x01\xca\x01\nsmartvideo\xd0\x01\x80\xa8\xd6\xb9\x07\xd8\x01\x80\xa8\xd6\xb9\x07\xe2\x01\x00Y\x00\x00\x00\n\x0bPU_21030164\x12\x04ZW05"\r\x08\r\x10\x00\x1a\x05video \x00"\r\x08\x10\x10\x00\x1a\x03GPS \x80\x80\x04"\x15\x080\x10\x00\x1a\x0bSerialPort1 \x80\x82\x04(\x010\x018\x00@\x9a\xcc\x9enX\x00`\x04h\x00\x1e\x00\x00\x00\n\x00\x12\x00\x1a\x00"\x00*\x002\x00:\x00B\x00J\x00R\x00Z\x00b\x00j\x00r\x00z\x00'
reply agree Against

使用道具 report

3

主题

341

帖子

1783

积分

vipMem

Rank: 6Rank: 6

积分
1783
5#
poston 2021-5-6 17:54 | authorOnly
这个涉及到内部协议,这个可不能透露给您。
协议我们是不开放的。
我们只对外提供SDK。
reply agree Against

使用道具 report

1

主题

4

帖子

23

积分

newBie

Rank: 1

积分
23
6#
 Owner| poston 2021-5-6 18:52 | authorOnly
coldflame post on2021-5-6 17:54
这个涉及到内部协议,这个可不能透露给您。
协议我们是不开放的。
我们只对外提供SDK。

请问一下有java sdk么???
我的需求是  把gps 坐标上传到我们的服务器    要怎么做呢
reply agree Against

使用道具 report

3

主题

22

帖子

167

积分

member

Rank: 2

积分
167
7#
poston 2021-5-6 21:22 | authorOnly
无线图传移动视频类~典型产品&方案及常用技术支持资料(包含软件下载网盘目录结构,设备模拟器/平台软件, 平台对接融合-二次开发SDK源代码,视频教程,产品手册/文档等),所有常用信息资料均在此页面,
https://www.besovideo.com/detail?t=1&i=85

客户端的JAVA SDK?那没有的,我们都是C++的,或者基于JS的WEB SDK 。
JAVA的在网盘里面有以前客户自己封装免费提供给我们的一套简易的库。
reply agree Against

使用道具 report

creditRule

QQ|wireless surveillance

GMT+8, 2024-5-4 16:06 , Processed in 0.058596 second(s), 19 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

QuickReply backToTop BackToList