mobile CCTV,mobile surveillance,police body worn cameras

 forgetPW
 registerNow
search
Owner: meige
打印 prevThread nextThread

适配BVCSP.h接口出现问题

[copyURL]

11

主题

157

帖子

533

积分

advMem

Rank: 4

积分
533
51#
 Owner| poston 2019-6-5 12:01 | authorOnly
hardfire post on2019-6-5 11:24
兄弟,你 也多费心,多研究下,多调试下就都解决了。

兄弟,我这边在研究,这个是你们的东西,可以有些东西对于你们来说简单,但是我们这边可能要研究很久,这个你们要理解下。
现在问题是bvcuResult = BVCSP_Login(&g_hSession, &sessionParam);  调用so库登入方法返回值是失败的。


reply agree Against

使用道具 report

1

主题

311

帖子

1105

积分

vipMem

Rank: 6Rank: 6

积分
1105
52#
poston 2019-6-5 14:42 | authorOnly
meige post on2019-6-5 12:01
兄弟,我这边在研究,这个是你们的东西,可以有些东西对于你们来说简单,但是我们这边可能要研究很久,这 ...

label_    把这个值传入param.termInfo.UserLabel。然后再次调用认证,调用完成后说下,我们这边授权。
reply agree Against

使用道具 report

11

主题

157

帖子

533

积分

advMem

Rank: 4

积分
533
53#
 Owner| poston 2019-6-5 15:30 | authorOnly
Arthur post on2019-6-5 14:42
label_e2a6ac4246f611e9a0dc0242ac130006    把这个值传入param.termInfo.UserLabel。然后再次调用认证, ...

这个参数值已经加入:
[D] [06-05 15:29:50] [onRVLogin:0662] auth fail: 52, 52, , error: auth wait
open OnAuthEvent start

---------------
         result: 52
         rand code: 281355
         auth code: 3607
         SerialNumber:
         issuer:
         type: Android
         id: PU_100100AE
         user_data: 0
         result: auth wait
         ---------------
successful application for trial
reply agree Against

使用道具 report

1

主题

311

帖子

1105

积分

vipMem

Rank: 6Rank: 6

积分
1105
54#
poston 2019-6-5 15:36 | authorOnly
meige post on2019-6-5 15:30
这个参数值已经加入:
[D] [06-05 15:29:50] [onRVLogin:0662] auth fail: 52, 52, , error: auth wait
...

param.termInfo.Type 这个值需要填MPU
reply agree Against

使用道具 report

11

主题

157

帖子

533

积分

advMem

Rank: 4

积分
533
55#
 Owner| poston 2019-6-5 16:03 | authorOnly
Arthur post on2019-6-5 15:36
param.termInfo.Type 这个值需要填MPU

已经修改为MPU,问下// 终端认证信息
typedef struct BVRAuthInfo {
    char Type[64]; // PU、MPU、CU、CMS、VTDU、NRU ...
    char ID[128]; // PU_ID、CU_ID、NRU_ID ...
    char Name[128]; // PU NAME、CU NAME

    char ModelNumber[128]; // 验证型号

    char MAC[64]; // 网卡地址
    char IMEI[64]; // 安卓设备(非安卓设备必须置空)
    char HardwareProvider[128]; // 硬件提供商 UTF-8, 内部覆盖
    char HardwareSN[1024]; // 硬件序列号
    char HardwareVersion[64]; // 硬件版本号

    char SoftwareProvider[128]; // 软件提供商 UTF-8
    char SoftwareVersion[64]; // 软件版本号

    char OSType[64]; // 系统类型 window、linux、android、ios
    char OSVersion[32]; // 系统版本
    char OSID[64]; // 系统ID
    char CPU[64]; // 处理器信息

    char UserLabel[64]; // 用户标签, 后台管理用户通过用户标签, 访问未授权终端

    char DeviceModelNumber[64]; // 设备型号
    char Desc[256]; // 其他信息 UTF-8

    char ProductKey[64]; // 产品密钥
}BVRAuthInfo;
哪些参数值一定不能出错,
reply agree Against

使用道具 report

1

主题

311

帖子

1105

积分

vipMem

Rank: 6Rank: 6

积分
1105
56#
poston 2019-6-5 16:26 | authorOnly
meige post on2019-6-5 16:03
已经修改为MPU,问下// 终端认证信息
typedef struct BVRAuthInfo {
    char Type[64]; // PU、MPU、C ...

Type固定的几种类型,不能错。
UserLabel是授权时需要填入的。
ProductKey是自动授权的。
如果要认证,ProductKey和UserLabel必须要存在一个。 我看你的已经授权了,现在能登录成功了么?
reply agree Against

使用道具 report

11

主题

157

帖子

533

积分

advMem

Rank: 4

积分
533
57#
 Owner| poston 2019-6-5 16:54 | authorOnly
Arthur post on2019-6-5 16:26
Type固定的几种类型,不能错。
UserLabel是授权时需要填入的。
ProductKey是自动授权的。

可以登录了,非常感谢!
reply agree Against

使用道具 report

11

主题

157

帖子

533

积分

advMem

Rank: 4

积分
533
58#
 Owner| poston 2019-6-5 18:10 | authorOnly
问下上层LICENSE 是传入到哪个参数,获取Auth_ID,这个值是不是auth code: 3649 ?
reply agree Against

使用道具 report

1

主题

311

帖子

1105

积分

vipMem

Rank: 6Rank: 6

积分
1105
59#
poston 2019-6-5 18:55 | authorOnly
meige post on2019-6-5 18:10
问下上层LICENSE 是传入到哪个参数,获取Auth_ID,这个值是不是auth code: 3649 ?

1.不需要传License。
2.是的。
reply agree Against

使用道具 report

11

主题

157

帖子

533

积分

advMem

Rank: 4

积分
533
60#
 Owner| poston 2019-6-6 13:58 | authorOnly
1.问下 pu端的图片,音频和视频如何上传到pc端的,能否给相关demo,谢谢!
reply agree Against

使用道具 report

creditRule

QQ|wireless surveillance

GMT+8, 2024-5-2 05:59 , Processed in 0.066409 second(s), 18 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

QuickReply backToTop BackToList