Info

Info

Device Compatibility

Overview

The following sections below will go over how to obtain information on your MATRIX device.

Import Statement

const matrix = require("@matrix-io/matrix-lite");

Info

.deviceType

A string of the MATRIX device currently attached.

console.log("The " + matrix.info.deviceType + " is attached to the pi");

.isDirectBus

A boolean that's true, if the kernel modules are not installed.

console.log("Are the Kernel Modules installed? " + matrix.info.isDirectBus);