Version

Provides version access utilities.

brainstem.version.get_version_string(packed_version=None)[source]

Returns the library version as a string

Parameters:packed_version (int(Optional)) – If version is provided, it is unpacked and presented as the version string. Most useful for printing the firmware version currently installed on a module.
brainstem.version.unpack_version(packed_version)[source]

Returns the library version as a 3-tuple (major, minor, patch)

Parameters:packed_version (int(Optional)) – The packed version number.