System Entity

API Documentation: [cpp] [python] [.NET] [CCA] [REST]

Every BrainStem module includes a single system entity. The system entity allows the retrieval and manipulation of configuration settings like the module address and input voltage, control over the user LED, as well as other functionality.


Serial Number

Every USB-C-Switch Pro is assigned a unique serial number at the factory. This facilitates an arbitrary number of USB-C-Switch Pro devices attached to a host computer. The following method call can retrieve the unique serial number for each device.

stem.system.getSerialNumber(serialNumber) [cpp] [python] [NET] [LabVIEW]

Saved Settings

Some entities can be configured and saved to non-volatile memory. This allows a user to modify the startup and operational behavior for the USB-C-Switch Pro away from the factory default settings. Saving system settings preserves the settings as the new default. Most changes to system settings require a save and reboot before taking effect. Use the following command to save changes to system settings before reboot:

stem.system.save() [cpp] [python] [NET] [LabVIEW]
Saved Parameters

Entity

Parameters

Ethernet Entity

Network Configuration (DHCP/Static) Static IP Address Static IP Netmask Static IP Gateway Static IP DNS BrainD Port

Mux Entity

Enable Channel Configuration (Normal/Split Mode) Split Mode Settings

Port Entity

Name

Rail Entity

Enable

System Entity

Module Software Offset Address Router Address Name LED Brightness

UART Entity

Enable Baud Rate Protocol

USB System Entity

Selector Mode