The consts module allows you to query some of the properties of the badge hardware and firmware. It exposes a few static variables that are compiled into the firmware.


Variable Name Description
consts.INFO_FIRMWARE_BUILD The full version number of the currently installed firmware.
consts.INFO_FIRMWARE_NAME The name of the current firmware version.
consts.INFO_HARDWARE_NAME The name of the hardware for which the firmware was built.
consts.WIFI_SSID The default WiFi SSID to connect to if none was set.
consts.WIFI_PASSWORD The default WiFi password if none was set.