module.tr50.control
The module.tr50.control command is used to control the TR50 settings. The module can be identified by thingKey, ESN, ICCID, IMEI, IMSI, MEID, or MSISDN. Only one of these identifying fields is required.
TR50 Request
{
"cmd": {
"command": "module.tr50.control",
"params": {
"thingKey": "mything",
"mode": "tr50",
"server": "servername",
"hwid": 123456789,
"appToken": "apptokenvalue",
"start": true
}
}
}
Request Parameters
Name | Type | Required | Description |
---|---|---|---|
Thing Identifier Parameters | Yes | Identifies the thing to which the module call is to be directed. See Thing Identifier Parameters table below for supported parameters. | |
mode | String | The mode to send the command ('tr50' or 'sms'). | |
server | String | The server name. | |
hwid | Integer | The hardware ID. | |
appToken | String | The application token. | |
start | Boolean | Yes | If the module should be started. |
Thing Identifier Parameters
Name | Type | Description |
---|---|---|
thingKey | String | Key of the thing |
thingId | String | Id of the thing |
esn | String | Esn of the thing |
iccid | String | Iccid of the thing |
imei | String | Imei of the thing |
imsi | String | Imsi of the thing |
meid | String | Meid of the thing |
msisdn | String | Msisdn of the thing |
TR50 Response
If the command is sent successfully a success message is returned. Otherwise, an error and error message will be returned.