![]() |
HAN-FUN API
1.5.3
This project provides the common implementation of ULE Alliance's HAN-FUN application protocol.
|
This interface represents a link on the transport layer, used to send data to the remote end-point. More...
#include <transport.h>
Public Member Functions | |
virtual uint16_t | address () const =0 |
Get the address of the device this link corresponds to. More... | |
virtual void | address (uint16_t addr)=0 |
Set the address of this link corresponds to. More... | |
virtual void | send (Common::ByteArray &array)=0 |
Send the data in the given ByteArray using the link to the remote end-point. More... | |
virtual const HF::UID::UID | uid () const =0 |
Return the end-point UID associated with this link. More... | |
This interface represents a link on the transport layer, used to send data to the remote end-point.
Definition at line 49 of file inc/hanfun/transport.h.
|
pure virtual |
Get the address of the device this link corresponds to.
Implemented in HF::Transport::AbstractLink.
|
pure virtual |
Set the address of this link corresponds to.
[in] | addr | the address value to set. |
Implemented in HF::Transport::AbstractLink.
|
pure virtual |
Send the data in the given ByteArray
using the link to the remote end-point.
[in] | array | reference to the ByteArray containing the data to send. |
Implemented in HF::Application::Link.
|
pure virtual |
Return the end-point UID associated with this link.
For example, for a ULE transport layer this would return the RFPI/IPUI of the remote device.
Implemented in HF::Transport::AbstractLink.