VitroIO SDK
Software development kit for Vitro Shard.
|
Virtual class providing interface for communication interfaces. More...
#include <transport_layer.h>
Public Member Functions | |
virtual int | send (uint32_t parameterId, const IoVec *iov, int iovcnt) |
Function sends given data. More... | |
virtual uint32_t | getTimestamp () |
Function sends timestamp request and returns timestamp value. More... | |
void | updateNodeId (uint32_t nodeId) |
Update node ID. More... | |
uint32_t | nodeId () |
Returns node ID. More... | |
Protected Member Functions | |
Transport_layer (uint32_t nodeId) | |
Protected Attributes | |
uint32_t | nodeId_ |
Virtual class providing interface for communication interfaces.
the aim of this class is to provide interfaces for basic communication with other devices, for sending IoT Blocks.
|
inlineprotected |
|
virtual |
Function sends timestamp request and returns timestamp value.
Reimplemented in vitroio::sdk::Can_layer.
|
inline |
Returns node ID.
|
virtual |
Function sends given data.
parameterId | Id of parameter sent |
iov | Pointer to first IoVec with data to be sent IoVec |
iovcnt | Count of IoVects to read |
Reimplemented in vitroio::sdk::Can_layer.
|
inline |
Update node ID.
nodeId | New ID value |
|
protected |