Logo
DSR GreenBOSS  1.1.0
Data Fields

GPD Commissioning - Options field descriptor. More...

#include <gboss_app.h>

Data Fields

zb_uint8_t mac_sequence_number_capability: 1
 See gboss_mac_sequence_number_capabilities_t. More...
 
zb_uint8_t rx_on_capability: 1
 1 = GPD can receive data in operational mode, 0 otherwise More...
 
zb_uint8_t application_info_present: 1
 1 = Application info field is present in comm. packet, 0 otherwise More...
 
zb_uint8_t reserved: 1
 Reserved. More...
 
zb_uint8_t pan_id_request: 1
 1 = GPD requests to receive PAN ID value from NWK, 0 otherwise More...
 
zb_uint8_t gp_security_key_request: 1
 1 = GPD requests to receive GP sec. key, 0 otherwise More...
 
zb_uint8_t fixed_location: 1
 1 = GPD is not expected to change its position on the NWK, 0 otherwise More...
 
zb_uint8_t extended_options_present: 1
 1 = Extended options field is present in comm. packet, 0 otherwise More...
 

Detailed Description

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

§ mac_sequence_number_capability

zb_uint8_t gboss_comm_options_s::mac_sequence_number_capability

§ rx_on_capability

zb_uint8_t gboss_comm_options_s::rx_on_capability

1 = GPD can receive data in operational mode, 0 otherwise

§ application_info_present

zb_uint8_t gboss_comm_options_s::application_info_present

1 = Application info field is present in comm. packet, 0 otherwise

§ reserved

zb_uint8_t gboss_comm_options_s::reserved

Reserved.

§ pan_id_request

zb_uint8_t gboss_comm_options_s::pan_id_request

1 = GPD requests to receive PAN ID value from NWK, 0 otherwise

§ gp_security_key_request

zb_uint8_t gboss_comm_options_s::gp_security_key_request

1 = GPD requests to receive GP sec. key, 0 otherwise

§ fixed_location

zb_uint8_t gboss_comm_options_s::fixed_location

1 = GPD is not expected to change its position on the NWK, 0 otherwise

§ extended_options_present

zb_uint8_t gboss_comm_options_s::extended_options_present

1 = Extended options field is present in comm. packet, 0 otherwise


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