最后修改时间:2024-12-17 07:10:52
消息内容格式:
text,custom: {textMsg:"xxxx"},消息内容以"play#"开头时,支持语音合成的设备会语音播放出"play#"后面的文字。
file,picture,audio,video,confaudio: {fileID:"xxx",fileSize:"121212",fileName:"xxx.jpg",duration:10000};duration表示音视频文件时长,单位毫秒
gps: 同查询GPS数据接口中gps对象{lat:31.54512,lng:117.54545,height:6521,angle:2154,speed:212,startCount:3};单位分别为:度,度,厘米,1/1000度,米/小时,个。deviceshare: 设备分享消息{deviceID:"xxxx", deviceName:"xxx", puGroupID:"设备组id", puGroupName:"设备组名称", channelIndex:0, channelName:"通道名称", className:"分类名称", video:true, audio:true};发送端只需填写deviceID,channelIndex,video和audio,其余字段服务器自动填写