Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
ot_api_messages.h File Reference
#include "string.h"
Include dependency graph for ot_api_messages.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  OT_IF_CONFIG
 
struct  OT_THREAD
 
struct  OT_SET
 
struct  OT_GET
 
struct  OT_STATE
 
struct  OT_FACTORY_RESET
 
struct  OT_APPLICATION_CMD
 
struct  OT_GEN_CNF
 
struct  OT_GET_CNF
 
struct  OT_STATE_CNF
 
union  OTApiMsg
 

Macros

#define OT_CMD_IFCONFIG   (0x00)
 Downwards command ids. More...
 
#define OT_CMD_THREAD   (0x01)
 
#define OT_CMD_SET   (0x02)
 
#define OT_CMD_GET   (0x03)
 
#define OT_CMD_STATE   (0x04)
 
#define OT_CMD_FACTORY_RESET   (0x05)
 
#define OT_CMD_APPLICATION_CMD   (0x06)
 
#define OT_CNF_IFCONFIG   (0x80)
 Upwards command ids. More...
 
#define OT_CNF_THREAD   (0x81)
 
#define OT_CNF_SET   (0x82)
 
#define OT_CNF_GET   (0x83)
 
#define OT_CNF_STATE   (0x84)
 
#define OT_CNF_FACTORY_RESET   (0x85)
 
#define OT_CNF_APPLICATION_CMD   (0x86)
 
#define OT_ATTR_CHANNEL   (0)
 
#define OT_ATTR_PANID   (1)
 
#define OT_ATTR_MODE_RX_ON_WHEN_IDLE   (2)
 
#define OT_ATTR_MODE_SECURE   (3)
 
#define OT_ATTR_MODE_FFD   (4)
 
#define OT_ATTR_MODE_NETDATA   (5)
 
#define OT_ATTR_POLL_PERIOD   (6)
 
#define OT_ATTR_MASTER_KEY   (7)
 
#define OT_ATTR_NETWORK_NAME   (8)
 
#define OT_ATTR_EXT_PANID   (9)
 
#define OT_ATTR_KEY_SEQUENCE   (10)
 
#define OT_ATTR_EXT_ADDR   (11)
 
#define OT_ATTR_MESH_LOCAL_PREFIX   (12)
 
#define OT_ATTR_CHILD_TIMEOUT   (13)
 
#define OT_ATTR_CONTEXT_REUSE_DELAY   (14)
 
#define OT_ATTR_LEADER_DATA   (15)
 
#define OT_ATTR_LEADER_WEIGHT   (16)
 
#define OT_ATTR_NETWORK_ID_TIMEOUT   (17)
 
#define OT_ATTR_RLOC16   (18)
 
#define OT_ATTR_ROUTER_UPGRADE_THRESHOLD   (19)
 
#define OT_ATTR_AUTO_START   (20)
 

Typedefs

typedef struct OT_IF_CONFIG OT_IF_CONFIG_t
 
typedef struct OT_THREAD OT_THREAD_t
 
typedef struct OT_SET OT_SET_t
 
typedef struct OT_GET OT_GET_t
 
typedef struct OT_STATE OT_STATE_t
 
typedef struct OT_FACTORY_RESET OT_FACTORY_RESET_t
 
typedef struct OT_APPLICATION_CMD OT_APPLICATION_CMD_t
 
typedef struct OT_GEN_CNF OT_GEN_CNF_t
 
typedef struct OT_GET_CNF OT_GET_CNF_t
 
typedef struct OT_STATE_CNF OT_STATE_CNF_t
 
typedef union OTApiMsg OTApiMsg_t
 

Macro Definition Documentation

◆ OT_ATTR_AUTO_START

#define OT_ATTR_AUTO_START   (20)

◆ OT_ATTR_CHANNEL

#define OT_ATTR_CHANNEL   (0)

◆ OT_ATTR_CHILD_TIMEOUT

#define OT_ATTR_CHILD_TIMEOUT   (13)

◆ OT_ATTR_CONTEXT_REUSE_DELAY

#define OT_ATTR_CONTEXT_REUSE_DELAY   (14)

◆ OT_ATTR_EXT_ADDR

#define OT_ATTR_EXT_ADDR   (11)

◆ OT_ATTR_EXT_PANID

#define OT_ATTR_EXT_PANID   (9)

◆ OT_ATTR_KEY_SEQUENCE

#define OT_ATTR_KEY_SEQUENCE   (10)

◆ OT_ATTR_LEADER_DATA

#define OT_ATTR_LEADER_DATA   (15)

◆ OT_ATTR_LEADER_WEIGHT

#define OT_ATTR_LEADER_WEIGHT   (16)

◆ OT_ATTR_MASTER_KEY

#define OT_ATTR_MASTER_KEY   (7)

◆ OT_ATTR_MESH_LOCAL_PREFIX

#define OT_ATTR_MESH_LOCAL_PREFIX   (12)

◆ OT_ATTR_MODE_FFD

#define OT_ATTR_MODE_FFD   (4)

◆ OT_ATTR_MODE_NETDATA

#define OT_ATTR_MODE_NETDATA   (5)

◆ OT_ATTR_MODE_RX_ON_WHEN_IDLE

#define OT_ATTR_MODE_RX_ON_WHEN_IDLE   (2)

◆ OT_ATTR_MODE_SECURE

#define OT_ATTR_MODE_SECURE   (3)

◆ OT_ATTR_NETWORK_ID_TIMEOUT

#define OT_ATTR_NETWORK_ID_TIMEOUT   (17)

◆ OT_ATTR_NETWORK_NAME

#define OT_ATTR_NETWORK_NAME   (8)

◆ OT_ATTR_PANID

#define OT_ATTR_PANID   (1)

◆ OT_ATTR_POLL_PERIOD

#define OT_ATTR_POLL_PERIOD   (6)

◆ OT_ATTR_RLOC16

#define OT_ATTR_RLOC16   (18)

◆ OT_ATTR_ROUTER_UPGRADE_THRESHOLD

#define OT_ATTR_ROUTER_UPGRADE_THRESHOLD   (19)

◆ OT_CMD_APPLICATION_CMD

#define OT_CMD_APPLICATION_CMD   (0x06)

◆ OT_CMD_FACTORY_RESET

#define OT_CMD_FACTORY_RESET   (0x05)

◆ OT_CMD_GET

#define OT_CMD_GET   (0x03)

◆ OT_CMD_IFCONFIG

#define OT_CMD_IFCONFIG   (0x00)

Downwards command ids.

◆ OT_CMD_SET

#define OT_CMD_SET   (0x02)

◆ OT_CMD_STATE

#define OT_CMD_STATE   (0x04)

◆ OT_CMD_THREAD

#define OT_CMD_THREAD   (0x01)

◆ OT_CNF_APPLICATION_CMD

#define OT_CNF_APPLICATION_CMD   (0x86)

◆ OT_CNF_FACTORY_RESET

#define OT_CNF_FACTORY_RESET   (0x85)

◆ OT_CNF_GET

#define OT_CNF_GET   (0x83)

◆ OT_CNF_IFCONFIG

#define OT_CNF_IFCONFIG   (0x80)

Upwards command ids.

◆ OT_CNF_SET

#define OT_CNF_SET   (0x82)

◆ OT_CNF_STATE

#define OT_CNF_STATE   (0x84)

◆ OT_CNF_THREAD

#define OT_CNF_THREAD   (0x81)

Typedef Documentation

◆ OT_APPLICATION_CMD_t

◆ OT_FACTORY_RESET_t

◆ OT_GEN_CNF_t

typedef struct OT_GEN_CNF OT_GEN_CNF_t

◆ OT_GET_CNF_t

typedef struct OT_GET_CNF OT_GET_CNF_t

◆ OT_GET_t

typedef struct OT_GET OT_GET_t

◆ OT_IF_CONFIG_t

typedef struct OT_IF_CONFIG OT_IF_CONFIG_t

◆ OT_SET_t

typedef struct OT_SET OT_SET_t

◆ OT_STATE_CNF_t

typedef struct OT_STATE_CNF OT_STATE_CNF_t

◆ OT_STATE_t

typedef struct OT_STATE OT_STATE_t

◆ OT_THREAD_t

typedef struct OT_THREAD OT_THREAD_t

◆ OTApiMsg_t

typedef union OTApiMsg OTApiMsg_t