mobile CCTV,mobile surveillance,police body worn cameras

 forgetPW
 registerNow
search
view: 2501|reply: 4
打印 prevThread nextThread

CU SDK 发送消息 字段丢失

[copyURL]

18

主题

81

帖子

258

积分

midMem

Rank: 3Rank: 3

积分
258
jumpTo
owner
poston 2019-7-10 14:47 | 显示全部楼层 回帖奖励 |倒序浏览 |阅读模式
CU SDK 发送位置消息的时候,添加字段
  1. imMsgs.im_Msg[0].szTextMsg = address;
copycode



发送数据
  1. {"iCount":1,"im_Msg":[{"iMsgID":0,"iSourceIndex":0,"iType":3,"stGPSData":{"bAntennaState":0,"bOrientationState":0,"iAngle":0,"iHeight":0,"iLatitude":312055880,"iLongitude":1214701735,"iSatelliteSignal":0,"iSpeed":0,"iStarCount":0},"szTextMsg":"之俊大厦-2座附近31米"}]}
copycode
另外一段接受
  1. {"iCount":1,"im_Msg":[{"iMsgID":14050,"iSourceIndex":7342,"iType":3,"stGPSData":{"bAntennaState":0,"bOrientationState":0,"iAngle":0,"iHeight":0,"iLatitude":312055880,"iLongitude":1214701735,"iSatelliteSignal":0,"iSpeed":0,"iStarCount":0,"stTime":{"iDay":0,"iHour":0,"iMinute":0,"iMonth":0,"iSecond":0,"iYear":0}},"stSendTime":{"iDay":10,"iHour":6,"iMinute":43,"iMonth":7,"iSecond":47,"iYear":2019},"szSourceID":"UA_29973668","szTargetID":"CONF_5CECE1A6"}]}
copycode
丢失了 szTextMsg字段 ,请问怎么解决

reply

使用道具 report

18

主题

81

帖子

258

积分

midMem

Rank: 3Rank: 3

积分
258
sofa
 Owner| poston 2019-7-10 14:57 | 显示全部楼层
hardfire post on2019-7-10 14:51
哈哈,兄弟,代码开发,要自己动手丰衣足食。我们研发超忙。

为什么会丢呢。。就搞不懂啊兄弟
reply agree Against

使用道具 report

creditRule

QQ|wireless surveillance

GMT+8, 2024-5-7 17:34 , Processed in 0.058596 second(s), 19 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

QuickReply backToTop BackToList