SHENZHEN  YUSHENGCHANG  TECHNOLOGY CO.,LTD

4p-touch.en.made-in-china     |     English    |     Chinese

Beesure GPS SeTracker Server Protocol

Views: 1292     Author: Site Editor     Publish Time: 2021-05-28      Origin: Site

Beesure GPS  SeTracker Server Protocol

  ---Update time on May.28, 2022


Device System firmware software is Language C ;

App software language for IOS version is Object C,yet language for Android version is Java

The server language is Node. JS


key encryption is AES128, without MQTT


Server Protocol GPRS Communication               


No any space in the command strings.


(In this protocol all the command strings in the format of [manufacture*Device ID*content length*content]

in it the manufacturer must be fixed two bit only, device ID is 10 numbers comes from the IMEI ,IMEI registered in your server , the server identify the device per ID number,

the content length fixed are 4 bit ASC II codes, and the high digit bit forward and low digit afterward. from right to left,high digit bit forward is on the left .

For example, FFFF means the length is 65535.)


Note: Any string or command in the string should start with [ and end with ], even on server end data .

IMEI number


I. Device send command

1. Link Keep

(1) Device Send:

 [CS*YYYYYYYYYY*LEN*LK]

 Example:[SG*8800000015*0002*LK]

Server reply:

[CS*YYYYYYYYYY*LEN*LK]

Example:[SG*8800000015*0002*LK]

Note:Once connected with local network, the datas will be send every 5-8 minutes, if the device not receive the reply from the server , then it will send the link keep every minute, after failure of connection 5 times, the device will reboot


(2) Device Send:

[CS*YYYYYYYYYY*LEN*LK,step, tumbling number,battery status percentage]

Example:[SG*8800000015*000D*LK,50,100,100]


Server reply:

[CS*YYYYYYYYYY*LEN*LK]

Example:[SG*8800000015*0002*LK]


Note: Once connected network, the datas will be send every 5-8 minutes, if the device not receive the reply from the server , then it will send LK every minute, after failure of link 5 times, the device will auto reboot


(Both of these strings exist.)


Very important tip: The server must reply all LK data! Otherwise the device will not send any other data and keep on sending the LK data every minute.


2. Position data report

Device Send:

[CS*YYYYYYYYYY*LEN*UD, the position data (see appendix one)]

Example:[3G*9403094122*00CD*UD,180916,025723,A,22.570733,N,113.8626083,E,0.00,249.5,0.0,6,100,60,0,0,00000010,7,255,460,1,9529,21809,158,9529,63555,133,9529, 63554,129,9529,21405,126,9529,21242,124,9529,21151,120,9529,63556,119,0,40.7]



Note:

Data contents:

UD-network information

(Type:

UD: that means the device is using 2G GSM network.

UD_WCDMA: that means the device is using 3G WCDMA network.

UD_LTE: that means the device is using 4G LTE network.)

180916-date

025723-time(Greenwich mean time)

A-gps Positioning is valid (A or V: A means GPS location is valid; V means GPS location is invalid,please check LBS or WIFI location data.)

22.570733-latitude

N or S: North /South.

113.8626083-longitude

E or W: East / West.

0.00-Speed (for a personal GPS tracker, we don't have speed data , this speed almost is no reference value)

249.5-Direction (for a personal GPS tracker, this data almost is no reference value)

0.0-altitude (height above sea level, this data almost is no reference value.)

6-satellite numbers ( Effective)

100-gsm signal strength(Full is 100)

60-battery status ( Full is 100%)

0-pedometer ( Counting steps number)

0-tumbling times( Counting sleeping flipping)

00000010-the device status,The data is hexadecimal,convert it in binary system is 0000 0000 0000 0000 0000 0000 0001 0000

in the front of 4 bit of the string is status,the last 4 bit is alarm0001, the number is mean the device is static-unmoving.please kindly refer to the last part of this file for detail information.( Please refer to the appendix form for the meaning of each bit.)

7-local base station numbers

255,460,1,9529,21809,158,9529,63555,133,9529,63554,129,9529,21405,126,9529,21242,124,9529,21151,120,9529,63556,119,base station information

0-WiFi number

40.7-positioning accuracy,it's meter

 

No reply or confirmation from server


Note: The device reports the location and status information according to the set interval, and does not need the platform reply.


3.Blind spot Data Supplements           

Device send:

[CS*YYYYYYYYYY*LEN*UD2, the position data (see appendix one)]

Example:[3G*9403094122*00D0*UD2,180916,064032,A,22.570512,N,113.8623267,E,0.00,154.8,0.0,11,100,100,0,0,00000010,7,255,460,1,9529,21809,157,9529,21405,131,9529,63555,130,9529,21242,129,9529,63554,126,9529,63556,120,9529,21151,113,0,12.2]


Server no need reply.

Note: Re-upload the data which produced in off-line or disconnection, and report it to server immediately once online again, it’s ok for 3-5 positions in memory.


4. Alarm data report

Device Send:

[CS*YYYYYYYYYY*LEN*AL, the position data (see appendix one)]

Example:[3G*8800000015*00CD*AL,180916,064153,A,22.570512,N,113.8623267,E,0.00,154.8,0.0,11,100,100,0,0,00100018,7,0,460,1,9529,21809,155,9529,21242,132,9529,21405,131,9529,63554,131,9529,63555,130,9529,63556,118,9529,21869,116,0,12.4]


Server reply:

 [CS*YYYYYYYYYY*LEN*AL]

Example:[SG*8800000015*0002*AL]


Note: Device sends alarm information to the platform after alarming , if the device has not received the reply, then constant reporting until receive the alarm confirmation

eg.:[3G*4504816162*010A*AL_LTE,241020,085353,V,0.0,N,0.0,E,22.0,0,-1,1,100,35,0,0,00200000,1,1,460,11,30602,125639728,100,5,4P-Touch,bc:5f:f6:1e:07:be,-55,ChinaNet-a9Ld,c4:b8:b5:c4:14:79,-53,ChinaNet-CX9r,f0:92:b4:95:3d:b9,-57,5B,08:31:8b:ae:ef:c8,-66,TP-LINK_274E,

50:bd:5f:80:27:4e,-63,0.0]

Fall down is 00200000, the 21st bit

(refer to appendix one)( refer to the configuration guide)


Count from right to left, the 1st bit is 0, the 21st bit is 00200000,the SOS AL is 16 bit is 00010000


II.Server send command

1. Upload the data interval set up

Server send:

[CS*YYYYYYYYYY*LEN*UPLOAD,interval]

Example:[SG*8800000015*0009*UPLOAD,10]


Device reply:

[CS*YYYYYYYYYY*LEN*UPLOAD]

Example:[SG*8800000015*0006*UPLOAD]

Noted:Set the time interval for the device to upload datas. The upload interval for the device once in dynamic state only, the watch does not report the position data once the device in sleep model.if no any moving or shaking from the different orientation for 2 minutes , it will be auto go to sleep model , only linkkeep for network connection only .but if any moving or shaking , it will wake up immediately .and syncs the data per time interval .the time interval is seconds,the min. is 10 (seconds), the max is 65535 seconds.


2. Center number set up

Server send:

[CS*YYYYYYYYYY*LEN*CENTER,center number]

Example:[SG*8800000015*0012*CENTER,00000000000]


Device reply:

[CS*YYYYYYYYYY*LEN*CENTER]

Example:[SG*8800000015*0006*CENTER]


Noted: set the center number,it can send the SMS command through this center phone number。Meanwhile, all the alarm messages will send to this center number in the mobile phone.


3. Control password set up

Server send :

[CS*YYYYYYYYYY*LEN*PW,password]

Example:[SG*8800000015*0009*PW,111111]


Device reply:

[CS*YYYYYYYYYY*LEN*PW]

Example:[SG*8800000015*0002*PW]


Note: set the device SMS control password,if any other phone number (it's not the center number) send SMS commands to the device add this password.


4. Outgoing calls

Server send:

[CS*YYYYYYYYYY*LEN*CALL,phone number]

Example:[SG*8800000015*0010*CALL,00000000000]


Device reply:

[CS*YYYYYYYYYY*LEN*CALL]

Example:[SG*8800000015*0004*CALL]


Noted: The device will dial the corresponding phone number in this command once the device receive the command


5.Listen in/ Voice Monitor

Server send:

[CS*YYYYYYYYYY*LEN*MONITOR]

Example:[SG*8800000015*0007*MONITOR]


Device reply:

[CS*YYYYYYYYYY*LEN*MONITOR]

Example:[SG*8800000015*0007*MONITOR]


Note:device automatic callback the center number.


Server send:

[CS*YYYYYYYYYY*LEN*MONITOR,00000000000]

Example:[SG*8800000015*0013*MONITOR,13100010002]


Device reply:

[CS*YYYYYYYYYY*LEN*MONITOR]

Example:[SG*8800000015*0007*MONITOR]


Note: device  automatic callback the phone number in the command.

The above 2 commands are exists.


6.SOS number set up

(1) First SOS number Set up

Server send:

[CS*YYYYYYYYYY*LEN*SOS1,phone number]

Example:[SG*8800000015*0010*SOS1,00000000000]


Device reply:

[CS*YYYYYYYYYY*LEN*SOS1]

Example:[SG*8800000015*0004*SOS1]


(2) the second SOS number set up

Server send:

[CS*YYYYYYYYYY*LEN*SOS2, phone number]

Example:[SG*8800000015*0010*SOS2,00000000000]


Device reply:

[CS*YYYYYYYYYY*LEN*SOS2]

Example:[SG*8800000015*0004*SOS2]


(3) The third SOS number set up

Server send:

[CS*YYYYYYYYYY*LEN*SOS3, phone number]

Example:[SG*8800000015*0010*SOS3,00000000000]


Device reply:

[CS*YYYYYYYYYY*LEN*SOS3]

Example:[SG*8800000015*0004*SOS3]


(4)  set the 3 SOS number at the same time

Server send:

[CS*YYYYYYYYYY*LEN*SOS,phone number, phone number, phone number]

Example:[SG*8800000015*0027*SOS,00000000000,00000000000,00000000000]


Device reply:

[CS*YYYYYYYYYY*LEN*SOS3]

Example:[SG*8800000015*0003*SOS]


Note:After setting the SOS numbers,once any emergency, the device will auto dial the SOS numbers one by one , if any number pick up the phone, it will stop dialing the next number; if none pick up, it will auto dial 3 SOS numbers 2 rounds and then end it. Meanwhile, it will send the emergency message to the 3 SOS numbers..


7.IP and port set up

Server send:

[CS*YYYYYYYYYY*LEN*IP,IP or URL,port]

Example:[SG*8800000015*0014*IP,113.81.229.9,5900]


Device not reply this command, directly disconnect the current connection, connect the new server, but it need wait 5-8minutes , restart the device for exchange ip and port.


Note: this is change device report to your server  IP and port.


8. Restore factory setting

Server send:

[CS*YYYYYYYYYY*LEN*FACTORY]

Example:[SG*8800000015*0007*FACTORY]


Device reply:

[CS*YYYYYYYYYY*LEN*FACTORY]

Example:[SG*8800000015*0007*FACTORY]


Note: The device restores factory original settings


9. The language and time zone set up

Server send:

[CS*YYYYYYYYYY*LEN*LZ,language,time zone]

Example:[SG*8800000015*0006*LZ,1,8]


Device reply:

[CS*YYYYYYYYYY*LEN*LZ]

Example:[SG*8800000015*0002*LZ]


Note: Set the device language and time zone.

The following is the parameter charactor of the language supported by the device: 

0-English,
1-Simplify Chinese
3- Portuguese
4-Spain
5-German

7-Turkish
8-Vietnam

9-Russia

10-French

Note:Not all the devices support all these 10 languages


10. SOS SMS alarm Alert switch

Server send:

[CS*YYYYYYYYYY*LEN*SOSSMS,0 OR 1]

Example:[SG*5678901234*0008*SOSSMS,0]


Device reply:

[CS*YYYYYYYYYY*LEN*SOSSMS]

Example:[SG*5678901234*0006*SOSSMS]

Note:this is send sms switch to sos numbers after there is sos alarm (0:OFF, 1:ON).


11. Low battery alarm SMS alert switch

Server send:

[CS*YYYYYYYYYY*LEN*LOWBAT,0 or 1]

Example:[SG*5678901234*0008*LOWBAT,1]


Device reply:

[CS*YYYYYYYYYY*LEN*LOWBAT]

Example:[SG*5678901234*0006*LOWBAT]


Note: this is send sms switch to center number once there is low battery alarm (0:OFF, 1: ON)  

.

12.Check the version

Server send:

[CS*YYYYYYYYYY*LEN*VERNO]

Example:[SG*8800000015*0005*VERNO]


Device reply:

[CS*YYYYYYYYYY*LEN*VERNO,VERSION INFORMATION]

Example:[SG*8800000015*0028*VERNO,G29_BASE_V1.00_2014.04.23_17.46.49]


Note: check the device vision.


13. Restart the device

Server send:

[CS*YYYYYYYYYY*LEN*RESET]

Example:[SG*5678901234*0005*RESET]


Device reply:

[CS*YYYYYYYYYY*LEN*RESET]

Example:[SG*5678901234*0005*RESET]


Note:the device will be auto restart after receiving the command,the device just restart in the backstage and not show it on the device.


14.Position command=Pressing Locate in App

Server send:

[CS*YYYYYYYYYY*LEN*CR]

Example:[SG*5678901234*0002*CR]


Device reply:

[CS*YYYYYYYYYY*LEN*CR]

Example:[SG*5678901234*0002*CR]


Note: Wake up the device GPS moudel immediately, constant position for 3 minutes ,upload the map location datas every 10 minutes,it will stop after 3 minutes.


15. The shutdown command

Server send:

[CS*YYYYYYYYYY*LEN*POWEROFF]

Example:[SG*5678901234*0008*POWEROFF]

Device reply:

[CS*YYYYYYYYYY*LEN*RESET]

Example:[SG*5678901234*0008* POWEROFF]


Note:the device will be auto shut down once receiving the command


16. Take off the watch the alarm switch 

( This is depends on the firmware features, Please kindly check the device firmware if with light sensor or not, if not , then unnecessary for configuration)--this is only for the GPS with valid light sensor for take off alerts feature only)

Server send:

[CS*YYYYYYYYYY*LEN*REMOVE,0 OR 1]

Example:[SG*5678901234*0008*REMOVE,1]


Device reply:

[CS*YYYYYYYYYY*LEN*REMOVE]

Example:[SG*5678901234*0006*REMOVE]


Note: Take off the watch the alarm switch,(1:ON,0:OFF).

 

Take off the watch the SMS alarm alerts switch:

Server send:

[CS*YYYYYYYYYY*LEN*REMOVESMS,0 OR 1]


Device reply:

[CS*YYYYYYYYYY*LEN*REMOVESMS]


Note:Take off the watch the SMS alarm alerts switch,(1:ON,0:OFF)


17. Walktime set up* (Pedometer)

Server send:

[CS*YYYYYYYYYY*LEN*WALKTIME, time section, time section, time section]

Example:[SG*5678901234*002A*WALKTIME,8:10-9:30,10:10-11:30,12:10-13:30]


Device reply:

[CS*YYYYYYYYYY*LEN*ANY]

Example:[SG*5678901234*0008*WALKTIME]


Note: set the walking time step counting time section.

 

Note:The device records two values, one is the number of steps per day, which will be reset every day, and the other is the cumulative total number of steps, which will not be reset. What the device report to the server is the total number of steps, and the server must calculate the number of steps per day based on the total number of steps uploaded


18. Sleep and tumbling time detection settings

Platform send:

[CS*YYYYYYYYYY*LEN*SLEEPTIME, time section]

Example:[SG*5678901234*0014*SLEEPTIME,21:10-7:30]


Device response:

[CS*YYYYYYYYYY*LEN*ANY]

Example:[SG*5678901234*0009*SLEEPTIME]


Note: Sleep and tumbling time detection settings in time section


19. No disturbance time section set up

Server send:

[CS*YYYYYYYYYY*LEN*SILENCETIME,time section, time section, time section, time section]

Example:[SG*5678901234*0037*SILENCETIME,21:10-7:30,21:10-7:30,21:10-7:30,21:10-7:30]


Device reply:

[CS*YYYYYYYYYY*LEN*SILENCETIME]

Example:[SG*5678901234*000B*SILENCETIME]


Note: Set the range of non-disturbing time period, the time period only for Monday to Friday, intercept the device of any calls, the weekend is invalid.


20.Look for a watch set up

Server send:

[CS*YYYYYYYYYY*LEN*FIND]

Example:[SG*5678901234*0004*FIND]


Device response:

[CS*YYYYYYYYYY*LEN*FIND]

Example:[SG*5678901234*0004*FIND]


Note: Send this command , the device ringing 1 minute, press the button for confirmation


21. A number of small red flowers set up

Server send:

[CS*YYYYYYYYYY*LEN*FLOWER,flower pieces]

Example:[SG*5678901234*0008*FLOWER,5]


Device response:

[CS*YYYYYYYYYY*LEN*FLOWER]

Example:[SG*5678901234*0006*FLOWER]


Note: the device screen will appear the number of the red flowers.


22. Alarm clock set command

Server send:

[CS*YYYYYYYYYY*LEN*REMIND,alarm 1,alarm 2,alarm 3]

Example:[SG*5678901234*0018*REMIND,08:10-1-1,08:10-1-2, 08:10-1-3-0111110]


Device response:

[CS*YYYYYYYYYY*LEN*REMIND]

Example:[SG*5678901234*0006*REMIND]


Note:Clock alarm format:time-switch-how often(1:Once;2:every day;3: self defaulted)

08:10-1-1:colock alarm time 8:10,ON,Once

08:10-1-2:colock alarm time 8:10,ON,every day

08:10-1-3-0111110:colock alarm time 8:10,ON,self defaulted monday to friday


23.Voice chat function

(1)Server send voice message:

[CS*YYYYYYYYYY*LEN*TK,AMR audio data]


Device response:

[CS*YYYYYYYYYY*LEN*TK,receive status]

receive status:1—success receving

0-    failure

the server ARM audio data need to be changed the version as follows,once the server receive the voice message or voice recorder the datas format on the left will changed tothe data format on the right:

0X7D 0X01 -->  0X7D

0X7D 0X02 -->  0X5B

0X7D 0X03 -->  0X5D

0X7D 0X04 -->  0X2C

0X7D 0X05 -->  0X2A

( Please kindly get the ARM file exchange file templates from us)

 

(2)Device send the voice message:

[CS*YYYYYYYYYY*LEN*TK,AMR audio data]

Platform response:

[CS*YYYYYYYYYY*LEN*TK, receive status]

receive status:1—success receving

0-    0- failure

 

the server ARM audio data need to be changed the version as follows,once the server receive the voice message or voice recorder the datas format on the left will changed tothe data format on the right:

0X7D --> 0X7D 0X01

0X5B --> 0X7D 0X02

0X5D --> 0X7D 0X03

0X2C --> 0X7D 0X04

0X2A --> 0X7D 0X05


( Please kindly get the ARM file exchange file templates from us)


24.Device checking the offline voice message

Device demand to send the voice recorder:

[CS*YYYYYYYYYY*LEN*TKQ]


Server reply:

[CS*YYYYYYYYYY*LEN*TKQ]


Device demand to send the friend voice recorder:

[CS*YYYYYYYYYY*LEN*TKQ2]


Platform response:

[CS*YYYYYYYYYY*LEN*TKQ2]


25. Phrases Display set command

Server send:

[CS*YYYYYYYYYY*LEN*MESSAGE,phrases contents]

Example:[SG*5678901234*0018*MESSAGE,597D003100320033]


Device response :

[CS*YYYYYYYYYY*LEN*MESSAGE]

Example:[SG*5678901234*0007*MESSAGE]


Note: this command push sending the phrases to device,the phrases in GB232 coding be sent to device.

 

26.Phone book set up

Server send(1)

[3G*8800000015*len*PHB,phone number,name, phone number,name, phone number,name, phone number,name, phone number,name, phone number,name]

len: Send length hexadecimal ,Occupies 2 bytes

phone number:ASCII character

name:Unicode coding

available for 5 names and 5 numbers the most,the phone number no more than 20 pieces ascii characters,name no more than 10 pieces Unicode characters

Example:

[3G*8800000015*0010*PHB,110,5F204E09]

Device response:[3G*8800000015*0003*PHB]

 

Server send(2)

[3G*8800000015*len*PHB2, phone number,name, phone number,name, phone number,name, phone number,name, phone number,name, phone number,name]

len: Send length hexadecimal ,Occupies 2 bytes

phone number:ASCII character

name:Unicode coding

available for 5 names and 5 numbers the most,the phone number no more than 20 pieces ascii characters,name no more than 10 pieces Unicode characters

Example:

[3G*8800000015*0010*PHB2,110,5F204E09]

Device response:[3G*8800000015*0004*PHB2]


Note:PHB is for the front 5 numbers, PHB2 for the last 5 numbers


27.Touch to add friend

Device send:

[CS*YYYYYYYYYY*LEN*PP,the device current time,position data(see appendix one)]

Example:[3G*8800000015*00D4*PP,091046,180916,085033,A,22.570193,N,113.8621950,E,0.48,60.3,0.0,9,100,100,0,0,00000010,7,255,460,1,9529,21809,160,9529,21405,

133,9529,63555,133,9529,63554,124,9529,21242,119,9529,21151,118,9529,63574,116,0,23.2]


Server response:

situation 1:add friend success

[SG*8800000015*LEN*ID]

Example:[SG*8800000015*000A*8800000015]

situation 2:add friend failure

[SG*8800000015*LEN*X]

X if 1 means the other device already add you as friends, X if 2 means you already add the other device as friends .

Example:

[SG*8800000015*0001*1]

[SG*8800000015*0002*2]


28.Remove single friend

Server send:

[SG*8800000015*0003*PPR]

no reply from the device


 

29.Scence mode


Server send:

[CS*YYYYYYYYYY*LEN*profile,x]

X-1,2,3,4

1-vibration and ringing

2- ringing

3- vibration

4-silence


Device response:
[CS*YYYYYYYYYY*LEN*frofile]



30. White list set command

Server send:

[SG*YYYYYYYYYY*LEN*WHITELIST1, number 1, number 2, number 3, number 4, number 5]

Example:[SG*5678901234*002D*WHITELIST1,123456,123456,123456,123456,123456]


Device reply:

[CS*YYYYYYYYYY*LEN*WHITELIST1]

Example:[SG*5678901234*000A*WHITELIST1]

Note: Establishes 1-5 white list number.



Server send:

[CS*YYYYYYYYYY*LEN*WHITELIST2, number 1, number 2, number 3, number 4, number 5]

Example:[SG*5678901234*002D*WHITELIST2,123456,123456,123456,123456,123456]


Device reply:

[CS*YYYYYYYYYY*LEN* WHITELIST2]

Example:[SG*5678901234*000A*WHITELIST2]

Note: set 6-10 white list number.





 

III.Heart Rate and Blood Pressure protocol


1.*Platform remote request Heart rate and blood pressure:

Server send:
[3G*8800000015*len*hrtstart,x]

x is 1 means device upload the heart rate datas single time, then auto stop after uploading. Eg.:[3G*9513979338*000a*hrtstart,1]


x is 0 means device stop uploading the heart rate datas.

Device reply:
[3G*8800000015*len*hrtstart]

Example:[3G*8800000015*0013*bphrt,112,73,67,,,,]

Systolic blood pressure:112

Diastolic blood pressure:73

Heart rate:67


2. *Heart rate and Blood pressure upload( both measuring at the same time)

 

Device upload:

[3G*8800000015*len*bphrt,xx,xx,xx,xx,xx,xx,xx]

 

The 1st parameter xx represents high pressure and 0 means invalid.

The 2nd parameter xx represents low pressure and 0 means invalid.

The 3rd parameter xx represents a heart rate of 0 for invalid

The 4th parameter xx represents height in cm

The 5th parameter xx represents gender 1 is male 2 is female

The 6th parameter xx represents age

The 7th parameter xx represents weight in KG


 

Platform response:

[3G*8800000015*len*bphrt]


3.* SPO2 data sync protocol:(NEW)

Device send:

[3G*YYYYYYYYYY*LEN*oxygen,type,oxy]

*type number:

0-means manual measuring on device end

oxy:SPO2 data



Server reply:

[3G*YYYYYYYYYY*LEN*oxygen,status]

status number:

1means normal ; 

0 means abnormal ; 

2 means error


 

4.Voice Alarm version take medicine (request device reply)

 

Server send:

[3G*8800000015*len*TAKEPILLS, reminder settings, number, reminder text, voice data]

 

Note: i. The value of the medication reminder function (DD) in the function configuration protocol CONFIG is configured as "2".

DD - medication reminder function (0: no, 1: have (old version),                                          ii: voice version

 

1) reminder settings: the data format is the same as the alarm clock (time - switch - frequency - custom)

 

2) number 1 - 3 (up to 3 reminders)

3) reminder text using unicode encoding

4) the voice data can be empty (that is, no voice is set), but the protocol parameter format is unchanged (that is, there will be a comma ",")

eg.:[3G*4804582612*002a*TAKEPILLS,11:25-1-2,1,006f00770070006d0067]

Note:006f00770070006d0067 is HEX example of alarm text.

 

If the audio is recorded, the recording file will be added at the end:[3G*4804582612*002a*TAKEPILLS,11:25-1-2,1,006f00770070006d0067,audio file]

 

Device reply:

[3G*7893267563*0002*TAKEPILLS,status code]

 

Status code: 1 - success 0 - failure


 

.Remote Snapshot Command


Server send:

[CS*YYYYYYYYYY*LEN*rcapture]

Example:

[3G*8800000015*len*rcapture]


Device reply:

Upload picture command:

[3G*8800000015*len*img,x,y,z]

X  is 5:remote snapshot

Y means :time(year month date hour minute second:160429110950)

Character Z is picture contents


 

.Fall down alarm alert

Server send:

[3G*YYYYYYYYYY*LEN*FALLDOWN,X,Y]

X  is Fall down alarm alert switch,1 is ON ;0 is OFF

Y means once detect fall down, if need call the center number or not, 1 is ON ;0 is OFF


Device reply:

[3G*YYYYYYYYYY*LEN*FALLDOWN]


 

Fall down detection sensitive setting

 

Server send:

[3G*4504816144*0009*LSSET,X+6]

 

X represents the current sensitivity level, 6 represents the total sensitivity level

 

Device reply:[3G*4504816144*0007*LSSET,X]


 

Body Temperature Measure


 this is depends on if firmware with temperature sensor


1.Temperature upload from watch


Device send:

[3G*YYYYYYYYYY*LEN*btemp2,type,temp]

Type :measurement mode:0:forehead mode 1: wrist hand mode*

Temp :temperature degree,

 

When temp=0, low temperature abnormal (measure abnormal)

When temp=1, high temperature abnormal(measure abnormal)

 

Server reply:

[3G*YYYYYYYYYY*LEN*btemp2]

 

2Real-time temperature request 

Server send:

[3G*YYYYYYYYYY*LEN*bodytemp2]

 

Device reply:

[3G*YYYYYYYYYY*LEN*bodytemp2]

 

3.Temperature measurement request per time interval 


Server send :

[3G*YYYYYYYYYY*LEN*bodytemp,arg1,arg2]

arg1 :0 : turn off interval measurement  1 :turn on interval measurement

arg2 :2(1-12) :time interval, Unit: hour, Range: 1-12 (No data in night mode)

 

Device reply:

[3G*YYYYYYYYYY*LEN*bodytemp]


 

.Wifi setting ( this is only for 4G watch)

 

1   Wifi search

Server send :

[CS*YYYYYYYYYY*LEN*WIFISEARCH]

example:[SG*8800000015*000A*WIFISEARCH]


Device reply:

[CS*YYYYYYYYYY*LEN* WIFISEARCH,wifi numbers,WIFIID,SSID]

example:

[SG*8800000015*000A*WIFISEARCH,3,3gelec8888,08:c0:21:1e:68:e0,

3gelec8888,08:c0:21:1e:68:e0, 3gelec8888,08:c0:21:1e:68:e0]


Note:search device end wifi quantity

 

2.    Wifi set up:


Server send :

[CS*YYYYYYYYYY*LEN*WIFISET]

example:[SG*8800000015*000A*WIFISET, WIFIID, WIFIpassword, SSID]


Device reply:

[CS*YYYYYYYYYY*LEN* WIFISET]

example:

[SG*8800000015*000A* WIFISET, 3gelec3,3gelec8888,08:c0:21:1e:68:e0]


Note :set WIFI password

 

3. Wifi delete


Server send :

[CS*YYYYYYYYYY*LEN*WIFIDEL]

example:[SG*8800000015*000A*WIFIDEL,WIFIID,SSID]


Device reply:

[CS*YYYYYYYYYY*LEN* WIFIDEL]

example:

[SG*8800000015*000A*WIFIDEL,3gelec3,08:c0:21:1e:68:e0]


Note:Delete WIFI

 

4.Check the currently connected wifi


Server send :

[CS*YYYYYYYYYY*LEN*WIFICUR]

Example:[SG*8800000015*000A*WIFICUR]


Device reply:

[CS*YYYYYYYYYY*LEN* WIFICUR, WIFIID, SSID]

example:

[SG*8800000015*000A*WIFICUR,3gelec3,08:c0:21:1e:68:e0]


Note:check the currently connected wifi information

0 means disconnection。

 

 

2019-05-31 updated

 

5.Wifi setting modified report

Note :After the user sets the wifi information through the APP, and then resets the cached wifi through the smart phone watch wifi setting menu, the modified information needs to be reported

Device report:

[CS*YYYYYYYYYY*LEN*WIFIINFOUP, wifi_name, wifi_password, wifi_ssid]

 

wifi_name                (HEX)

wifi_password                (HEX)

wifi_ssid                         

 

Server reply:

[CS*YYYYYYYYYY*LEN* WIFIINFOUP,status]

 

status:

 

-1:data length wrong

0:server un-normal

1:Success


 

*4G GPS watch GPS switch

 

For 4G watch ,There is a command need send from server end to control GPS positioning before the GPS positioning will be uploaded. By default, GPS positioning is not enabled.

[3G*0304927626*000C*APPLOCK,DW-1]

 

Noted :1 is ON, 0 is OFF


*Night mode Switch

 

Night power saving mode is on


[3G*0304927626*000C*APPLOCK,YJ-1]


Night power saving mode is off


[3G*0304927626*000C*APPLOCK,YJ-0]


*Reject stanger calling in


Note: The default in software is off

Server send:

[3G*YYYYYYYYYY*LEN*DEVREFUSEPHONESWITCH,open]

open: switch state, 0--closed, 1--open


Device reply:

[3G*YYYYYYYYYY*LEN*DEVREFUSEPHONESWITCH]


*Phonebook contact settings with avatar


Server send:

[3G*7893267563*len*PHBX, number, name, phone, photo data]


1. There can be 0-30 calls

2. Number 1-30

3. Photo data


Device reply: [3G*7893267563*0002*PHBX, status code]

Status code: 1——success 0——failure



Delete phonebook contact with avatar

server send:

[3G*7893267563*0002*DPHBX, number]


Device reply: [3G*7893267563*0002*PHBX, status code]

Status code: 1——success 0——failure


[3G*7304782138*0006*wdimgq] this is to request the offline photos




. Appendix

Appendix一: Locvation  Data Notes

Description

Examples  (ASII code)

Note

Date

120414

 (day month year) April 21, 2014

Time

101930

(hour, minutes   and seconds) ten nineteen 30 seconds

Whether   the Location

A

A: Valid positioning V: Invalid positioning

latitude

22.564025

According to the definition of DD.DDDDDD format, this latitude value is: 22.564025

Mark of latitude

N

N   expresses the north latitude, S expresses the south latitude.

Longitude

113.242329

According   to the definition of   DDD.DDDDDD format, this longitude value is: 113.242329.

Mark   of longitude

E

E   expresses the east longitude, W expresses the west longitude

Speed

5.21

5.21 km / hour.

Direction

152

In the direction of 152 degrees.

Altitude

100

Unit is meters

satellite   number

9

Indicates that the GPS satellite number

signal   intensity GSM

100

That represents the current GSM signal intensity (0-100)

Power status

90

Battery   capacity status %

Pedometer

1000

Count   the number of steps

Body Tumbling times

50

Body Tumbling 50 times

Device   status

00000000(Hexadecimal)

Indicated   with HEX string of character , the meaning is as follows:

The   high 16bit expression alarming, low 16bit expression condition.

The   Bit position (0 starts)       Meaning (1 Effective)

0                          Low battery   state

1                          out of fence state

2                          Into the fence   state

3                          watch state

16                        SOS alarm

17                        Low battery alarm

18                        out fence alarm

19                        Into the fence alarm

20                        Remove the watch alarm 

Base   stations number 

4

upload   Base stations number, 0 expressions does not uplaod the base station number

connect Base station number

1

GSM   Time delay

MCC code

460

MCC country code

MNC   code

02

MNC   network number

Base   station location area code

10133

Area code

Nearby   the base station numbers

5173

base   station serial No.

base   station signal strength

100

Signal strength

Nearby   the base station 1 location area code

10133

Area code

Nearby   the base station 1 number

5173

base   station serial No.

nearby   the base station 1 signal strength

100

Signal strength

Nearby   the base station 2 location area code

10133

Area code

Nearby   the base station 1 number

5173

base   station serial No.

nearby   the base station 2 signal strength

100

Signal strength

Nearby   the base station 3 location area code

10133

Area code

Nearby   the base station 3 number

5173

base   station serial No.

nearby   the base station 3 signal strength

100

Signal strength

Wifi hotspots valid

5

Wifi   hotspot valid quantity(the most 5),per the signal strength

Wifi 1name

rrr

The   1st wifi name

Wifi 1 MAC address

1c:fa:68:13:a5:b4

Wifi   1 MAC address

Wifi 1 signal strength

-61

Wifi   1 signal strength

Wifi 2 name

abc

The   2nd wifi name

Wifi 2 MAC address

1c:fa:68:13:a5:b5

Wifi   2 MAC address

Wifi 2 signal strength

-87

Wifi   2 signal strength





Shenzhen Yushengchang Technology
Co., Ltd

 Download APP

Contact us

  +86-755-29755516
  +8615323410276 (Connie Yan)
  +86 18588448985 (Selina Yu)    
  +8613509607927 (Alan Tong)

  +8615323476221 (Carry Zhang)

  
sales@4p-touch.com

CONTACT US

Copyright © 2019 Shenzhen Yushengchang Technology Co., Ltd. All Rights Reserved

粤ICP备13064141号-1