Firmware (LuxOS)
API Docs
CGminer commands
check

check

Description

Checks if a command exists and if it is available. On luxminer there is no way to block or blacklist specific commands; if it exists, it will be considered available.

Note that you might not be able to execute the command, due to session restrictions.

Command

$ echo '{"command": "check", "parameter": "some_command_name"}' | nc $MINER_IP 4028 | jq

Examples

$ echo '{"command": "check", "parameter": "some_command_name"}' | nc $MINER_IP 4028 | jq
{
  "CHECK": [
    {
      "Access": "N",
      "Exists": "N"
    }
  ],
  "STATUS": [
    {
      "Code": 72,
      "Description": "LUXminer 2024.2.19.131822-ef17c0c4",
      "Msg": "Check command",
      "STATUS": "S",
      "When": 1672770090
    }
  ],
  "id": 1
}

Field details

FieldNotes
AccessSame as Exists.
Exists"Y" if a command exists; "N" otherwise.