BACTrackDeviceType is an enum which can be the following values:
BACTrackDeviceType_MOBILE // First edition BACtrack Mobile
BACTrackDeviceType_MOBILEV2 // Second edition BACtrack Mobile (Refresh)
BACTrackDeviceType_C6 // BACtrack C6
BACTrackDeviceType_C8 // BACtrack C8
BACTrackDeviceType_UNKNOWN // Unknown device
The following are the error codes reported by the BACTrackError() callback:
ERROR_TIME_OUT The BACtrack device timed out during a blow test
ERROR_BLOW_ERROR There was an error during a blow test
ERROR_OUT_OF_TEMPERATURE The breathalyzer is outside of a reliable operating temperature
ERROR_LOW_BATTERY The breathalyzer’s battery is critically low
ERROR_NOT_CALIBRATED The breathalyzer needs to be calibrated
ERROR_COM_ERROR Communications error
ERROR_INFLOW_ERROR There is a problem with the breath test’s intake
ERROR_SOLENOID_ERROR There is a problem with the breathalyzer’s solenoid hardware
ERROR_MAX_BAC_EXCEEDED_ERROR The BAC recorded has exceeded the maximum possible value
ERROR_UNKNOWN_ERROR Unknown error
A BACtrackDevice instance represents one of the BACtrack devices found during a scan (see “Initialization and Connection” for scan and connection details).
BACTrackDeviceType type The type of BACtrack device discovered in a scan. See BACTrackDeviceType above for details.
int rssi The RSSI of the detected device at scan time in dBm.
BluetoothDevice device The Bluetooth device handle of the discovered device. See android.bluetooth.BluetoothDevice documentation for details.