nRF5 SDK for Mesh v5.0.0
Data Fields
serial_evt_cmd_rsp_t Struct Reference

Command response packet. More...

#include <serial_cmd_rsp.h>

Data Fields

uint8_t opcode
 Opcode of original command. More...
uint8_t status
 Return status of the serial command. More...
union {
   serial_evt_cmd_rsp_data_housekeeping_t   hk_data
 Housekeeping data response. More...
   serial_evt_cmd_rsp_data_subnet_t   subnet
 Subnet response. More...
   serial_evt_cmd_rsp_data_subnet_list_t   subnet_list
 List of all subnet key indexes. More...
   serial_evt_cmd_rsp_data_appkey_t   appkey
 Appkey response. More...
   serial_evt_cmd_rsp_data_appkey_list_t   appkey_list
 List of all appkey key indexes for a given subnetwork. More...
   serial_evt_cmd_rsp_data_devkey_t   devkey
 Devkey response. More...
   serial_evt_cmd_rsp_data_addr_local_unicast_t   local_unicast
 Local unicast addresses. More...
   serial_evt_cmd_rsp_data_addr_t   addr
 Address response. More...
   serial_evt_cmd_rsp_data_list_size_t   list_size
 List size. More...
   serial_evt_cmd_rsp_data_adv_addr_t   adv_addr
 Advertisement address. More...
   serial_evt_cmd_rsp_data_prov_ctx_t   prov_ctx
 Provisioning context. More...
   serial_evt_cmd_rsp_data_firmware_info_t   firmware_info
 Firmware information. More...
   serial_evt_cmd_rsp_data_serial_version_t   serial_version
 Serial version. More...
   serial_evt_cmd_rsp_data_device_uuid_t   device_uuid
 Device UUID. More...
   serial_evt_cmd_rsp_data_beacon_params_t   beacon_params
 Beacon parameters. More...
   serial_evt_cmd_rsp_data_dfu_bank_info_t   dfu_bank_info
 Bank information. More...
   serial_evt_cmd_rsp_data_dfu_state_t   dfu_state
 DFU state. More...
   serial_evt_cmd_rsp_data_model_pub_addr_get_t   pub_addr
 Model publish address. More...
   serial_evt_cmd_rsp_data_model_pub_app_get_t   pub_app
 Model publish application key. More...
   serial_evt_cmd_rsp_data_model_pub_period_get_t   pub_period
 Model publish period. More...
   serial_evt_cmd_rsp_data_model_subs_get_t   model_subs
 Model subscription list. More...
   serial_evt_cmd_rsp_data_model_apps_get_t   model_pub
 Model application keys list. More...
   serial_evt_cmd_rsp_data_model_pub_ttl_get_t   pub_ttl
 Model publish ttl value. More...
   serial_evt_cmd_rsp_data_elem_loc_get_t   elem_loc
 Element location. More...
   serial_evt_cmd_rsp_data_elem_model_count_get_t   model_count
 Number of models in the element. More...
   serial_evt_cmd_rsp_data_model_id_get_t   model_id
 Company and model IDs. More...
   serial_evt_cmd_rsp_data_model_handle_get_t   model_handle
 Handle for the model.
   serial_evt_cmd_rsp_data_elem_models_get_t   model_handles
 Element's list of model handles. More...
   serial_evt_cmd_rsp_data_models_get_t   model_ids
 All the available models. More...
   serial_evt_cmd_rsp_data_model_init_t   model_init
 Reserved handle for the initialized model instance. More...
   serial_evt_cmd_rsp_data_packet_send_t   packet_send
 Information about the sent packet. More...
   serial_evt_cmd_rsp_data_net_state_get_t   net_state_get
 Net state. More...
 Optional command response data. More...

Detailed Description

Command response packet.

Definition at line 313 of file serial_cmd_rsp.h.

Field Documentation

◆ opcode

uint8_t serial_evt_cmd_rsp_t::opcode

Opcode of original command.

Definition at line 315 of file serial_cmd_rsp.h.

◆ status

uint8_t serial_evt_cmd_rsp_t::status

Return status of the serial command.

Definition at line 316 of file serial_cmd_rsp.h.

◆ hk_data

serial_evt_cmd_rsp_data_housekeeping_t serial_evt_cmd_rsp_t::hk_data

Housekeeping data response.

Definition at line 319 of file serial_cmd_rsp.h.

◆ subnet

serial_evt_cmd_rsp_data_subnet_t serial_evt_cmd_rsp_t::subnet

Subnet response.

Definition at line 320 of file serial_cmd_rsp.h.

◆ subnet_list

serial_evt_cmd_rsp_data_subnet_list_t serial_evt_cmd_rsp_t::subnet_list

List of all subnet key indexes.

Definition at line 321 of file serial_cmd_rsp.h.

◆ appkey

serial_evt_cmd_rsp_data_appkey_t serial_evt_cmd_rsp_t::appkey

Appkey response.

Definition at line 322 of file serial_cmd_rsp.h.

◆ appkey_list

serial_evt_cmd_rsp_data_appkey_list_t serial_evt_cmd_rsp_t::appkey_list

List of all appkey key indexes for a given subnetwork.

Definition at line 323 of file serial_cmd_rsp.h.

◆ devkey

serial_evt_cmd_rsp_data_devkey_t serial_evt_cmd_rsp_t::devkey

Devkey response.

Definition at line 324 of file serial_cmd_rsp.h.

◆ local_unicast

serial_evt_cmd_rsp_data_addr_local_unicast_t serial_evt_cmd_rsp_t::local_unicast

Local unicast addresses.

Definition at line 325 of file serial_cmd_rsp.h.

◆ addr

serial_evt_cmd_rsp_data_addr_t serial_evt_cmd_rsp_t::addr

Address response.

Definition at line 326 of file serial_cmd_rsp.h.

◆ list_size

serial_evt_cmd_rsp_data_list_size_t serial_evt_cmd_rsp_t::list_size

List size.

Definition at line 327 of file serial_cmd_rsp.h.

◆ adv_addr

serial_evt_cmd_rsp_data_adv_addr_t serial_evt_cmd_rsp_t::adv_addr

Advertisement address.

Definition at line 328 of file serial_cmd_rsp.h.

◆ prov_ctx

serial_evt_cmd_rsp_data_prov_ctx_t serial_evt_cmd_rsp_t::prov_ctx

Provisioning context.

Definition at line 329 of file serial_cmd_rsp.h.

◆ firmware_info

serial_evt_cmd_rsp_data_firmware_info_t serial_evt_cmd_rsp_t::firmware_info

Firmware information.

Definition at line 330 of file serial_cmd_rsp.h.

◆ serial_version

serial_evt_cmd_rsp_data_serial_version_t serial_evt_cmd_rsp_t::serial_version

Serial version.

Definition at line 331 of file serial_cmd_rsp.h.

◆ device_uuid

serial_evt_cmd_rsp_data_device_uuid_t serial_evt_cmd_rsp_t::device_uuid

Device UUID.

Definition at line 332 of file serial_cmd_rsp.h.

◆ beacon_params

serial_evt_cmd_rsp_data_beacon_params_t serial_evt_cmd_rsp_t::beacon_params

Beacon parameters.

Definition at line 333 of file serial_cmd_rsp.h.

◆ dfu_bank_info

serial_evt_cmd_rsp_data_dfu_bank_info_t serial_evt_cmd_rsp_t::dfu_bank_info

Bank information.

Definition at line 334 of file serial_cmd_rsp.h.

◆ dfu_state

serial_evt_cmd_rsp_data_dfu_state_t serial_evt_cmd_rsp_t::dfu_state

DFU state.

Definition at line 335 of file serial_cmd_rsp.h.

◆ pub_addr

serial_evt_cmd_rsp_data_model_pub_addr_get_t serial_evt_cmd_rsp_t::pub_addr

Model publish address.

Definition at line 336 of file serial_cmd_rsp.h.

◆ pub_app

serial_evt_cmd_rsp_data_model_pub_app_get_t serial_evt_cmd_rsp_t::pub_app

Model publish application key.

Definition at line 337 of file serial_cmd_rsp.h.

◆ pub_period

serial_evt_cmd_rsp_data_model_pub_period_get_t serial_evt_cmd_rsp_t::pub_period

Model publish period.

Definition at line 338 of file serial_cmd_rsp.h.

◆ model_subs

serial_evt_cmd_rsp_data_model_subs_get_t serial_evt_cmd_rsp_t::model_subs

Model subscription list.

Definition at line 339 of file serial_cmd_rsp.h.

◆ model_pub

serial_evt_cmd_rsp_data_model_apps_get_t serial_evt_cmd_rsp_t::model_pub

Model application keys list.

Definition at line 340 of file serial_cmd_rsp.h.

◆ pub_ttl

serial_evt_cmd_rsp_data_model_pub_ttl_get_t serial_evt_cmd_rsp_t::pub_ttl

Model publish ttl value.

Definition at line 341 of file serial_cmd_rsp.h.

◆ elem_loc

serial_evt_cmd_rsp_data_elem_loc_get_t serial_evt_cmd_rsp_t::elem_loc

Element location.

Definition at line 342 of file serial_cmd_rsp.h.

◆ model_count

serial_evt_cmd_rsp_data_elem_model_count_get_t serial_evt_cmd_rsp_t::model_count

Number of models in the element.

Definition at line 343 of file serial_cmd_rsp.h.

◆ model_id

serial_evt_cmd_rsp_data_model_id_get_t serial_evt_cmd_rsp_t::model_id

Company and model IDs.

Definition at line 344 of file serial_cmd_rsp.h.

◆ model_handles

serial_evt_cmd_rsp_data_elem_models_get_t serial_evt_cmd_rsp_t::model_handles

Element's list of model handles.

Definition at line 346 of file serial_cmd_rsp.h.

◆ model_ids

serial_evt_cmd_rsp_data_models_get_t serial_evt_cmd_rsp_t::model_ids

All the available models.

Definition at line 347 of file serial_cmd_rsp.h.

◆ model_init

serial_evt_cmd_rsp_data_model_init_t serial_evt_cmd_rsp_t::model_init

Reserved handle for the initialized model instance.

Definition at line 348 of file serial_cmd_rsp.h.

◆ packet_send

serial_evt_cmd_rsp_data_packet_send_t serial_evt_cmd_rsp_t::packet_send

Information about the sent packet.

Definition at line 349 of file serial_cmd_rsp.h.

◆ net_state_get

serial_evt_cmd_rsp_data_net_state_get_t serial_evt_cmd_rsp_t::net_state_get

Net state.

Definition at line 350 of file serial_cmd_rsp.h.

◆ data

union { ... } serial_evt_cmd_rsp_t::data

Optional command response data.

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

Documentation feedback | Developer Zone | Subscribe | Updated