EFR32 Blue Gecko 1 Software Documentation  efr32bg1-doc-5.1.2
bsp_bcp.h File Reference

Detailed Description

Board Controller Communications Protocol (BCP) definitions.

Version
5.1.1

License

Copyright 2015 Silicon Labs, Inc. http://www.silabs.com

This file is licensed 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.

#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 2. More...
 
struct  BCP_Packet_
 BCP Packet Structure - Board controller communication protocol version 1. More...
 
struct  BCP_PacketHeader
 BCP Packet Header definition. More...
 

Macros

#define BSP_BCP_ACK   5
 
#define BSP_BCP_CURRENT_REPLY   16
 
#define BSP_BCP_CURRENT_REQ   14
 
#define BSP_BCP_ECHO_REPLY   11
 
#define BSP_BCP_ECHO_REQ   10
 
#define BSP_BCP_ENERGYMODE   22
 
#define BSP_BCP_FIRST   1
 
#define BSP_BCP_INVALID   0
 
#define BSP_BCP_LAST   100
 
#define BSP_BCP_MAGIC   0xF1
 
#define BSP_BCP_NET_REPLY   65
 
#define BSP_BCP_NET_REQUEST   64
 
#define BSP_BCP_PACKET_SIZe   30
 
#define BSP_BCP_PACKET_SIZE   132
 
#define BSP_BCP_STDERR   26
 
#define BSP_BCP_STDOUT   24
 
#define BSP_BCP_TEST   32
 
#define BSP_BCP_TEST_REPLY   33
 
#define BSP_BCP_VOLTAGE_REPLY   20
 
#define BSP_BCP_VOLTAGE_REQ   18