/sys/modbus/client/map/{name}/reg/{idx}/kind

The kind of the register. Possible values are:

  • analog: The value is continuous (the average of two values is meaningful).

  • enum: The value is discrete (the average of two values is not meaningful). An example for this would be a numeric error code.

  • bitset: Each bit in the value is a discrete on/off value. An example for this would be a set of error flags.

Get /sys/modbus/client/map/{name}/reg/{idx}/kind

SecurityApiKey
Request
path Parameters
name
required
string

The name of a system Modbus map (read-only).

Example: egauge_prm3
idx
required
string

The index of a Modbus map register.

Responses
200

Normal response.

401

Unauthorized response.

get/sys/modbus/client/map/{name}/reg/{idx}/kind
Request samples
Response samples
application/json
{
  • "result": "analog",
  • "error": "Error message (present if an error occurred)."
}