EucFingerprintDatabase

EUC BLE protocol fingerprint database.

This object contains GATT service fingerprint data for each known EUC protocol, analogous to WheelLog's bluetooth_services.json.

A protocol fingerprint is a list of alternative GattSignature entries (OR semantics): the protocol matches if at least one signature matches. Each GattSignature is a list of GattServiceSpec entries that must ALL match (AND semantics).

Protocols without a fingerprint entry may be identified by device name or telemetry. Otherwise, the connector must provide manual selection.

Types

Link copied to clipboard
data class ProtocolFingerprint(val protocolId: String, val gattSignatures: List<GattSignature>)

Properties

Functions

Link copied to clipboard
fun getSignatures(protocolSimpleName: String): List<GattSignature>

Returns the registered GATT signatures for the given protocol class simple name, or an empty list if no fingerprint is registered for that protocol.