Logo
DSR GreenBOSS  1.1.0
Data Fields
gboss_comm_app_info_s Struct Reference

GPD Commissioning - Application information descriptor. More...

#include <gboss_app.h>

Data Fields

zb_uint8_t manuf_id_present: 1
 Manufacturer ID field is present. More...
 
zb_uint8_t model_id_present: 1
 Model ID field is present. More...
 
zb_uint8_t gpd_commands_present: 1
 Number of GPD commands and GPD CommandID list fields are present. More...
 
zb_uint8_t cluster_list_present: 1
 Cluster list field is present. More...
 
zb_uint8_t switch_info_present: 1
 Switch information field is present. More...
 
zb_uint8_t gpd_app_descr_command_follows: 1
 After the current Commissioning GPDF, the GPD Application Description command (0xE4) will follow. More...
 
zb_uint8_t reserved: 2
 Reserved. More...
 

Detailed Description

GPD Commissioning - Application information 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

§ manuf_id_present

zb_uint8_t gboss_comm_app_info_s::manuf_id_present

Manufacturer ID field is present.

§ model_id_present

zb_uint8_t gboss_comm_app_info_s::model_id_present

Model ID field is present.

§ gpd_commands_present

zb_uint8_t gboss_comm_app_info_s::gpd_commands_present

Number of GPD commands and GPD CommandID list fields are present.

§ cluster_list_present

zb_uint8_t gboss_comm_app_info_s::cluster_list_present

Cluster list field is present.

§ switch_info_present

zb_uint8_t gboss_comm_app_info_s::switch_info_present

Switch information field is present.

§ gpd_app_descr_command_follows

zb_uint8_t gboss_comm_app_info_s::gpd_app_descr_command_follows

After the current Commissioning GPDF, the GPD Application Description command (0xE4) will follow.

§ reserved

zb_uint8_t gboss_comm_app_info_s::reserved

Reserved.


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