Appearance
Home > resol-vbus-core > LiveTransceiver
LiveTransceiver class
A transceiver for live VBus data.
Signature:
typescript
export declare class LiveTransceiver
Constructors
Constructor | Modifiers | Description |
---|---|---|
Construct a live transceiver. |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
The live decoder used for reception. | |||
The live encoder used for transmission. | |||
(dgram: Datagram) => void | (Optional) Callback for received datagrams. | ||
() => void | (Optional) Callback when the encoder part is currently idle. | ||
(packet: Packet) => void | (Optional) Callback for received packets. | ||
(tgram: Telegram) => void | (Optional) Callback for received telegrams. | ||
number | The address used by the transceiver. |
Methods
Method | Modifiers | Description |
---|---|---|
Begin a bulk value transaction. | ||
Commit a bulk value transaction. | ||
Decode a chunk of VBus live data. | ||
Get the capabilities (part 1). | ||
Get the encoder. | ||
Get the storage activity state. | ||
Get a (menu) value. | ||
Get the ID hash of a (menu) value by its index. | ||
Get the index of a (menu) value by its ID hash. | ||
Perform an action. | ||
Ping another peer. | ||
Hand back bus control to the master. | ||
Rollback a bulk value transaction. | ||
setBulkValueByIndex(peerAddress, valueIndex, value, options) | Set a value during a bulk value transaction. | |
Set a (menu) value. | ||
Wait for any VBus header. | ||
Wait for the master's datagram to offer the bus control. |