mobile CCTV,mobile surveillance,police body worn cameras

标题: 安全帽获取GPS信息非常慢 [打印本页]

author: cus1    time: 2019-7-2 13:09
标题: 安全帽获取GPS信息非常慢
在安全帽中加了一个通过GPS模块获取位置信息的服务,服务启动到首次获取到GPS信息差不多半小时,获取到20几条GPS信息后又获取不到了信息了,而且安装“GPS测试仪”这样的app也无法定位。请问如何解决这个问题,谢谢!

locationManager的定义如下:
        locationManager = (LocationManager) this.getSystemService(Context.LOCATION_SERVICE);
        locationManager.addGpsStatusListener(listener);
        locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 5000, 1, this);
author: admin    time: 2019-7-2 14:15
您好,请不要用cus1发帖,您最好注册一个帐号,这样我们好知道您是哪位客户,才能更好的提供服务。

author: wangdan    time: 2019-7-2 14:21
账户: wangdan
author: admin    time: 2019-7-2 14:25
好的。
author: hardfire    time: 2019-7-2 14:30
是在户外测试的吗?只有户外才能搜到卫星。

author: wangdan    time: 2019-7-2 14:32
{"latitude":305103183, "longitude":1144157183, "time": "2019-07-02 12:04:32", "puid": "PU_21322613"},
{"latitude":305104516, "longitude":1144157650, "time": "2019-07-02 12:04:41", "puid": "PU_21322613"},
{"latitude":305138216, "longitude":1144147783, "time": "2019-07-02 12:05:05", "puid": "PU_21322613"},
{"latitude":305114033, "longitude":1144153300, "time": "2019-07-02 12:05:11", "puid": "PU_21322613"},
{"latitude":305102183, "longitude":1144156066, "time": "2019-07-02 12:05:16", "puid": "PU_21322613"},
{"latitude":305101500, "longitude":1144156516, "time": "2019-07-02 12:05:21", "puid": "PU_21322613"},
{"latitude":305101650, "longitude":1144156683, "time": "2019-07-02 12:05:26", "puid": "PU_21322613"},
{"latitude":305101833, "longitude":1144156783, "time": "2019-07-02 12:05:31", "puid": "PU_21322613"},
{"latitude":305102866, "longitude":1144156416, "time": "2019-07-02 12:06:31", "puid": "PU_21322613"},
{"latitude":305103266, "longitude":1144156516, "time": "2019-07-02 12:06:41", "puid": "PU_21322613"},
{"latitude":305103549, "longitude":1144156399, "time": "2019-07-02 12:06:46", "puid": "PU_21322613"},
{"latitude":305103833, "longitude":1144156266, "time": "2019-07-02 12:06:51", "puid": "PU_21322613"},
{"latitude":305103549, "longitude":1144156183, "time": "2019-07-02 12:06:56", "puid": "PU_21322613"},
{"latitude":305103399, "longitude":1144156416, "time": "2019-07-02 12:07:01", "puid": "PU_21322613"},
{"latitude":305102800, "longitude":1144156399, "time": "2019-07-02 12:07:06", "puid": "PU_21322613"},
{"latitude":305102949, "longitude":1144156533, "time": "2019-07-02 12:07:11", "puid": "PU_21322613"},
{"latitude":305103250, "longitude":1144156783, "time": "2019-07-02 12:07:16", "puid": "PU_21322613"},
{"latitude":305103483, "longitude":1144156933, "time": "2019-07-02 12:07:21", "puid": "PU_21322613"},
{"latitude":305103983, "longitude":1144157083, "time": "2019-07-02 12:07:26", "puid": "PU_21322613"},
{"latitude":305104366, "longitude":1144157350, "time": "2019-07-02 12:07:31", "puid": "PU_21322613"},
{"latitude":305104850, "longitude":1144157650, "time": "2019-07-02 12:07:36", "puid": "PU_21322613"},
{"latitude":305106150, "longitude":1144157983, "time": "2019-07-02 12:07:41", "puid": "PU_21322613"},

author: wangdan    time: 2019-7-2 14:33
是的,这个是今天下午测的,11:05开始测试, 12:04开始有信息, 12:07到12:41之间没有信息
author: xuwei    time: 2019-7-2 17:09
wangdan post on2019-7-2 14:33
是的,这个是今天下午测的,11:05开始测试, 12:04开始有信息, 12:07到12:41之间没有信息

建议使用百度地图获取GPS坐标,并打开基站定位选项
author: hardfire    time: 2019-7-2 17:12
此外,用手机安装MPU APP做对比排查,
http://up.besovideo.com:7780/mpu_na.apk

另外,更换另外一台帽子做对比测试。
排查是否个别硬件的故障。

author: hardfire    time: 2019-7-2 17:23
出现这个情况的时候,是没有4G网络的情况吗?




欢迎光临 mobile CCTV,mobile surveillance,police body worn cameras (http://bbs.besovideo.com:8067/) Powered by Discuz! X3.2