David Rimer / RadioHead-148
Embed: (wiki syntax)

« Back to documentation index

RHTcpPacket Struct Reference

RHTcpPacket Struct Reference

RH_TCP radio message passed to or from the simulator. More...

#include <RHTcpProtocol.h>

Data Fields

uint32_t length
 Number of octets following, in network byte order.
uint8_t type
 == RH_TCP_MESSAGE_TYPE_PACKET
uint8_t to
 Node address of the recipient.
uint8_t from
 Node address of the sender.
uint8_t id
 Message sequence number.
uint8_t flags
 Message flags.
uint8_t payload [RH_TCP_MAX_MESSAGE_LEN]
 0 or more, length deduced from length above

Detailed Description

RH_TCP radio message passed to or from the simulator.

Definition at line 53 of file RHTcpProtocol.h.


Field Documentation

uint8_t flags

Message flags.

Definition at line 60 of file RHTcpProtocol.h.

uint8_t from

Node address of the sender.

Definition at line 58 of file RHTcpProtocol.h.

uint8_t id

Message sequence number.

Definition at line 59 of file RHTcpProtocol.h.

uint32_t length

Number of octets following, in network byte order.

Definition at line 55 of file RHTcpProtocol.h.

uint8_t payload[RH_TCP_MAX_MESSAGE_LEN]

0 or more, length deduced from length above

Definition at line 61 of file RHTcpProtocol.h.

uint8_t to

Node address of the recipient.

Definition at line 57 of file RHTcpProtocol.h.

uint8_t type

== RH_TCP_MESSAGE_TYPE_PACKET

Definition at line 56 of file RHTcpProtocol.h.