Last modified:2026-01-04 06:12:28
Message content format:
text,custom: {textMsg:"xxxx"}, when the message content begins with "play#," devices that support Text To Speech will play the text after "play#" in voice.
file,picture,audio,video,confaudio: {fileID:"xxx",fileSize:"121212",fileName:"xxx.jpg",duration:10000};duration indicates the duration of the audio and video file, in milliseconds
GPS: Same as querying the GPS objects in the GPS data interface {lat: 31.54512, lng: 117.54545, height:6521,angle:2154,speed:212,startCount:3}; the units are: degrees, degrees, centimeters, 1/1000 degrees, meters/hour, and pieces.deviceshare: Device sharing messages {deviceID:"xxxx", deviceName:"xxx", puGroupID:"device group id", puGroupName:"device group name", channelIndex:0, channelName:"channel name", className:"category name", video:true, audio:true}; the sender only needs to fill in deviceID, channelIndex, video and audio, and the rest fields are filled in automatically by the server