Setparam; Flush; Countrecs; Deleterecords - Teltonika TMT250 User Manual

Hide thumbs Also See for TMT250:
Table of Contents

Advertisement

For example: getparam 2001 command will request APN name.
Example answer: Param ID:2001 Value:wap

6.1.7 setparam

Reads parameter value for a given ID that consists of 3 or 5 digits. A detailed list of
parameters and identifiers can be found in the following chapter.
For example: setparam 2001:wap will change configured APN name.
Answer: Param ID:2001 Value:wap2
Another example: setparam 2001:wap;2002:user;2003:pass will change configured APN
name, APN username and APN password. SMS command of limited to 160 characters.

6.1.8 flush #,#,#,#,#,#,#

Initiates all data transfer by GPRS to a specified target server. Comma separated
parameters go in following order:
1.# - IMEI
2.# - APN
3.# - GPRS LOGIN
4.# - GPRS PASSWORD
5.# - IP
6.# - PORT
7.# - MODE (0 – TCP/1 – UDP)
Parameters are separated by comma (no spaces needed). In case you do not need to enter
parameter (APN Login/ APN Pass) – do not use space, simply enter comma and write next
parameter.
Example: opa opa flush 353976012555151,banga,,,212.47.99.62,12050,0
Response details
FLUSH SMS Accepted
# records found on FLASH
Minimum Records to Send: #
GPRS Enabled: #
Time Sync: #
Example: "FLUSH SMS Accepted. 11 records found on FLASH. Minimum Records to Send: 1.
GPRS Enabled: 1. Time Sync: 1."

6.1.9 countrecs

Returns current number of records stored in the device memory.
Example (if more than 100): "more than 100 records found"
Example: "25 records found"

6.1.10 deleterecords

Deletes all records from the device memory.
Description
FLUSH SMS Accepted
Number of records found on FLASH
Number of minimum saved records to send
State of the GPRS connection: 0 – Disabled; 1 –
Enabled
Indicates time synchronization on the device:
0 – Not synchronized; 1 – Synchronized
58

Advertisement

Table of Contents
loading

Table of Contents