Readonly
batteryReadonly
buttonEmits the button state of the hub on subscription and whenever it changes. Stream completes when the hub is disconnected.
Readonly
rssiEmits the RSSI level of the hub on subscription and whenever it changes. Stream completes when the hub is disconnected.
Reads the advertising name of the hub. The advertising name is a user-friendly name that is used to identify the hub.
Stream completes when the response is received from the hub.
Reads the battery level of the hub. Stream completes when the response is received from the hub.
Reads the button state of the hub (true - pressed, false - released). Stream completes when the response is received from the hub.
Reads the firmware version of the hub. Stream completes when the response is received from the hub.
Reads the hardware version of the hub. Stream completes when the response is received from the hub.
Reads the manufacturer name of the hub.
Reads the primary MAC address of the hub (can be used as a unique identifier for the hub) Stream completes when the response is received from the hub.
Reads the RSSI (Received Signal Strength Indicator) level of the hub. It's not a dBm value, but still useful for comparing signal strength between hubs. The more negative the value, the stronger the signal. Stream completes when the response is received from the hub.
Reads the system type ID of the hub, which maps to a specific hub type. Stream completes when the response is received from the hub.
Sets the advertising name of the hub. The advertising name is a user-friendly name that is used to identify the hub. Stream completes when the command is executed by the hub.
alphanumeric name (1-14 characters long) with spaces.
Emits the battery level of the hub on subscription and whenever it changes. Stream completes when the hub is disconnected.