BCP_Packet_ Struct Reference
[API for STK's]

BCP Packet Structure - Board controller communication protocol version 1. More...

#include <bsp_bcp.h>

Collaboration diagram for BCP_Packet_:
Collaboration graph
[legend]

Data Fields

uint8_t magic
 Magic - start of packet - must be BSP_BCP_MAGIC.
uint8_t type
 Type of packet.
uint8_t payloadLength
 Length of data segment >=0 and <=BSP_BCP_PACKET_SIZE.
uint8_t data [BSP_BCP_PACKET_SIZE]
 BCP Packet Data payload.

Detailed Description

BCP Packet Structure - Board controller communication protocol version 1.

Definition at line 83 of file bsp_bcp.h.


Field Documentation

uint8_t BCP_Packet_::data[BSP_BCP_PACKET_SIZE]

BCP Packet Data payload.

Definition at line 88 of file bsp_bcp.h.

Magic - start of packet - must be BSP_BCP_MAGIC.

Definition at line 85 of file bsp_bcp.h.

Length of data segment >=0 and <=BSP_BCP_PACKET_SIZE.

Definition at line 87 of file bsp_bcp.h.

Type of packet.

Definition at line 86 of file bsp_bcp.h.


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