module.hwtest

The module.hwtest command is used to execute and return the results of a hardware test. The module is identified by one of the following identifying fields: thingKey, ESN, ICCID, IMEI, IMSI, MEID, or MSISDN. 

TR50 Request

{
  "cmd": {
    "command": "module.hwtest",
    "params": {
      "thingKey": "mything",
      "mode": "sms"
    }
  }
}

Request Parameters

Name Type Required Description
thingKey String Yes* 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
*One of the above parameters is required to identify the thing.

mode

String

The mode to send the command ('tr50' or 'sms').

TR50 Response

If the command is sent successfully a success message is returned with other variable information. Otherwise, an error and error message will be returned.

{
  "cmd": {
    "success": true,
    "params": {
      "cpuTemp": 75,
      "voltage": 1.1,
      "cpuMode": "mode",
    }
  }
}

Response Parameters

Name Type Description
charger String The battery charge status.
cpuMode String The CPU mode.
cpuTemp Integer The temperature of the module's CPU.
voltage Float The voltage.