|
登录后获取GPS实时数据能获取到,但是获取GPS轨迹报错 cmd: searchlist fail RC_CODE_E_BVCU_UNAVAILABLE internal error: searchlistcmd: searchlist fail RC_CODE_E_BVCU_UNAVAILABLE请问是什么原因呢?- //GPS轨迹
- function testSearchGpsV2() {
- var itimeBegin = new Date().getTime() / 1000 - 100;
- var itimeEnd = new Date().getTime() / 1000;
- var puid = puId;
- var stSearchInfo = {
- iPostition: 0,
- iCount: 20
- };
- if (session) {
- session.swSearchGpsV2({
- //szNruId: nruid,
- stSearchInfo: stSearchInfo,
- iTimeBegin: itimeBegin,
- iTimeEnd: itimeEnd,
- szPuid: puid,
- callback: function (options, response, data) {
- console.log("response=>",response)
- console.log("data=>",data)
- if (response.emms.code == jSW.RcCode.RC_CODE_S_OK) {
- if (data.info.iCount > 0) {
- console.log("data.content[0]=>>>",data.content[0]);
- document.getElementById('filepathidv2').value = data.content[0].szFilePath;
- document.getElementById('nruidv2').value = data.content[0].szSourceID;
- }
- }
- },
- tag: null
- });
- }
- }
copycode |
|