Skip to content

MiP_Version

github-actions[bot] edited this page Aug 10, 2026 · 9 revisions

Class MiP_Version

Manages reading the MiP robot's hardware and software versions.

Table of Contents


Constructors & Destructors

MiP_Version

Signature: MiP_Version(MiP &mip)

Summary: Constructs the Version manager.

Parameters:

Parameter Description
mip A reference to the main MiP object for core services.

Public Functions

readSoftware

Signature: void readSoftware(MiPSoftwareVersion &software)

Summary: Reads the MiP's software version information.

Parameters:

Parameter Description
software Reference to a struct to be filled with version data.

readHardware

Signature: void readHardware(MiPHardwareInfo &hardware)

Summary: Reads the MiP's hardware information.

Parameters:

Parameter Description
hardware Reference to a struct to be filled with hardware data.

readMPUString

Signature: const char * readMPUString() const

Summary: Returns the semver string of this Arduino library (e.g. "2.0.1").


readMPUNumber

Signature: uint32_t readMPUNumber() const

Summary: Returns the encoded integer version number (e.g. 20001 for 2.0.1).


Public Variables

MIP_CMD_GET_SOFTWARE_VERSION

Signature: constexpr uint8_t MIP_CMD_GET_SOFTWARE_VERSION

Summary: MiP protocol command bytes used by the version tracking subsystem.

Details:

These values are placed in the first byte of requests sent to the MiP (and appear in the corresponding responses). See the official MiP BLE Protocol for the complete list.


MIP_CMD_GET_HARDWARE_INFO

Signature: constexpr uint8_t MIP_CMD_GET_HARDWARE_INFO


Clone this wiki locally