Logo
DSR GreenBOSS  1.1.0
Data Fields
gboss_comm_ext_options_s Struct Reference

GPD Commissioning - Extended options field descriptor. More...

#include <gboss_app.h>

Data Fields

zb_uint8_t security_level_capabilities: 2
 See gboss_security_key_capabilities_t. More...
 
zb_uint8_t key_type: 3
 See gboss_key_types_t. More...
 
zb_uint8_t gpd_key_present: 1
 1 = GPD key field is present, 0 otherwise More...
 
zb_uint8_t gpd_key_encryption: 1
 1 = GPD key is (or it can be, if not present) encrypted, 0 otherwise More...
 
zb_uint8_t gpd_outgoing_counter_present: 1
 1 = GPD outgoing counter is present, 0 otherwise More...
 

Detailed Description

GPD Commissioning - Extended options field descriptor.

static const zb_uint8_t gs_commands[] = {
GBOSS_APP_CMD_ID_OFF,
GBOSS_APP_CMD_ID_ON,
GBOSS_APP_CMD_ID_TOGGLE
};
static const zb_uint16_t gs_clusters_cli[] = {
ZB_ZCL_CLUSTER_ID_LEVEL_CONTROL
};
static const zb_uint16_t gs_clusters_srv[] = {
ZB_ZCL_CLUSTER_ID_REL_HUMIDITY_MEASUREMENT
};
static const gboss_device_config_t g_device_config = {
.manufacturer = 0x1234, /* DSR */
.model = 0x0001,
.src_addr = {0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88},
.src_id = 0xabacadac,
.application_id = GBOSS_APP_ID_0,
.endpoint = 0x55,
.comm_options = {
.mac_sequence_number_capability = GBOSS_MAC_SEQ_NUM_INCREMENTAL,
.rx_on_capability = ZB_FALSE,
.application_info_present = ZB_TRUE,
.pan_id_request = ZB_FALSE,
.gp_security_key_request = ZB_FALSE,
.fixed_location = ZB_FALSE,
.extended_options_present = ZB_TRUE},
.comm_extended_options = {
.security_level_capabilities = GBOSS_SECURITY_KEY_CAP_L3,
.gpd_key_present = ZB_TRUE,
.gpd_key_encryption = ZB_TRUE,
.gpd_outgoing_counter_present = ZB_TRUE},
.comm_app_info = {
.manuf_id_present = ZB_TRUE,
.model_id_present = ZB_TRUE,
.gpd_commands_present = ZB_TRUE,
.cluster_list_present = ZB_TRUE,
.switch_info_present = ZB_FALSE,
.gpd_app_descr_command_follows = ZB_FALSE},
.cmd_list_count = ZB_ARRAY_SIZE(gs_commands),
.cmd_list = gs_commands,
.cluster_srv_cnt = ZB_ARRAY_SIZE(gs_clusters_srv),
.cluster_list_srv = gs_clusters_srv,
.cluster_cli_cnt = ZB_ARRAY_SIZE(gs_clusters_cli),
.cluster_list_cli = gs_clusters_cli
};

Field Documentation

§ security_level_capabilities

zb_uint8_t gboss_comm_ext_options_s::security_level_capabilities

§ key_type

zb_uint8_t gboss_comm_ext_options_s::key_type

§ gpd_key_present

zb_uint8_t gboss_comm_ext_options_s::gpd_key_present

1 = GPD key field is present, 0 otherwise

§ gpd_key_encryption

zb_uint8_t gboss_comm_ext_options_s::gpd_key_encryption

1 = GPD key is (or it can be, if not present) encrypted, 0 otherwise

§ gpd_outgoing_counter_present

zb_uint8_t gboss_comm_ext_options_s::gpd_outgoing_counter_present

1 = GPD outgoing counter is present, 0 otherwise


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