MIP SDK  0.0.1
MicroStrain Communications Library for embedded systems
Public Member Functions | List of all members
mip::Connection Class Referenceabstract

Represents a type of connection to a MIP device. More...

#include <mip_device.hpp>

Inheritance diagram for mip::Connection:
Inheritance graph
[legend]

Public Member Functions

virtual bool sendToDevice (const uint8_t *data, size_t length)=0
 
virtual bool recvFromDevice (uint8_t *buffer, size_t max_length, size_t *length_out, Timestamp *timestamp)=0
 

Detailed Description

Represents a type of connection to a MIP device.

The following methods are pure virtual and must be implemented by a derived class. These functions map to the corresponding C functions.

Member Function Documentation

◆ recvFromDevice()

virtual bool mip::Connection::recvFromDevice ( uint8_t *  buffer,
size_t  max_length,
size_t *  length_out,
Timestamp timestamp 
)
pure virtual

◆ sendToDevice()

virtual bool mip::Connection::sendToDevice ( const uint8_t *  data,
size_t  length 
)
pure virtual

The documentation for this class was generated from the following file: