Last modified:2025-02-26 09:23:29
Message content format:
text,custom: {textMsg:"xxxx"},when the message content starts with "play#", the device that supports voice synthesis will play the text after "play#" in voice.
file,picture,audio,video,confaudio: {fileID:"xxx",fileSize:"121212",fileName:"xxx.jpg",duration:10000};duration represents the duration of audio and video files, unit is millisecond
gps: same as the gps object in the query GPS data interface{lat:31.54512,lng:117.54545,height:6521,angle:2154,speed:212,startCount:3};units are degree, degree, centimeter, 1/1000 degree, meter/hour, count.deviceshare: device sharing message{deviceID:"xxxx", deviceName:"xxx", puGroupID:"device group id", puGroupName:"device group name", channelIndex:0, channelName:"channel name", className:"class name", video:true, audio:true};the sender only needs to fill in deviceID, channelIndex, video and audio, the rest of the fields are automatically filled by the serverWord: 设备
Translation: device