Template:SMSGPRScommandPage: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{#if:{{{description|}}}|{{{description}}}<br>}} | {{#if:{{{description|}}}|{{{description}}}<br>}} | ||
'''Syntax:''' | |||
<!--- | |||
THIS TEXT BELOW IS A TEMPLATE TO BE USED WHEN CREATING SMS/GPRS COMMAND PAGES SINCE JAN 2026 | |||
We use the "description" variable to start each page, together with the "Syntax:" heading. | |||
Further in the page, use the template below - just copy the code below to your command page, just below the "Syntax:" part. | |||
DO NOT MAKE AD-HOC CHANGES TO THE STRUCTURE IN YOUR COMMAND PAGE - IF DOING SO, UPDATE THIS TEMPLATE | |||
---> | |||
<!--- | |||
getparam <param_id1>;<param_id2>;... | |||
'''Arguments:''' | |||
{| class="wikitable" | |||
|- | |||
! Argument !! Argument description | |||
|- | |||
| <param_id> || Parameter ID | |||
|- | |||
| ''No arguments'' || ''No arguments'' | |||
|} | |||
'''Examples:''' | |||
{| class="wikitable" | |||
|- | |||
! Request !! Outcome !! Response | |||
|- | |||
| getparam 13000 || Success || Param ID:13000 Value:fm.teltonika.lt | |||
|- | |||
| getparam 13000;1000 || Success || Param ID:13000 Value:fm.teltonika.lt;1000:300 | |||
|- | |||
| getparam 99999999 || Fail || Invalid parameter id provided | |||
|- | |||
| getparam 99999 || Fail || Param ID:99999 doesn’t exist | |||
|} | |||
'''Response explanation:''' | |||
{| class="wikitable" | |||
|- | |||
! Response element !! Description !! Example | |||
|- | |||
| Device name || - || Example | |||
|- | |||
| Hardware version modification || - || Example | |||
|- | |||
| Hardware position || - || Example | |||
|- | |||
| Firmware version || Example || Example | |||
|- | |||
| Device IMEI || Example || Example | |||
|- | |||
| Example || Example || Example | |||
|- | |||
| Example || Example || Example | |||
|- | |||
| Example || Example || Example | |||
|- | |||
| Example || Example || Example | |||
|- | |||
| Example || Example || Example | |||
|- | |||
| Example || Example || Example | |||
|- | |||
| Example || Example || Example | |||
|- | |||
| Example || Example || Example | |||
|- | |||
| Example || Example || Example | |||
|- | |||
| Example || Example || Example | |||
|- | |||
| Example || Example || Example | |||
|- | |||
| Example || Example || Example | |||
|- | |||
| Example || Example || Example | |||
|- | |||
| Example || Example || Example | |||
|} | |||
---> | |||
Revision as of 14:49, 14 January 2026
Syntax: