5.3.1.23. cli.foxbms_version

Utilities for retrieving and formatting the foxBMS version string.

Functions

extract_version(txt, pattern)

Extract a version string from text using the supplied regex pattern.

get_numeric_version()

Convert the foxBMS version into a dot-separated numeric string.

get_version()

Read the foxBMS version from the build file.