mobile CCTV,mobile surveillance,police body worn cameras

 forgetPW
 registerNow
search
view: 1676|reply: 8
打印 prevThread nextThread

Command PU FOR RESET

[copyURL]

4

主题

12

帖子

68

积分

member

Rank: 2

积分
68
jumpTo
owner
poston 2016-11-17 00:12 | authorOnly 回帖奖励 |倒序浏览 |阅读模式
Hi,
i use the sdk tool....

Can I send the reset to PU whit command?

I see library BVCU_SendCommand but not find the Command....


THANKS

reply

使用道具 report

2

主题

96

帖子

472

积分

midMem

Rank: 3Rank: 3

积分
472
sofa
poston 2016-11-17 09:21 | authorOnly
Hi, you can find it in BVCUConst.h: BVCU_SUBMETHOD_PU_REBOOT = 0x20000.
reply agree Against

使用道具 report

1

主题

589

帖子

2045

积分

vipMem

Rank: 6Rank: 6

积分
2045
bench
poston 2016-11-17 09:28 | authorOnly
BVCU.h:   BVCU_SendCmd()
BVCU.h:   typedef struct _BVCU_Command BVCU_Command;
BVCUConst.h:  BVCU_SUBMETHOD_PU_REBOOT = 0x20000,
BVCUConst.h:  BVCU_METHOD_CONTROL,

本帖子中包含更多资源

pls login 才可以下载或查看,没有帐号?registerNow

x
reply agree Against

使用道具 report

1

主题

589

帖子

2045

积分

vipMem

Rank: 6Rank: 6

积分
2045
ground
poston 2016-11-17 09:49 | authorOnly
BVCU_Command cmd;
memset(&cmd, 0x00, sizeof(cmd));
cmd.iSize = sizeof(cmd);
cmd.OnEvent = OnCmdEvent;  // Cmd response callback
cmd.iMethod = BVCU_METHOD_CONTROL;  // control command
cmd.iSubMethod = BVCU_SUBMETHOD_PU_REBOOT;  // Reboot PU command
strncpy_s(cmd.szTargetID,  sPUID, _TRUNCATE); // Reboot which pu -> sPUID like "PU_2641"
BVCU_Result bvResult = BVCU_SendCmd(m_session, &cmd);  // m_session from BVCU_Login().
// check bvResult, if Send failed.
reply agree Against

使用道具 report

4

主题

12

帖子

68

积分

member

Rank: 2

积分
68
5#
 Owner| poston 2016-11-17 16:18 | authorOnly
Thanks a lot , I've founded it yesterday but how can I recall or search this by mainform?
reply agree Against

使用道具 report

60

主题

1428

帖子

5953

积分

Moderator

Rank: 7Rank: 7Rank: 7

积分
5953
6#
poston 2016-11-17 16:38 | authorOnly
pls refer to above sample code
reply agree Against

使用道具 report

4

主题

12

帖子

68

积分

member

Rank: 2

积分
68
7#
 Owner| poston 2016-11-17 18:53 | authorOnly
Hi,
ManagedLayer in WinForm is not method for invoke the controlCMD In CBVCU...
reply agree Against

使用道具 report

4

主题

12

帖子

68

积分

member

Rank: 2

积分
68
8#
 Owner| poston 2016-11-17 20:23 | authorOnly
How can I invoke the the method "bvcu_command cmd" by winform? Thanks
reply agree Against

使用道具 report

60

主题

1428

帖子

5953

积分

Moderator

Rank: 7Rank: 7Rank: 7

积分
5953
9#
poston 2016-11-18 13:33 | authorOnly
hi, confirmed with R&D, those cmd are all supported, but not all of them released into this winform_demo/mfc_demo, if you want , we may update one for you.
reply agree Against

使用道具 report

creditRule

QQ|wireless surveillance

GMT+8, 2024-12-23 17:16 , Processed in 0.059572 second(s), 21 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

QuickReply backToTop BackToList