Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
evbme_messages.h File Reference

Definitions relating to EVBME API messages. More...

#include <stdint.h>
#include "ca821x_config.h"
#include "ca821x_error.h"
Include dependency graph for evbme_messages.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  evbme_dfu_reboot_cmd
 Reboot command to boot into DFU or APROM. More...
 
struct  evbme_dfu_erase_cmd
 Erase command to erase whole pages. More...
 
struct  evbme_dfu_write_cmd
 Write command to write words of data. More...
 
struct  evbme_dfu_check_cmd
 Check command to validate flash against a checksum. More...
 
struct  evbme_dfu_status_cmd
 Status command used as a reply from the Chili2 to host. More...
 
struct  evbme_dfu_bootmode_cmd
 Boot mode command to set default boot into DFU or APROM. More...
 
union  evbme_dfu_sub_cmd
 Union of all DFU sub-commands. More...
 
struct  EVBME_GET_confirm
 EVBME Get data confirm structure. More...
 
struct  EVBME_GET_request
 EVBME Get data request structure. More...
 
struct  EVBME_SET_confirm
 EVBME Set data confirm structure. More...
 
struct  EVBME_SET_request
 EVBME Set data request structure. More...
 
struct  EVBME_MESSAGE_indication
 EVBME Message indication structure. More...
 
struct  EVBME_COMM_CHECK_request
 Structure of the EVBME_COMM_CHECK message that can be used to test comms by host. More...
 
struct  EVBME_COMM_indication
 Structure of the EVBME_COMM_INDICATION message that is used in response to EVBME_COMM_CHECK_request. More...
 
struct  EVBME_DFU_cmd
 EVBME DFU command holder, contains various sub-dfu commands from evbme_dfu_sub_cmd. More...
 
struct  EVBME_Message
 EVBME Message command in Cascoda TLV format. More...
 

Enumerations

enum  evbme_command_ids {
  EVBME_GET_CONFIRM = 0x5C , EVBME_GET_REQUEST = 0x5D , EVBME_SET_CONFIRM = 0x5E , EVBME_SET_REQUEST = 0x5F ,
  EVBME_HOST_CONNECTED = 0x81 , EVBME_HOST_DISCONNECTED = 0x82 , EVBME_MESSAGE_INDICATION = 0xA0 , EVBME_COMM_CHECK = 0xA1 ,
  EVBME_COMM_INDICATION = 0xA2 , EVBME_DFU_CMD = 0xA3 , EVBME_RXRDY = 0xAA , EVBME_RXFAIL = 0xAB
}
 EVBME Command IDs. More...
 
enum  evbme_attribute {
  EVBME_RESETRF = 0x00 , EVBME_CFGPINS = 0x01 , EVBME_WAKEUPRF = 0x02 , EVBME_VERSTRING = 0x80 ,
  EVBME_PLATSTRING = 0x81 , EVBME_APPSTRING = 0x82 , EVBME_SERIALNO = 0x83 , EVBME_OT_EUI64 = 0x84 ,
  EVBME_OT_JOINCRED = 0x85 , EVBME_EXTERNAL_FLASH_AVAILABLE = 0x86 , EVBME_ONBOARD_FLASH_INFO = 0x87
}
 EVBME attribute ids for use with EVBME_SET_REQUEST and EVBME_GET_REQUEST. More...
 
enum  evbme_dfu_const { DFU_WRITE_MAX_LEN = 244 }
 General constants for DFU. More...
 
enum  evbme_dfu_cmdid {
  DFU_REBOOT = 0 , DFU_ERASE = 1 , DFU_WRITE = 2 , DFU_CHECK = 3 ,
  DFU_STATUS = 4 , DFU_BOOTMODE = 5
}
 Command IDs for DFU commands. More...
 
enum  evbme_dfu_rebootmode { EVBME_DFU_REBOOT_APROM = 0 , EVBME_DFU_REBOOT_DFU = 1 }
 Reboot mode. More...
 

Detailed Description

Definitions relating to EVBME API messages.