mobile CCTV,mobile surveillance,police body worn cameras

 forgetPW
 registerNow
search
view: 3901|reply: 25
打印 prevThread nextThread

求MPU文件同步最新代码

[copyURL]

8

主题

72

帖子

258

积分

midMem

Rank: 3Rank: 3

积分
258
jumpTo
owner
poston 2018-11-7 17:24 | authorOnly 回帖奖励 |倒序浏览 |阅读模式


这个版本文件同步通过FTP,可新的服务器已不再支持FTP同步方式,求解决方法



reply

使用道具 report

10

主题

531

帖子

2429

积分

admin

Rank: 9Rank: 9Rank: 9

积分
2429
sofa
poston 2018-11-7 17:28 | authorOnly
好,这两天更新给您。
reply agree Against

使用道具 report

8

主题

72

帖子

258

积分

midMem

Rank: 3Rank: 3

积分
258
bench
 Owner| poston 2018-11-7 17:28 | authorOnly

        private final String directoryRoot = "PU_";

        public boolean ConnectNRU() {
                mConnect = false;
                deviceId = mpu.getServerParam().iDeviceID;
                deviceString = String.format("%08X", deviceId);
                // 尝试连接三次
                for (int i = 0; i < 3; i++) {
                        try {
                                mFtp4j.connect(bvpu_FtpInfo.szAddr, bvpu_FtpInfo.iPort);
                                mFtp4j.login(bvpu_FtpInfo.szUserName, bvpu_FtpInfo.szPassword);
                                try {
                                        mFtp4j.createDirectory(directoryRoot
                                                        + String.format("%08X", deviceId));
                                } catch (Exception e) {

                                }
                                mFtp4j.changeDirectory(directoryRoot
                                                + String.format("%08X", deviceId));
                                mConnect = true;
                        } catch (Exception e) {
                                Log.e(TAG, "连接失败---->" + e.toString());
                                if (mOnResultHandler != null && i == 2) {
                                        if (mTaskType == TASK_TYPE_DOWNLOAD) {
                                                mOnResultHandler
                                                                .onDownloadResult(mTaskToken, 400, null);
                                        } else if (mTaskType == TASK_TYPE_UPLOAD) {
                                                mOnResultHandler.onUploadResult(mTaskToken, 400, null,
                                                                null);
                                        }
                                }
                        }
                        if (mConnect) {
                                break;
                        }
                }
                return mConnect;
        }
reply agree Against

使用道具 report

8

主题

72

帖子

258

积分

midMem

Rank: 3Rank: 3

积分
258
ground
 Owner| poston 2018-11-7 17:32 | authorOnly
代码见附件

本帖子中包含更多资源

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

x
reply agree Against

使用道具 report

8

主题

72

帖子

258

积分

midMem

Rank: 3Rank: 3

积分
258
5#
 Owner| poston 2018-12-6 11:20 | authorOnly
mpu_as_a 编译运行出错
reply agree Against

使用道具 report

8

主题

72

帖子

258

积分

midMem

Rank: 3Rank: 3

积分
258
6#
 Owner| poston 2018-12-6 11:23 | authorOnly
死机log详见附件

12-06 11:17:24.789 I/DEBUG   (  315): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
12-06 11:17:24.789 I/DEBUG   (  315): Build fingerprint: 'Android/l930/l930:5.1.1/LMY47V/20171222.165247:userdebug/test-keys'
12-06 11:17:24.789 I/DEBUG   (  315): Revision: '0'
12-06 11:17:24.789 I/DEBUG   (  315): ABI: 'arm'
12-06 11:17:24.790 I/DEBUG   (  315): pid: 21063, tid: 21063, name: om.smarteye.mpu  >>> com.smarteye.mpu <<<
12-06 11:17:24.790 I/DEBUG   (  315): signal 11 (SIGSEGV), code 0 (SI_USER), fault addr 0x10
12-06 11:17:24.817 I/DEBUG   (  315):     r0 00000000  r1 df615c72  r2 0000003f  r3 ff99ad08
12-06 11:17:24.817 I/DEBUG   (  315):     r4 f75d0de4  r5 ab322068  r6 ff99b130  r7 ff99ad88
12-06 11:17:24.818 I/DEBUG   (  315):     r8 ff99b130  r9 0000002b  sl 00000000  fp 00000000
12-06 11:17:24.818 I/DEBUG   (  315):     ip df66875c  sp ff99ac80  lr df4de0b9  pc df4b0b00  cpsr 00030030
12-06 11:17:24.819 I/DEBUG   (  315):
12-06 11:17:24.819 I/DEBUG   (  315): backtrace:
12-06 11:17:24.819 I/DEBUG   (  315):     #00 pc 00046b00  /data/app/com.smarteye.mpu-1/lib/arm/libbvpu.so (LoginHandler::received(TelEngine::Message&)+359)
12-06 11:17:24.819 I/DEBUG   (  315):     #01 pc 000791b1  /data/app/com.smarteye.mpu-1/lib/arm/libyate.so (TelEngine::MessageHandler::receivedInternal(TelEngine::Message&)+8)
12-06 11:17:24.819 I/DEBUG   (  315):     #02 pc 0007954b  /data/app/com.smarteye.mpu-1/lib/arm/libyate.so (TelEngine::MessageDispatcher::dispatch(TelEngine::Message&)+262)
12-06 11:17:24.820 I/DEBUG   (  315):     #03 pc 00074eab  /data/app/com.smarteye.mpu-1/lib/arm/libyate.so (TelEngine::Engine::dispatch(TelEngine::Message&)+22)
12-06 11:17:24.820 I/DEBUG   (  315):     #04 pc 00043ae9  /data/app/com.smarteye.mpu-1/lib/arm/libbvpu.so (Java_com_smarteye_coresdk_BVPU_PostMessageToNative+2332)
12-06 11:17:24.820 I/DEBUG   (  315):     #05 pc 000a88c1  /data/dalvik-cache/arm/data@app@com.smarteye.mpu-1@base.apk@classes.dex
12-06 11:17:25.660 I/DEBUG   (  315):
12-06 11:17:25.660 I/DEBUG   (  315): Tombstone written to: /data/tombstones/tombstone_05


本帖子中包含更多资源

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

x
reply agree Against

使用道具 report

2

主题

414

帖子

1188

积分

vipMem

Rank: 6Rank: 6

积分
1188
7#
poston 2018-12-6 12:12 | authorOnly
dfyang post on2018-12-6 11:23
死机log详见附件

12-06 11:17:24.789 I/DEBUG   (  315): *** *** *** *** *** *** *** *** *** *** *** ...

什么操作可以复现
reply agree Against

使用道具 report

8

主题

72

帖子

258

积分

midMem

Rank: 3Rank: 3

积分
258
8#
 Owner| poston 2018-12-6 12:14 | authorOnly
我只是编译安装,上线过程中就死了
reply agree Against

使用道具 report

2

主题

414

帖子

1188

积分

vipMem

Rank: 6Rank: 6

积分
1188
9#
poston 2018-12-6 12:15 | authorOnly
dfyang post on2018-12-6 12:14
我只是编译安装,上线过程中就死了

jar包和so都更新了?
reply agree Against

使用道具 report

2

主题

414

帖子

1188

积分

vipMem

Rank: 6Rank: 6

积分
1188
10#
poston 2018-12-6 12:16 | authorOnly
xuwei post on2018-12-6 12:15
jar包和so都更新了?

mpu_as_a 编译运行出错是怎么解决的
reply agree Against

使用道具 report

creditRule

QQ|wireless surveillance

GMT+8, 2024-4-24 06:52 , Processed in 0.127934 second(s), 20 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

QuickReply backToTop BackToList