Command to receive images in watch protocol

Ponmuthu6 years ago

What command is used to receive images in watch protocol??
Is it a custom command?

50.远程拍照指令
平台发送:
[CS*YYYYYYYYYY*LEN*rcapture]
例如:
[3G*8800000015*len*rcapture]
终端回复:
图片上传指令
[3G*8800000015*len*img,x,y,z]
参数X 为5:远程拍照
参数Y表示 :时间(年月日时分秒:160429110950)
参数z为照片内容

Armin4 years ago

Hi guys
I want to read the vital signs information remotely for an hour. The software I use is hercules. Almost all commands work except the clock command to get vital signs, also sends [3G * 0304583322 * 0009 * LK, 0,0,91] to the clock.
For the ip clock, I set the server to port 8001
Is there anyone to help?

John Smith3 years ago

Just figured this out.. Ignore this part when using the Traccar webpage: 'CS*YYYYYYYYYY*LEN*'. LEN is actually the length of the message being sent, in HEX, and already calculated by the Traccar software. So click 'Command' Icon by Devices, then 'New', then Custom Command, and enter your command, 'rcapture' in this case.

The watches seem to follow the A19 Protocol, at least the RFV45 4G one I'm using (port 5093).
https://www.istartek.com/wp-content/uploads/2019/03/A19-Communication-Protocol.pdf

It should return about 15 HEX formatted entries that code for a jpg file, startinging with ffd8 (about 40 characters in) and ending with ffd9. You can manually edit it and put it ina web converter like this one: https://codepen.io/abdhass/pen/jdRNdj. I'm writing some code right now to convert to an image via CLI and send via email.