getAvailableOta

abstract fun getAvailableOta(): Int?

If the glasses are connected and a glasses firmware update is available, the function returns the new firmware version number

Otherwise, the function returns null (i.e. when the glasses are disconnected or when no firmware update is required)

Note: during active OTA process the function will return null as well

Return

the available firmware to be updated or null when the glasses are disconnected, during OTA process or when no firmware update is required

See also