Skip to navigation

Get all Multipurpose IO (MIO) channel states

Get the current state of all Multipurpose IO (MIO) hardware channels including aliases, configuration, and pin values. MIO channels provide configurable input/output functionality for external hardware integration.

MIO Channel Availability

The availability of MIO channels is determined by the sensor’s mio_applications configuration. Each entry selects an application (intent), protocol, pin(s), and optional drive mode. Legacy mio_functions and multipurpose_io_mode fields are migrated automatically on load.

  • Channel 0 (SYNC_PULSE_IN): Available when not assigned by a TIME_SYNC_INPUT / PPS application.

  • Channel 1 (MULTIPURPOSE_IO): Available when not assigned by another mio_applications entry. General-purpose runtime control requires a GENERAL_PURPOSE_IO / GPIO application on that pin.

Response

Multipurpose IO hardware states for all channels
input_bitmaskuintRead-only

Input pin states as a binary bitmask (read-only). The least significant bit (LSB) maps to MIO0, with each subsequent bit mapping to higher channel indices.

enable_bitmaskuint

MIO enable states as a binary bitmask. Indicates which channels are enabled for MIO operation. The least significant bit (LSB) maps to MIO0, with each subsequent bit mapping to higher channel indices.

channelslist of objects

Per-channel detailed information

Errors

500
Internal Server Error