SMS/GPRS command - setkey: Difference between revisions
Appearance
mNo edit summary |
mNo edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
[[File:smsgprscommand_setkey.png|300px|right|alt=setkey]] | [[File:smsgprscommand_setkey.png|300px|right|alt=setkey]] | ||
{{Template:SMSGPRScommandPage | {{Template:SMSGPRScommandPage | ||
|description=Set new or change current primary key.}} | |description=Set new or change current primary key.<br>Related commands:<br> | ||
* [[SMS/GPRS command - delkey]]. | |||
* [[SMS/GPRS command - delsecondkey]]. | |||
* [[SMS/GPRS command - setsecondkey]].}} | |||
===Syntax=== | ===Syntax=== | ||
setkey <old_keyword> <new_keyword> | setkey <old_keyword> <new_keyword> | ||
Latest revision as of 11:50, 19 January 2026
SMS/GPRS commands > SMS/GPRS command - setkey
Description
Set new or change current primary key.
Related commands:
Syntax
setkey <old_keyword> <new_keyword> setkey <new_keyword>
Arguments
| ARGUMENT | ARGUMENT DESCRIPTION |
|---|---|
| <old_keyword> | Current keyword to be changed. If no old_keyword specified - use two spaces after command. |
| <new_keyword> | New keyword Min length: 4 Max length: 10 Letters and numbers only |
Examples
| REQUEST | OUTCOME | RESPONSE |
|---|---|---|
| setkey 1234 5678 | Success | Keyword saved: 5678 |
| setkey 5678 | Success | Keyword saved: 5678 |
| Fail | Error:Locked | |
| Fail | Error:Bad Syntax | |
| Fail | Error:Wrong old keyword | |
| Fail | Error:Wrong keyword format | |
| Fail | Error:Cannot save keyword (errno) |