mobile CCTV,mobile surveillance,police body worn cameras

 forgetPW
 registerNow
search
12NextPage
backToList newPost
view: 2225|reply: 15
打印 prevThread nextThread

设备和用户上下线通知消息区分的问题

[copyURL]

13

主题

49

帖子

205

积分

midMem

Rank: 3Rank: 3

积分
205
jumpTo
owner
poston 2021-4-28 09:57 | authorOnly 回帖奖励 |倒序浏览 |阅读模式
想问下bvcsp登录监听的回调函数OnNotify怎么判断是上线还是下线?现在看到数据是一样的
reply

使用道具 report

3

主题

341

帖子

1783

积分

vipMem

Rank: 6Rank: 6

积分
1783
sofa
poston 2021-4-28 12:21 | authorOnly
是安卓还是WINDOWS客户端?
reply agree Against

使用道具 report

13

主题

49

帖子

205

积分

midMem

Rank: 3Rank: 3

积分
205
bench
 Owner| poston 2021-4-28 13:33 | authorOnly
coldflame post on2021-4-28 12:21
是安卓还是WINDOWS客户端?

windows端,bvcsp
reply agree Against

使用道具 report

0

主题

23

帖子

70

积分

member

Rank: 2

积分
70
ground
poston 2021-4-28 16:50 | authorOnly
puChannelInfo转BVCU_PUChannelInfo类型后可查看设备状态
reply agree Against

使用道具 report

13

主题

49

帖子

205

积分

midMem

Rank: 3Rank: 3

积分
205
5#
 Owner| poston 2021-4-29 16:18 | authorOnly
Ekalos post on2021-4-28 16:50
puChannelInfo转BVCU_PUChannelInfo类型后可查看设备状态

BVCU_Result(*OnNotify)(BVCSP_HSession hSession, BVCSP_NotifyMsgContent* pData);
收到提示的回调函数是这个,没看到puChannelInfo
reply agree Against

使用道具 report

0

主题

23

帖子

70

积分

member

Rank: 2

积分
70
6#
poston 2021-4-29 16:56 | authorOnly
你试试BVCSP_NotifyMsgContent的iSubMethod变量能否分别消息类型
reply agree Against

使用道具 report

0

主题

23

帖子

70

积分

member

Rank: 2

积分
70
7#
poston 2021-4-29 17:31 | authorOnly
由iSubMethod确定stMsgContent.pData的类型,这里面应该有上下线的信息
reply agree Against

使用道具 report

13

主题

49

帖子

205

积分

midMem

Rank: 3Rank: 3

积分
205
8#
 Owner| poston 2021-4-29 20:37 | authorOnly
Ekalos post on2021-4-29 17:31
由iSubMethod确定stMsgContent.pData的类型,这里面应该有上下线的信息

就是因为上下线返回的iSubMethod是一样的,所以现在才判断不出来,pData要转成什么格式的数据?
reply agree Against

使用道具 report

0

主题

23

帖子

70

积分

member

Rank: 2

积分
70
9#
poston 2021-4-30 09:35 | authorOnly
ZTO post on2021-4-29 20:37
就是因为上下线返回的iSubMethod是一样的,所以现在才判断不出来,pData要转成什么格式的数据?

iSubMethod是多少?
reply agree Against

使用道具 report

13

主题

49

帖子

205

积分

midMem

Rank: 3Rank: 3

积分
205
10#
 Owner| poston 2021-4-30 09:50 | authorOnly
Ekalos post on2021-4-30 09:35
iSubMethod是多少?

196609,对应头文件里的BVCU_SUBMETHOD_EVENT_NOTIFY
reply agree Against

使用道具 report

creditRule

QQ|wireless surveillance

GMT+8, 2024-5-4 19:14 , Processed in 0.067378 second(s), 19 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

QuickReply backToTop BackToList