Appearance
Home > resol-vbus-core > LiveTransceiver > ping
LiveTransceiver.ping() method
Ping another peer.
Signature:
typescript
ping(peerAddress: number, param16: number, param32: number, options?: LiveTransceiverActionTriesAndTimeouts): Promise<Datagram | null>;
Parameters
Parameter | Type | Description |
---|---|---|
peerAddress | number | The address of the peer. |
param16 | number | The 16-bit param to send and expect in reply. |
param32 | number | The 32-bit param to send and expect in reply. |
options | (Optional) Options. |
Promise<Datagram | null>
A promise that resolves when the datagram was received or the action timed out.