update readme

This commit is contained in:
James Mackay 2023-12-21 08:47:10 +00:00
parent 68e98a14b5
commit 6a4178b3e5

View File

@ -1,38 +1,43 @@
# TKSTAR-TK915 SMS Commands # TKSTAR-TK915 SMS Commands
## Notes ## Nota
* <space> means space character * <space> means space character
* <phone number> like 00330612345678 (prefer international format) * <phone number> like 00330612345678 (prefer international format)
## Admin commands .Admin commands
[options="header,footer"]
|=======================================================
| Description | Command | Response | Comment | Description | Command | Response | Comment
|-----------|:--------:|---------:|---------:|
| Change password | password<current password><space><new password> | password ok | | Change password | password<current password><space><new password> | password ok |
| Enable admin phone number| admin<password><space><phone number> | admin ok | Up to 5 phone numbers. | Enable admin phone number| admin<password><space><phone number> | admin ok | Up to 5 phone numbers.
| Disable admin phone number admin | noadmin<password><space><phone number> | noadmin ok | | Disable admin phone number admin | noadmin<password><space><phone number> | noadmin ok |
|=======================================================
.Configuration commands
## Configuration commands [options="header,footer"]
|=======================================================
| Description | Command | Response | Comment | Description | Command | Response | Comment
|-----------|:--------:|---------:|---------:|
| Reset hardware | begin<password> | begin ok | | Reset hardware | begin<password> | begin ok |
| Check the device | check<password> | device informations | | Check the device | check<password> | device informations |
| Timezone setting | timezone<password><space><timezone> | time ok | ex: timezone123456 +2 | Timezone setting | timezone<password><space><timezone> | time ok | ex: timezone123456 +2
|=======================================================
## Network commands .Network commands
[options="header,footer"]
|=======================================================
| Description | Command | Response | Comment | Description | Command | Response | Comment
|-----------|:--------:|---------:|---------:|
| Enable GPRS | gprs<password> | gprs ok | | Enable GPRS | gprs<password> | gprs ok |
| Disable GPRS | nogprs<password> | nogprs ok | | Disable GPRS | nogprs<password> | nogprs ok |
| Set APN | apn<password><space><APN name> | apn ok | | Set APN | apn<password><space><APN name> | apn ok |
| Set APN user | apnuser<password> <APN username>| apnuser ok | | Set APN user | apnuser<password> <APN username>| apnuser ok |
| Set APN password | apnpassword<password> <APN password>| apnpassword ok | | Set APN password | apnpassword<password> <APN password>| apnpassword ok |
|=======================================================
.Alarm commands
## Alarm commands [options="header,footer"]
|=======================================================
| Get position | g<password># | location informations | | Get position | g<password># | location informations |
|-----------|:--------:|---------:|---------:|
| Enable shock detection | shock<password> | shock ok | | Enable shock detection | shock<password> | shock ok |
| Disable shock detection | noshock<password> | noshock ok | | Disable shock detection | noshock<password> | noshock ok |
| Sleep after 10min | sleep<password><space><time> | sleep time ok | | Sleep after 10min | sleep<password><space><time> | sleep time ok |
@ -42,24 +47,16 @@
| Disable alam when move | nomove<password> | nomove ok | | Disable alam when move | nomove<password> | nomove ok |
| Enable over-speed alarm | speed<password><space>080 | speed ok | ex: speed123456 080 (over 80km/h) | Enable over-speed alarm | speed<password><space>080 | speed ok | ex: speed123456 080 (over 80km/h)
| Disable over-speed alarm | nospeed<password> | nospeed ok | | Disable over-speed alarm | nospeed<password> | nospeed ok |
| Enable Auto location | t<time w/ 3 digits><time unit s/m/h><occurs w/ 3 digits>n<password> | location informations |*ex*: | Enable Auto location | t<time w/ 3 digits><time unit s/m/h><occurs w/ 3 digits>n<password> | location informations |
*ex*:
* t030s005n123456 send location every 30s, 5 times. * t030s005n123456 send location every 30s, 5 times.
* t001h001n123456 send location every hour, 1 time. * t001h001n123456 send location every hour, 1 time.
* t005m***n123456 send position every 5min * t005m***n123456 send position every 5min
*time*: from 20sec / cycle between 000 and 255. *time*: from 20sec / cycle between 000 and 255.
| Disable Auto location | notn<password> | notn ok | | Disable Auto location | notn<password> | notn ok |
|======================================================= |=======================================================
apn123456 mobile.o2.co.uk
apnuser123456 o2web
apnpassword123456 password
# My Setup
noshock123456
sleep123456 shock
nomove123456
nospeed123456
## Set upload rate to x seconds
upload123456 30