Skip to content

MTLinux

Commands for the MTLinux platform

Install

Starts MTLinux system installation

Parameters

file : Filename of the raucb file

Example

meshtech/diagnostics/cc3fc0fa8d21/command/mtlinux/install
{
  "id":"55",
  "params":{
    "file":"update-bundle-genericx86-64.raucb"
  }
}
meshtech/diagnostics/cc3fc0fa8d21/response/mtlinux/install
{
  "id":"55",
  "success":true,
  "result":"Install command was successful"
}

Version

Returns the MTLinux version number

Parameters

None

Example

Sending : meshtech/diagnostics/cc3fc0fa8d21/command/mtlinux/version
{
  "id":"56"
}
Response: meshtech/diagnostics/cc3fc0fa8d21/response/mtlinux/version
{
  "id":"56",
  "success":true,
  "result":"2.0.0-rc.7"
}

Reboot

Reboots MtLinux device after 60 seconds delay

Paramters

None

Example

Sending : meshtech/diagnostics/cc3fc0fa8d21/command/mtlinux/reboot
{
  "id":"13"
}
Response: meshtech/diagnostics/cc3fc0fa8d21/response/mtlinux/reboot
{
   "id":"13",
   "success":true,
   "result":"Restarting device in 60 seconds"
}