Board Controller Communications Protocol (BCP) definitions. More...
#include <stdint.h>
#include "bspconfig.h"
Go to the source code of this file.
Data Structures | |
struct | BCP_Packet_ |
BCP Packet Structure - Board controller communication protocol version 1. More... | |
struct | BCP_Packet |
BCP Packet Structure - Board controller communication protocol version 2. More... | |
struct | BCP_PacketHeader |
BCP Packet Header definition. More... | |
Defines | |
#define | BSP_BCP_INVALID 0 |
Invalid packet received. | |
#define | BSP_BCP_FIRST 1 |
Smallest numerical value of message type. | |
#define | BSP_BCP_ACK 5 |
Generic ACK for one way packages. | |
#define | BSP_BCP_ECHO_REQ 10 |
EFM32 BC alive request. | |
#define | BSP_BCP_ECHO_REPLY 11 |
BC alive response. | |
#define | BSP_BCP_CURRENT_REQ 14 |
EFM32 Request AEM current. | |
#define | BSP_BCP_CURRENT_REPLY 16 |
BC Response AEM current. | |
#define | BSP_BCP_VOLTAGE_REQ 18 |
EFM32 Request AEM voltage. | |
#define | BSP_BCP_VOLTAGE_REPLY 20 |
BC Response AEM voltage. | |
#define | BSP_BCP_ENERGYMODE 22 |
EFM32 Report Energy Mode (for AEM). | |
#define | BSP_BCP_STDOUT 24 |
Debug packet (not used). | |
#define | BSP_BCP_STDERR 26 |
Debug packet (not used). | |
#define | BSP_BCP_TEST 32 |
Reserved type for test. | |
#define | BSP_BCP_TEST_REPLY 33 |
Reserved type for test (reply). | |
#define | BSP_BCP_NET_REQUEST 64 |
Net gateway request packet. | |
#define | BSP_BCP_NET_REPLY 65 |
Net gateway reply packet. | |
#define | BSP_BCP_LAST 100 |
Last defined message type. | |
#define | BSP_BCP_MAGIC 0xF1 |
Magic byte to indicate start of packet. | |
#define | BSP_BCP_PACKET_SIZe 30 |
Max packet size for version 1 of the protocol. | |
#define | BSP_BCP_PACKET_SIZE 132 |
Max packet size for version 2 of the protocol. |
Board Controller Communications Protocol (BCP) definitions.
(C) Copyright 2014 Silicon Labs, http://www.silabs.com
This file is licensensed under the Silabs License Agreement. See the file "Silabs_License_Agreement.txt" for details. Before using this software for any purpose, you must agree to the terms of that agreement.
Definition in file bsp_bcp.h.