mobile CCTV,mobile surveillance,police body worn cameras

 forgetPW
 registerNow
search
view: 753|reply: 3
打印 prevThread nextThread

关于GPS返回值问题

[copyURL]

12

主题

27

帖子

98

积分

member

Rank: 2

积分
98
jumpTo
owner
poston 2020-6-29 14:33 | 显示全部楼层 回帖奖励 |倒序浏览 |阅读模式
   gps.swOpen({
                repeat: 1,
                interval: 2000,
                tag:gps,
                callback: OnGetGPS,
            });

function OnGetGPS(options, response) {}

这个response 打印了一串:4109,0,0,FE04553E-B6D8-4CCB-AAAB-FF7F6B64E006,1.0.1,BA433D57-0FB0-47b9-A944-FD219E5EEAEA,,8,49,PU_22034654,65536
里面倒数第二个是我们的设备ID(PU_22034654),怎么拿出来呢。我看respone只有两个属性emms 和request

reply

使用道具 report

12

主题

27

帖子

98

积分

member

Rank: 2

积分
98
sofa
 Owner| poston 2020-6-29 14:59 | 显示全部楼层
bai_315 post on2020-6-29 14:46
您可以看下我们的demo,http://61.191.27.18:8081/demo/gps.html。一共就四个函数

还是真不知道,你下面获取了,很多参数,也没有啥文档,获取设备ID的
reply agree Against

使用道具 report

creditRule

QQ|wireless surveillance

GMT+8, 2024-5-4 15:55 , Processed in 0.055667 second(s), 19 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

QuickReply backToTop BackToList