Package-level declarations

Scanning and connections, plus the commands and notifications each kind of device supports.

A connection is created from EfentoBluetooth, then opened with connect(). Commands are reached through its commands property and arrive in reply to your request; notifications come through notifications when the device decides to send them. One connection handles one command at a time.

Types

Link copied to clipboard

Commands that can be run against a device while it is running its bootloader rather than its application.

Link copied to clipboard

Represents a connection to an Efento device in bootloader mode.

Link copied to clipboard
sealed interface Connection

Manages connections with Efento devices. The Connection interface allows you to establish and handle connections to Efento devices. Multiple instances of Connection can be used to connect to several devices simultaneously. However, it's important to note that only one Connection can be active per device at any given time.

Link copied to clipboard
interface GatewayCommands

Commands that can be run against an Efento gateway.

Link copied to clipboard

Represents a connection to an Efento gateway.

Link copied to clipboard

Commands that can be run against an older Efento gateway.

Link copied to clipboard

Represents a connection to a legacy Efento gateway.

Link copied to clipboard

Notifications an Efento gateway sends while connected.

Link copied to clipboard

Commands that can be run against a sensor in forced hibernation mode.

Link copied to clipboard

Represents a connection to an Efento sensor in forced hibernation mode (SensorInHibernation.HibernationMode.FORCED).

Link copied to clipboard
interface Scanner

Allows to scan for Efento devices.

Link copied to clipboard
interface SensorCommands

Commands that can be run against an Efento sensor of software version 7 or later.

Link copied to clipboard

Represents a connection to an Efento sensor (software version 7 and later).

Link copied to clipboard

Cellular commands for an Efento sensor older than software version 7.

Link copied to clipboard

Commands that can be run against an Efento sensor older than software version 7.

Link copied to clipboard

Represents a connection to a legacy Efento sensor (software version 6 and earlier).

Link copied to clipboard

Notifications an Efento sensor older than software version 7 sends while connected.

Link copied to clipboard

Notifications an Efento sensor of software version 7 or later sends while connected.