ble_link_kit_platform_interface library
Classes
- AdvertisementKeyProvider
- Supplies a per-device symmetric advertisement key.
- AdvertisementSignatureVerification
- Layout and key source for an HMAC-SHA256 signed advertisement.
- BleCapabilities
- Feature flags reported by the native implementation.
- BleDevice
- A discovered device identified by an opaque platform token.
- BleProvisionPlatform
- Native routes accepting an opaque, facade-encoded legacy payload.
- CharacteristicValue
- A notification or indication received from a GATT characteristic.
- ConnectionEvent
- A connection state transition.
- FramedMessage
- A complete payload reassembled by a framed channel.
- GattCharacteristic
- A discovered GATT characteristic.
- GattProperties
- Read, write and update capabilities of a GATT characteristic.
- GattService
- A discovered GATT service and its characteristics.
- InMemoryAdvertisementKeyProvider
- In-memory key provider intended for tests and short-lived application data.
- OtaProgress
- An OTA state transition with normalized progress from 0 to 1.
- PowerProfile
- Cross-platform policy for scan, connection, and PHY power behavior.
- ProtocolOperations
- Maps generic protocol roles to device-specific wire values.
- ProtocolVersionRange
- An inclusive range of session protocol versions.
- ProvisionEvent
- A provisioning state transition.
- ProvisionProtocolProfile
- Complete runtime configuration for a device protocol.
- ScanDutyCycle
- Software scan duty cycle used by iOS.
- ScanEvent
- A scan state transition, optionally carrying a discovered device.
- ScanOptions
- Controls one discovery session.
- ScanProfile
- A protocol signature used to identify scan results.
- SecureClientFinish
- Client's final proof of PSK possession.
- SecureClientHello
- Client's first mutual-authentication message.
- SecureDeviceFinish
- Device key-confirmation returned only after verifying the client Finished.
- SecureDeviceHello
- Device's authenticated response and reciprocal challenge.
- SecureFrame
- Encrypted payload plus authenticated monotonic sequence number.
- SecureHandshakeTransport
- Transport implemented by native P2-R2/R3 handshake integrations.
- SecureWireEvent
- Raw native event decoded before Dart AEAD processing.
- SessionContext
- Immutable result of opening and negotiating a device session.
- SessionDescriptor
- A structured descriptor exchanged with a connected device.
- SessionEvent
- A session-open state transition from the shared event channel.
- WifiCredentials
- Wi-Fi credentials supplied to a provisioning operation.
Enums
- AdvertisementSignatureSource
- Source field containing a signed-advertisement payload.
- BleConnectionPriority
- Preferred BLE connection priority.
- BleErrorCode
- Stable platform-independent error codes.
- BlePhyPreference
- Preferred BLE radio PHY.
- BleScanPowerMode
- Android scan policy. iOS approximates these modes with ScanDutyCycle.
- ConnectionState
- Connection lifecycle states.
- DeviceSecurityRequirement
- Locally trusted minimum security policy for a device.
- OpaqueTransportRoute
- Native legacy transport selected for a facade-encoded opaque payload.
- OtaState
- Firmware-update lifecycle states.
- ProvisionState
- Wi-Fi provisioning lifecycle states.
- ScanState
- Scan lifecycle states.
- SecureChannelErrorCode
- Stable secure-channel failure categories.
- SecureChannelState
- SecureCipherSuite
- AEAD algorithms supported by the symmetric secure channel.
- SecurityTier
- Device security capability advertised during session-open.
- SessionCapability
- Capabilities advertised during session-open.
- SessionState
- Session lifecycle states emitted by the shared event channel.
Properties
- supportedProtocolRange → ProtocolVersionRange
-
Protocol versions implemented by this Dart package.
final
Functions
-
negotiateProtocolVersion(
ProtocolVersionRange local, ProtocolVersionRange remote) → int - Returns the highest common version or throws SessionError.
Exceptions / Errors
- BleLinkKitException
- Exception returned by a native Bluetooth operation.
- SecureChannelError
- Failure raised by authentication or secure-frame processing.
- SessionError
- Error raised when session negotiation cannot produce a usable context.