mobile CCTV,mobile surveillance,police body worn cameras

 forgetPW
 registerNow
search
12NextPage
backToList newPost
view: 1939|reply: 18
打印 prevThread nextThread

gps问题

[copyURL]

12

主题

52

帖子

174

积分

member

Rank: 2

积分
174
jumpTo
owner
poston 2020-5-12 17:33 | authorOnly 回帖奖励 |倒序浏览 |阅读模式
在这个事件里,procShowAlarmEventMessage(BVCU_Event_Source source)  怎么获取定位数据?
比如SOS,设备登录时
reply

使用道具 report

0

主题

9

帖子

102

积分

member

Rank: 2

积分
102
sofa
poston 2020-5-12 18:23 | authorOnly
有两种方法可以获取设备的GPS数据:

1、打开设备的GPS通道(源源不断的获取数据)。

2、发送获取设备的GPS通道数据的查询命令(一次只能获取一条数据)。
命令发送:

命令类型:BVCU_SUBMETHOD_PU_GPSDATA
命令负载:
LIBBVCU_API BVCU_Result BVCU_SendCmd(BVCU_HSession hSession, BVCU_Command* pCommand);
reply agree Against

使用道具 report

12

主题

52

帖子

174

积分

member

Rank: 2

积分
174
bench
 Owner| poston 2020-5-12 18:36 | authorOnly
pang post on2020-5-12 18:23
有两种方法可以获取设备的GPS数据:

1、打开设备的GPS通道(源源不断的获取数据)。

我说的这种需求:是不是在登录事件时,再发送命令进行查询才能获取到?
reply agree Against

使用道具 report

0

主题

9

帖子

102

积分

member

Rank: 2

积分
102
ground
poston 2020-5-12 19:37 | authorOnly
abc post on2020-5-12 18:36
我说的这种需求:是不是在登录事件时,再发送命令进行查询才能获取到?

你说的“登录事件”指的是“设备上线”吗?
reply agree Against

使用道具 report

12

主题

52

帖子

174

积分

member

Rank: 2

积分
174
5#
 Owner| poston 2020-5-12 20:48 | authorOnly
pang post on2020-5-12 19:37
你说的“登录事件”指的是“设备上线”吗?

procShowAlarmEventMessage(BVCU_Event_Source source)
在这个事件里触发登录时,同时获取当时的gps位置信息
reply agree Against

使用道具 report

12

主题

52

帖子

174

积分

member

Rank: 2

积分
174
6#
 Owner| poston 2020-5-12 20:56 | authorOnly
命令类型:BVCU_SUBMETHOD_PU_GPSDATA
命令负载:
LIBBVCU_API BVCU_Result BVCU_SendCmd(BVCU_HSession hSession, BVCU_Command* pCommand);

这个函数,c#的代码里没有;
reply agree Against

使用道具 report

0

主题

9

帖子

102

积分

member

Rank: 2

积分
102
7#
poston 2020-5-13 10:39 | authorOnly
abc post on2020-5-12 20:56
命令类型:BVCU_SUBMETHOD_PU_GPSDATA
命令负载:
LIBBVCU_API BVCU_Result BVCU_SendCmd(BVCU_HSession  ...

参考WinformDemo项目下 ManagedLayer中间层的代码,添加一个获取设备GPS数据的接口供C#层调用。
reply agree Against

使用道具 report

12

主题

52

帖子

174

积分

member

Rank: 2

积分
174
8#
 Owner| poston 2020-5-15 14:42 | authorOnly
今天下载的demo; 打开预览,打开gps通道都提示失败;错误-65535
reply agree Against

使用道具 report

60

主题

1410

帖子

5785

积分

Moderator

Rank: 7Rank: 7Rank: 7

积分
5785
9#
poston 2020-5-15 14:46 | authorOnly
abc post on2020-5-15 14:42
今天下载的demo; 打开预览,打开gps通道都提示失败;错误-65535

是最新github的吗?
reply agree Against

使用道具 report

0

主题

5

帖子

20

积分

newBie

Rank: 1

积分
20
10#
poston 2020-5-15 14:50 | authorOnly
besovideo post on2020-5-15 14:46
是最新github的吗?

我这边打开没问题啊
reply agree Against

使用道具 report

creditRule

QQ|wireless surveillance

GMT+8, 2024-4-20 03:49 , Processed in 0.067386 second(s), 19 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

QuickReply backToTop BackToList