Skip to content

Instantly share code, notes, and snippets.

@esinanturan
Forked from Riktastic/readme.md
Created March 9, 2026 23:09
Show Gist options
  • Select an option

  • Save esinanturan/2e980c39f2ada4528cbd97c004a61602 to your computer and use it in GitHub Desktop.

Select an option

Save esinanturan/2e980c39f2ada4528cbd97c004a61602 to your computer and use it in GitHub Desktop.
QX Q8-Q9-Q10 4G tracker SMS commands

QX Q8-Q9-Q10 4G tracker SMS commands

I bought this lovely little tracker for just under 20 euros. Which is a great fit for tracking the whereabouts of my new bicycle. It is tiny, it has some protection against the weather, a decent battery life and a magnet. The only bummer was: There were no oldskool SMS commands. Only a sleezy looking app which told me that my tracker would expire within a year. Traccar was my way to go, as it allowed me to keep my privacy and to stop the addition of more e-waste.

I knew it supported SMS commands as it responded to random gibberish with: "Invalid sms cmd". Using Google-fu a few sources which hinted at the possibility of a few SMS commands. Based of a half translated command list and the spec sheet of the protocol I created this list. Please note that I still do not completely understand what parameters are available and what each command does.

For a typical Traccar setup I recommend sending (setting the APN is optional):

  1. SL FT
  2. SL APN{myapn.com},{APN username}, {APN password}
  3. SL DP{mydomain.com or IP address}#5015#
  4. SL CP{your international phone number}

Afterwards simply add a new device to Traccer and fill in the serialnumber of the device prefixed by a 0 (for example S\N: 16324..., will be device ID: 016324.)

All commands:

SMS command SMS format Function Notes Example Response
1 SL MT{Telephone number}# Listen directly to recorded audio. If this is not supported it will simple respond with:Set OK! SL MT10086#
2 SL LC Get current location as Google Maps link. Will return: GPS IS NOT READY, when the signal has been lost. SL LC Google Maps url
3 SL FT Factory reset device. It does not reset the server configuration nor the APN configuration. SL FT Reset to factory Set OK!
4 SL RT Restart device. SL RT Restart Set OK!
5 SL DP{IP or domain name}#{port number}# Switch to another server supporting the Huabao-protocol. For example connect to a Traccar server on port 5015. When adding the device to Traccar append a 0 before the device ID. SL DP192.168.1.1#5055# OR SL DPexample.com#5055# Set ok!IP:192.168.1.1 5055
6 SL XM Set the device to sleep. SL XM
7 SL HX Wake the device up. SL HX
8 SL CP{NO.+#) Change the controlnumber of the device. After setting this up the device will only respond the SMS messages from this number. Please fill in the complete international number. Always send SMS messages to the international number of the tracker. I am currently unsure if there is a hardware reset button. So be carefull! SL CP Set OK!CenterNumber:..
9 SL CX Returns the: Device ID; Server host; Server port; APN host; Unknown; Unknown ; Battery level SL CX
10 SL MODE{Positioning mode}, {short connection interval}, {whether to enable flight mode}, {short connection duration} Set the device positioning mode.
First parameter: the power savings mode:
- 1: Normal mode (real time tracking): Uploads data every 5 minutes,
- 2: Uses the settings of the periodic positioning mode,
- 3: Smart power save mode,
- 4: Super power save mode.

Third: Flight mode, 1 to enable and 0 to disable,

Fourth parameter: The amount of minutes till standby after having not registered any movement.
Not sure what smart / ultra entail SL MODE2,5,0,5
11 SL GZ{interval time:s}, {time:s}, {Tracking duration:s} Location tracking interval times. not for uploading). SL GZ5,60
12 SL LOG{0: Disabled, 1: Enabled} Enable or disable the upload function. SL LOG1 LOG switch set OK!
13 SL OTA{0: Disabled, 1: Enabled} Enable or disable the remote upgrade function. SL OTA1 OTA switch set OK!
14 SL LED{0: Disabled, 1: Enabled} Enable or disable the LEDs. SL LED1 LED switch set OK!
15 SL REC{0: Disabled, 1: Enabled} Enable or disable the audio recoring function. SL REC1 REC switch set OK!
16 SL SC{Positioning upload mode}, {interval in minutes} Configure when the device uploads its data. Parameter 1 defines the upload mode: 0 for a scheduled upload, 1 for a interval upload. An upload interval in minutse can be set using the second parameter The other modes are currently unknown. SL SC0,10
17 SL DZMS{Mode, time} Sets the positioning mode and wake up time. There are three modes. Mode 3 allows us to set a predefined wakeuptime. SL DZMS3,0830
18 SL APN{apn, username, password} Set the APN of your mobile carrier. SL APNcmnet.io,user,password APN set OK!
19 SL IE Returns the IMEI of the device. SL IE device number:…,IMEI:…
20 SL ICCID Returns the ICCID of the device. SL ICCID ICCID:…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment