COSA
An Object-Oriented Platform for Arduino Programming
RS485::header_t Struct Reference

#include <RS485.hh>

Collaboration diagram for RS485::header_t:
Collaboration graph

Public Attributes

uint8_t length
 Number of bytes in payload. More...
 
uint8_t dest
 Destination node address. More...
 
uint8_t src
 Source node address. More...
 
uint8_t crc
 Header check-sum. More...
 

Detailed Description

Frame header with check-sum; crc7(1 byte).

Definition at line 50 of file RS485.hh.

Member Data Documentation

uint8_t RS485::header_t::crc

Header check-sum.

Definition at line 54 of file RS485.hh.

uint8_t RS485::header_t::dest

Destination node address.

Definition at line 52 of file RS485.hh.

uint8_t RS485::header_t::length

Number of bytes in payload.

Definition at line 51 of file RS485.hh.

uint8_t RS485::header_t::src

Source node address.

Definition at line 53 of file RS485.hh.


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