mobile CCTV,mobile surveillance,police body worn cameras

 forgetPW
 registerNow
search
view: 2177|reply: 10
打印 prevThread nextThread

java demo

[copyURL]

1

主题

4

帖子

29

积分

newBie

Rank: 1

积分
29
jumpTo
owner
poston 2020-1-7 18:13 | 显示全部楼层 回帖奖励 |倒序浏览 |阅读模式
我本地已经运行起来了,其中 ip和端口,帐号,密码  我要具体要输入什么?  
public static void main(String[] args){
    int result;
    BVCU_GlobalParam.ByReference globalParam=new BVCU_GlobalParam.ByReference();
    result=BVCUDll.BVCU_OnInit(globalParam);
    PointerByReference pHSession=new PointerByReference();
    result=BVCUDll.BVCU_LogIn(pHSession,"localhost",9009,"admin","123456");


    Pointer hSession=pHSession.getValue();
    result=BVCUDll.BVCU_GetDevices(hSession);

    PointerByReference pHDialog=new PointerByReference();
    AfterDecodeObj1 ado=new AfterDecodeObj1();
    result=BVCUDll.BVCU_OpenGPS(hSession,"PU_7666",pHDialog,ado);

    while(true);

}
reply

使用道具 report

1

主题

4

帖子

29

积分

newBie

Rank: 1

积分
29
sofa
 Owner| poston 2020-1-7 20:35 | 显示全部楼层
besovideo post on2020-1-7 20:31
可用我们的测试服务器测试。

我就用你截图上面的ip和端口,还有帐号密码?
reply agree Against

使用道具 report

1

主题

4

帖子

29

积分

newBie

Rank: 1

积分
29
bench
 Owner| poston 2020-1-7 20:36 | 显示全部楼层
z15129096398 post on2020-1-7 20:35
我就用你截图上面的ip和端口,还有帐号密码?

result=BVCUDll.BVCU_LogIn(pHSession,"61.191.27.18",9701,"test","123");
这样?
reply agree Against

使用道具 report

1

主题

4

帖子

29

积分

newBie

Rank: 1

积分
29
ground
 Owner| poston 2020-1-7 20:37 | 显示全部楼层

你说的库我不明白指的是啥
但是我是下载的java那个
“JAVA封装等1个文件”
reply agree Against

使用道具 report

creditRule

QQ|wireless surveillance

GMT+8, 2024-5-4 13:05 , Processed in 0.060549 second(s), 20 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

QuickReply backToTop BackToList