BCP_Packet Struct Reference
[API for STK's]

BCP Packet Structure - Board controller communication protocol version 2. 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 - packet type.
uint8_t payloadLength
 Length of data segment >=0 and <=BSP_BCP_PACKET_SIZE.
uint8_t reserved
 Reserved for future expansion.
uint8_t data [BSP_BCP_PACKET_SIZE]
 BCP Packet Data payload.

Detailed Description

BCP Packet Structure - Board controller communication protocol version 2.

Definition at line 91 of file bsp_bcp.h.


Field Documentation

uint8_t BCP_Packet::data[BSP_BCP_PACKET_SIZE]

BCP Packet Data payload.

Definition at line 97 of file bsp_bcp.h.

Referenced by BSP_BccPacketSend(), BSP_CurrentGet(), and BSP_VoltageGet().

Magic - start of packet - must be BSP_BCP_MAGIC.

Definition at line 93 of file bsp_bcp.h.

Referenced by BSP_BccPacketReceive(), and BSP_BccPacketSend().

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

Definition at line 95 of file bsp_bcp.h.

Referenced by BSP_BccPacketReceive(), BSP_BccPacketSend(), BSP_CurrentGet(), and BSP_VoltageGet().

Reserved for future expansion.

Definition at line 96 of file bsp_bcp.h.

Referenced by BSP_BccPacketSend().

Type - packet type.

Definition at line 94 of file bsp_bcp.h.

Referenced by BSP_BccPacketReceive(), BSP_BccPacketSend(), BSP_CurrentGet(), and BSP_VoltageGet().


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