text stringlengths 1 9.98k | __index_level_0__ int64 0 4.17k |
|---|---|
< Bridge Configuration Server model context */
#endif
/** Parameters of Subnet Bridge Set */
typedef struct {
uint8_t subnet_bridge; /*!< New Subnet Bridge state */
} esp_ble_mesh_subnet_bridge_set_t; /*!< Parameters of Subnet Bridge Set */
/** Parameters of Bridging Table Add */
... | 3,231 |
< NetKey Index of the first subnet */
uint16_t bridge_net_idx_2; /*!< NetKey Index of the second subnet */
uint16_t bridge_addr_1; /*!< Address of the node in the first subnet */
uint16_t bridge_addr_2; /*!< Address of the node in the second subnet */... | 3,231 |
< NetKey Index of the second subnet */
uint16_t bridge_start_idx; /*!< Start offset in units of Bridging Table state entries */
} esp_ble_mesh_bridging_table_get_t; /*!< Parameters of Bridging Table Get */
/**
*/
typedef union {
esp_ble_mesh_bridged_subnets_get_t bridged_subnets_... | 3,231 |
< Current Subnet Bridge state */
} esp_ble_mesh_subnet_bridge_status_t; /*!< Parameters of Subnet Bridge Status */
/** Parameters of Bridging Table Status */
typedef struct {
uint8_t status; /*!< Status Code for the requesting message */
uint8_t bridge_direction; ... | 3,231 |
< NetKey Index of the second subnet */
} esp_ble_mesh_bridge_net_idx_pair_entry_t; /*!< Bridged_Subnets_List entry format */
/** Parameters of Bridged Subnets List */
typedef struct {
uint16_t bridge_filter:2, /*!< Filter applied to the set of pairs of NetKey Indexes */
bridge_ne... | 3,231 |
< Address of the node in the second subnet */
}esp_ble_mesh_bridged_addr_list_entry_t; /*!< Bridged_Addresses_List entry format */
/** Parameters of Bridging Table List */
typedef struct {
uint8_t status; /*!< Status Code for the requesting message */
uint16_t bridge_net_idx_... | 3,231 |
< Parameters of Bridging Table Size Status */
/**
*/
typedef union {
esp_ble_mesh_subnet_bridge_status_t subnet_bridge_status; /*!< ESP_BLE_MESH_MODEL_OP_SUBNET_BRIDGE_STATUS */
esp_ble_mesh_bridging_table_status_t bridging_table_status; /*!< ESP_BLE_MESH_MODEL_OP_BRIDGING_TABLE_STAT... | 3,231 |
< Client common parameters, used by all events. */
/** Union of Bridge Configuration Client callback */
union {
esp_ble_mesh_brc_client_send_cb_t send; /*!< Result of sending a message */
esp_ble_mesh_brc_client_recv_cb_t recv; /*!< Parameters of received status message */
};
} esp_ble_mesh_... | 3,231 |
< NetKey Index of the second subnet */
uint16_t bridge_addr_1; /*!< Address of the node in the first subnet */
uint16_t bridge_addr_2; /*!< Address of the node in the second subnet */
} esp_ble_mesh_state_change_bridging_table_add_t; /*!<... | 3,231 |
< Bridging Table Add */
esp_ble_mesh_state_change_bridging_table_remove_t bridging_table_remove; /*!< Bridging Table Remove*/
} esp_ble_mesh_brc_server_state_change_t; /*!< Bridge Configuration Server model state change value union */
/**
*/
typedef union {
esp_ble_mes... | 3,231 |
< Bridge Configuration Server model callback parameters */
/** This enum value is the event of Bridge Configuration Server model */
typedef enum {
ESP_BLE_MESH_BRC_SERVER_STATE_CHANGE_EVT,
ESP_BLE_MESH_BRC_SERVER_EVT_MAX,
} esp_ble_mesh_brc_server_cb_event_t;
/**
*/
/**
*/
typedef void (* esp_ble_mesh_brc_... | 3,231 |
/*
*/
#ifndef _ESP_BLE_MESH_LCD_MODEL_API_H_
#define _ESP_BLE_MESH_LCD_MODEL_API_H_
#include "esp_ble_mesh_defs.h"
#ifdef __cplusplus
extern "C" {
#endif
#define ESP_BLE_MESH_MODEL_OP_LARGE_COMP_DATA_GET ESP_BLE_MESH_MODEL_OP_2(0x80, 0x74)
#define ESP_BLE_MESH_MODEL_OP_LARGE_COMP_DATA_STATUS ESP_BLE_MESH_... | 3,232 |
< Pointer to Large Composition Data Server model */
} esp_ble_mesh_lcd_srv_t;
/** Parameters of Large Composition Data Get */
typedef struct {
uint8_t page; /*!< Page number of the Composition Data */
uint16_t offset; /*!< Offset within t... | 3,232 |
< Page number of the Composition Data */
uint16_t offset; /*!< Offset within the page */
uint16_t total_size; /*!< Total size of the page */
struct net_buf_simple *data; /*!< Composition Data for the identified portion ... | 3,232 |
< Result of sending a message */
} esp_ble_mesh_lcd_client_send_cb_t;
/**
*/
typedef union {
esp_ble_mesh_large_comp_data_status_t large_comp_data_status; /*!< For ESP_BLE_MESH_MODEL_OP_LARGE_COMP_DATA_STATUS */
esp_ble_mesh_models_metadata_status_t models_metadata_status; /*!< For ESP_BLE_MESH_MODEL_OP_M... | 3,232 |
< Event not used currently */
} esp_ble_mesh_lcd_server_state_change_t;
/**
*/
typedef union {
esp_ble_mesh_lcd_server_state_change_t state_change; /*!< For ESP_BLE_MESH_LCD_SERVER_STATE_CHANGE_EVT */
} esp_ble_mesh_lcd_server_cb_value_t;
/** Large Composition Data Server model callback parameters */
typedef str... | 3,232 |
/*
*/
#ifndef _ESP_BLE_MESH_DF_MODEL_API_H_
#define _ESP_BLE_MESH_DF_MODEL_API_H_
#include "esp_ble_mesh_defs.h"
#ifdef __cplusplus
extern "C" {
#endif
#define ESP_BLE_MESH_MODEL_OP_DIRECTED_CONTROL_GET ESP_BLE_MESH_MODEL_OP_2(0x80, 0x7B)
#define ESP_BLE_MESH_MODEL_OP_DIRECTED_CONTROL_SET ... | 3,233 |
< Pointer to Directed Forwarding Configuration Server model */
uint8_t directed_net_transmit; /*!< Directed Network Transmit state */
uint8_t directed_relay_retransmit; /*!< Directed Relay Retransmit state */
int8_t default_rssi_threshold; /*!< Default RSSI T... | 3,233 |
< Path Discovery Interval state */
lane_disc_guard_interval:1; /*!< Lane Discovery Guard Interval state */
uint8_t directed_ctl_net_transmit; /*!< Directed Control Network Transmit state */
uint8_t directed_ctl_relay_retransmit; /*!< Directed Control Relay Retransm... | 3,233 |
< New Directed Friend state or value to ignore */
} esp_ble_mesh_directed_control_set_t;
/** Parameters of Path Metric Get. */
typedef struct {
uint16_t net_idx; /*!< NetKey Index */
} esp_ble_mesh_path_metric_get_t;
/** Parameters of Path Metric Set. */
typedef struct {
uint16_t... | 3,233 |
*/
typedef struct {
uint16_t net_idx:12, /*!< NetKey Index */
unicast_dst:1, /*!< Indicates whether or not the destination of the path is a unicast address */
bw_path_validated:1; /*!< Indicates whether or not the backwa... | 3,233 |
*/
typedef struct {
uint16_t net_idx; /*!< NetKey Index */
uint16_t path_origin; /*!< Primary element address of the Path Origin */
uint16_t dst; /*!< Destination address */
} esp_ble_mesh_forwarding_table_delete_t;
... | 3,233 |
< List of the unicast address ranges of the dependent nodes of the Path Target */
} esp_ble_mesh_forwarding_table_deps_add_t;
/** Parameters of Forwarding Table Dependents Delete. */
typedef struct {
uint16_t net_idx; /*!< NetKey Index */
uint16_t path_origin; ... | 3,233 |
*/
typedef struct {
uint16_t net_idx; /*!< NetKey Index */
} esp_ble_mesh_forwarding_table_entries_cnt_get_t;
/** Parameters of Forwarding Table Entries Get. */
typedef struct {
uint16_t net_idx:12, /*!< NetKey Index */
filter_mask:4; ... | 3,233 |
*/
typedef struct {
uint16_t net_idx:12, /*!< NetKey Index */
dep_list_mask:2, /*!< Filter applied to the lists of unicast address ranges for dependent nodes */
fixed_path_flag:1; /*!< Indicate whether or not to return t... | 3,233 |
*/
typedef struct {
uint16_t net_idx; /*!< NetKey Index */
} esp_ble_mesh_wanted_lanes_get_t;
/** Parameters of Wanted Lanes Set. */
typedef struct {
uint16_t net_idx; /*!< NetKey Index */
uint8_t wanted_lanes; /*!< New ... | 3,233 |
*/
typedef struct {
uint16_t net_idx; /*!< NetKey Index */
uint8_t unicast_echo_interval; /*!< New Unicast Echo Interval state or indication of no state change */
uint8_t multicast_echo_interval; /*!< New Multicast Echo Interval state or indicat... | 3,233 |
*/
typedef struct {
uint16_t element_addr; /*!< Address of the element */
uint16_t company_id; /*!< Company ID */
uint16_t model_id; /*!< Model ID */
} esp_ble_mesh_directed_publish_policy_get_t;
/** Parameters of Directed Pu... | 3,233 |
< New Path Discovery Interval state */
lane_disc_guard_interval:1; /*!< New Lane Discovery Guard Interval state */
} esp_ble_mesh_path_discovery_timing_ctl_set_t;
/** Parameters of Directed Control Network Transmit Set. */
typedef struct {
uint8_t net_transmit; /*!... | 3,233 |
< For ESP_BLE_MESH_MODEL_OP_DISCOVERY_TABLE_CAPS_GET */
esp_ble_mesh_forwarding_table_entries_cnt_get_t forwarding_table_entries_cnt_get; /*!< For ESP_BLE_MESH_MODEL_OP_FORWARDING_TABLE_ENTRIES_CNT_GET */
esp_ble_mesh_forwarding_table_entries_get_t forwarding_table_entries_get; /*!< For ESP_BLE_MESH_MOD... | 3,233 |
< For ESP_BLE_MESH_MODEL_OP_DIRECTED_PUB_POLICY_GET */
} esp_ble_mesh_df_client_get_t;
/**
*/
typedef union {
esp_ble_mesh_directed_control_set_t directed_control_set; /*!< For ESP_BLE_MESH_MODEL_OP_DIRECTED_CONTROL_SET */
esp_ble_mesh_path_metric_set_t path_metric_... | 3,233 |
< For ESP_BLE_MESH_MODEL_OP_FORWARDING_TABLE_DEPS_DEL */
esp_ble_mesh_wanted_lanes_set_t wanted_lanes_set; /*!< For ESP_BLE_MESH_MODEL_OP_WANTED_LANES_SET */
esp_ble_mesh_two_way_path_set_t two_way_path_set; /*!< For ESP_BLE_MESH_MODEL_OP_TWO_W... | 3,233 |
< For ESP_BLE_MESH_MODEL_OP_DIRECTED_PUB_POLICY_SET */
esp_ble_mesh_path_discovery_timing_ctl_set_t path_disc_timing_ctl_set; /*!< For ESP_BLE_MESH_MODEL_OP_PATH_DISCOVERY_TIMING_CTL_SET */
esp_ble_mesh_directed_ctl_net_transmit_set_t directed_ctl_net_transmit_set; /*!< For ESP_BLE_MESH_MOD... | 3,233 |
< Current Directed Proxy state */
uint8_t directed_proxy_use_default; /*!< Current Directed Proxy Use Directed Default state or 0xFF */
uint8_t directed_friend; /*!< Current Directed Friend state */
} esp_ble_mesh_directed_control_status_t;
/** Parameters of Path Metric Statu... | 3,233 |
< Current Max Concurrent Init state */
uint8_t max_disc_entries; /*!< Max Discovery Table Entries Count state */
} esp_ble_mesh_discovery_table_caps_status_t;
/** Parameters of Forwarding Table Status. */
typedef struct {
uint8_t status; /*!< Status code fo... | 3,233 |
< Destination address */
} esp_ble_mesh_forwarding_table_deps_status_t;
/** Parameters of Forwarding Table Entries Count Status. */
typedef struct {
uint8_t status; /*!< Status code for the requesting message */
uint16_t net_idx; /*!< NetKey Index *... | 3,233 |
< Indicates whether or not the backward path has been validated */
bearer_twd_path_origin_ind:1, /*!< Indicates the presence or absence of the Bearer_Toward_Path_Origin field */
bearer_twd_path_target_ind:1, /*!< Indicates the presence or absence of the Bearer_Toward_Path_Tar... | 3,233 |
< Current number of entries in the list of dependent nodes of the Path Origin */
uint16_t bearer_twd_path_origin; /*!< Index of the bearer toward the Path Origin */
esp_ble_mesh_uar_t path_target; /*!< Path Target unicast address range */
uint16_t multicast_dst; ... | 3,233 |
< Start offset in units of Forwarding Table entries */
uint16_t path_origin; /*!< Primary element address of the Path Origin */
uint16_t dst; /*!< Destination address */
bool include_id; /*!< Indicate whe... | 3,233 |
< NetKey Index */
dep_list_mask:2, /*!< Filter applied to the lists of unicast address ranges for dependent nodes */
fixed_path_flag:1; /*!< Flag indicating whether or not to return the unicast address ranges of dependent nodes in a fixed path ... | 3,233 |
< Number of unicast address ranges in the Dependent_Target_Unicast_Addr_Range_List field */
esp_ble_mesh_uar_t *dep_origin_uar_list; /*!< List of unicast address ranges of dependent nodes of the Path Origin */
esp_ble_mesh_uar_t *dep_target_uar_list; /*!< List of unicast address ranges of ... | 3,233 |
< NetKey Index */
uint8_t two_way_path; /*!< Current Two Way Path state */
} esp_ble_mesh_two_way_path_status_t;
/** Parameters of Path Echo Interval Status. */
typedef struct {
uint8_t status; /*!< Status code for the requesting message */
... | 3,233 |
*/
typedef struct {
uint8_t default_rssi_threshold; /*!< Default RSSI Threshold state */
uint8_t rssi_margin; /*!< Current RSSI Margin state */
} esp_ble_mesh_rssi_threshold_status_t;
/** Parameters of Directed Paths Status. */
typedef struct {
uint16_t d... | 3,233 |
< Address of the element */
uint16_t company_id; /*!< Company ID */
uint16_t model_id; /*!< Model ID */
} esp_ble_mesh_directed_pub_policy_status_t;
/** Parameters of Path Discovery Timing Control Status. */
typedef struct {
uint16_t path_moni... | 3,233 |
*/
typedef struct {
uint8_t relay_retransmit; /*!< Current Directed Control Relay Retransmit state */
} esp_ble_mesh_directed_ctl_relay_retransmit_status_t;
/** Result of sending Directed Forwarding Configuration Client messages */
typedef struct {
int err_code; ... | 3,233 |
< ESP_BLE_MESH_MODEL_OP_FORWARDING_TABLE_DEPS_STATUS */
esp_ble_mesh_forwarding_table_entries_cnt_status_t forwarding_table_entries_cnt_status; /*!< ESP_BLE_MESH_MODEL_OP_FORWARDING_TABLE_ENTRIES_CNT_STATUS */
esp_ble_mesh_forwarding_table_entries_status_t forwarding_table_entries_status; /*!< ESP_B... | 3,233 |
< ESP_BLE_MESH_MODEL_OP_DIRECTED_NET_TRANSMIT_STATUS */
esp_ble_mesh_directed_relay_retransmit_status_t directed_relay_retransmit_status; /*!< ESP_BLE_MESH_MODEL_OP_DIRECTED_RELAY_RETRANSMIT_STATUS */
esp_ble_mesh_rssi_threshold_status_t rssi_threshold_status; /*!< ESP_BLE_... | 3,233 |
< ESP_BLE_MESH_MODEL_OP_DIRECTED_CTL_RELAY_RETRANSMIT_STATUS */
} esp_ble_mesh_df_client_recv_cb_t;
/** Directed Forwarding Configuration Client model callback parameters */
typedef struct {
esp_ble_mesh_client_common_param_t *params; /*!< Client common parameters, used by all events. */
/** Union of D... | 3,233 |
< Event not used currently */
} esp_ble_mesh_df_server_state_change_t;
typedef enum {
ESP_BLE_MESH_DF_TABLE_ACT_EMPTY,
ESP_BLE_MESH_DF_TABLE_ADD,
ESP_BLE_MESH_DF_TABLE_REMOVE,
ESP_BLE_MESH_DF_TABLE_ENTRY_CHANGE,
ESP_BLE_MESH_DF_TABLE_ACT_MAX_LIMIT,
} esp_ble_mesh_df_table_action_t;
/** Parameters ... | 3,233 |
< Number of entries in the Dependent_Origin_List field of the message */
esp_ble_mesh_uar_t *dep_target_data; /*!< List of the primary element addresses of the dependent nodes of the Path Target */
uint32_t dep_target_num; /*!< Number of entries in the Dependent_Target... | 3,233 |
*/
} df_table_entry_add_remove; /*!< Structure of directed forwarding table add and remove */
/** Structure of directed forwarding table entry change */
struct {
uint8_t dummy; /*!< Event not used currently */
} df_table_entry_c... | 3,233 |
< Pointer to the server model structure */
esp_ble_mesh_msg_ctx_t ctx; /*!< Context of the received message */
esp_ble_mesh_df_server_cb_value_t value; /*!< Value of the received configuration messages */
} esp_ble_mesh_df_server_cb_param_t;
/** This enum value is the event o... | 3,233 |
/*
*/
#ifndef _ESP_BLE_MESH_ODP_MODEL_API_H_
#define _ESP_BLE_MESH_ODP_MODEL_API_H_
#include "esp_ble_mesh_defs.h"
#ifdef __cplusplus
extern "C" {
#endif
#define ESP_BLE_MESH_MODEL_OP_OD_PRIV_PROXY_GET ESP_BLE_MESH_MODEL_OP_2(0x80, 0x69)
#define ESP_BLE_MESH_MODEL_OP_OD_PRIV_PROXY_SET ESP_BLE_MESH_MODEL_OP... | 3,234 |
< On-Demand Private GATT Proxy */
} esp_ble_mesh_od_priv_proxy_set_t;
/**
*/
typedef union {
esp_ble_mesh_od_priv_proxy_set_t od_priv_proxy_set; /*!< For ESP_BLE_MESH_MODEL_OP_OD_PRIV_PROXY_SET */
} esp_ble_mesh_odp_client_msg_t;
/** Parameter of On-Demand Private Proxy Status */
typedef struct {
uint8_t gat... | 3,234 |
< Result of sending a message */
esp_ble_mesh_odp_client_recv_cb_t recv; /*!< Parameters of received status message */
};
} esp_ble_mesh_odp_client_cb_param_t; /*!< On-Demand Private Proxy Config Client model callback parameters */
/** This enum value is the event of On-Demand Pri... | 3,234 |
< Pointer to the server model structure */
esp_ble_mesh_msg_ctx_t ctx; /*!< Context of the received message */
esp_ble_mesh_odp_server_cb_value_t value; /*!< Value of the received configuration messages */
} esp_ble_mesh_odp_server_cb_param_t;
/** This enum value is the event ... | 3,234 |
/*
*/
#ifndef _ESP_BLE_MESH_AGG_MODEL_API_H_
#define _ESP_BLE_MESH_AGG_MODEL_API_H_
#include "esp_ble_mesh_defs.h"
#ifdef __cplusplus
extern "C" {
#endif
/** Defines the Opcodes Aggregator message opcode. */
#define ESP_BLE_MESH_MODEL_OP_AGG_SEQUENCE ESP_BLE_MESH_MODEL_OP_2(0x80, 0x72)
#define ESP_BLE... | 3,235 |
< Pointer to Opcodes Aggregator Server model */
} esp_ble_mesh_agg_srv_t; /*!< Opcodes Aggregator Server model context */
/** Parameters of Aggregator Item */
typedef struct {
uint16_t length_format:1, /*!< 0: Length_Short; 1: Length_Long */
length:15; ... | 3,235 |
< Opcodes Aggregator Client model message union */
/** Parameters of Opcodes Aggregator Status */
typedef struct {
uint8_t status; /*!< Status of the most recent operation */
uint16_t element_addr; /*!< Element Address */
struct net_buf_simple *items; ... | 3,235 |
< Client common parameters, used by all events */
/** Union of AGG Client callback */
union {
esp_ble_mesh_agg_client_send_cb_t send; /*!< Result of sending a message */
esp_ble_mesh_agg_client_recv_cb_t recv; /*!< Parameters of received status message */
};
} esp_ble_mesh_agg_client_cb_para... | 3,235 |
< Pointer to the server model structure */
esp_ble_mesh_msg_ctx_t ctx; /*!< Context of the received message */
/** Union of AGG Server callback */
union {
esp_ble_mesh_agg_server_recv_msg_t recv; /*!< Received message callback values */
};
} esp_ble_mesh_agg_server_cb_param_t;... | 3,235 |
/*
*/
#ifndef _ESP_BLE_MESH_SRPL_MODEL_API_H_
#define _ESP_BLE_MESH_SRPL_MODEL_API_H_
#include "esp_ble_mesh_defs.h"
#ifdef __cplusplus
extern "C" {
#endif
#define ESP_BLE_MESH_MODEL_OP_SRPL_ITEMS_CLEAR ESP_BLE_MESH_MODEL_OP_2(0x80, 0x78)
#define ESP_BLE_MESH_MODEL_OP_SRPL_ITEMS_CLEAR_UNACK ESP_BLE_MES... | 3,236 |
*/
} esp_ble_mesh_srpl_srv_t;
/** Parameter of Solicitation PDU RPL Items Clear */
typedef struct {
esp_ble_mesh_uar_t addr_range; /*!< Unicast address range */
} esp_ble_mesh_srpl_items_clear_t;
/**
*/
typedef union {
esp_ble_mesh_srpl_items_clear_t srpl_items_clear; /*!< For ESP_BLE... | 3,236 |
< Client common parameters, used by all events. */
/** Union of SRPL Client callback */
union {
esp_ble_mesh_srpl_client_send_cb_t send; /*!< Result of sending a message */
esp_ble_mesh_srpl_client_recv_cb_t recv; /*!< Parameters of received status message */
};
} esp_ble_mesh_... | 3,236 |
< ESP_BLE_MESH_SRPL_SERVER_STATE_CHANGE_EVT */
} esp_ble_mesh_srpl_server_cb_value_t;
/** Solicitation PDU RPL Configuration Server model callback parameters */
typedef struct {
esp_ble_mesh_model_t *model; /*!< Pointer to the server model structure */
esp_ble_mesh_msg_ctx_t ctx; ... | 3,236 |
/*
*/
#ifndef _ESP_BLE_MESH_RPR_MODEL_API_H_
#define _ESP_BLE_MESH_RPR_MODEL_API_H_
#include "esp_ble_mesh_defs.h"
#ifdef __cplusplus
extern "C" {
#endif
#define ESP_BLE_MESH_MODEL_OP_RPR_SCAN_CAPS_GET ESP_BLE_MESH_MODEL_OP_2(0x80, 0x4F)
#define ESP_BLE_MESH_MODEL_OP_RPR_SCAN_CAPS_STATUS ESP_BLE_MESH_... | 3,237 |
< Maximum number of scanned items to be reported */
uint8_t timeout; /*!< Time limit for a scan (in seconds) */
bool uuid_en; /*!< Indicate if Device UUID is present */
uint8_t uuid[16]; /*!< Device U... | 3,237 |
< Indicate if Device UUID is present */
uint8_t uuid[16]; /*!< Device UUID (Optional) */
bool timeout_en; /*!< Indicate if Link open timeout is present */
uint8_t timeout; /*!< Link open timeout in secon... | 3,237 |
< For ESP_BLE_MESH_MODEL_OP_RPR_LINK_CLOSE */
} esp_ble_mesh_rpr_client_msg_t;
/** This enum value is the action of Remote Provisioning Client model */
typedef enum {
ESP_BLE_MESH_RPR_CLIENT_ACT_START_RPR,
ESP_BLE_MESH_RPR_CLIENT_ACT_MAX,
} esp_ble_mesh_rpr_client_act_type_t;
/** Parameters of starting remote... | 3,237 |
< Indication if active scan is supported */
} esp_ble_mesh_rpr_scan_caps_status_t;
/** Parameters of Remote Provisioning Scan Status */
typedef struct {
uint8_t status; /*!< Status for the requesting message */
uint8_t rpr_scanning; /*!< The Rem... | 3,237 |
< URI Hash (Optional) */
} esp_ble_mesh_rpr_scan_report_t;
/** Parameters of Remote Provisioning Extended Scan Report */
typedef struct {
uint8_t status; /*!< Status for the requesting message */
uint8_t uuid[16]; /*!< Device UUID */
bo... | 3,237 |
< Status of the provisioning bearer or the NPPI */
uint8_t rpr_state; /*!< Remote Provisioning Link state */
bool reason_en; /*!< Indicate if Link close Reason code is present */
uint8_t reason; /*!< Lin... | 3,237 |
< For ESP_BLE_MESH_MODEL_OP_RPR_LINK_REPORT */
} esp_ble_mesh_rpr_client_recv_cb_t;
/** This enum value is the event type of the performed action */
typedef enum {
ESP_BLE_MESH_START_RPR_COMP_SUB_EVT,
} esp_ble_mesh_rpr_client_act_evt_t;
/** Remote Provisioning Client model callback parameters */
typedef union {
... | 3,237 |
< Event type of the performed action */
/**
*/
struct {
int err_code; /*!< Result of starting remote provisioning */
esp_ble_mesh_model_t *model; /*!< Pointer of Remote Provisioning Client */
uint16_t rpr_srv_addr;... | 3,237 |
< Pointer of Remote Provisioning Client */
uint16_t rpr_srv_addr; /*!< Unicast address of Remote Provisioning Server */
uint8_t reason; /*!< Reason of closing provisioning link */
} link_close; /*!< Event ... | 3,237 |
< Element number */
uint16_t net_idx; /*!< NetKey Index */
} prov; /*!< Event parameters of ESP_BLE_MESH_RPR_CLIENT_PROV_COMP_EVT */
} esp_ble_mesh_rpr_client_cb_param_t; /*!< Remote Provisioning Client model callbac... | 3,237 |
< Maximum number of scanned items to be reported */
uint8_t timeout; /*!< Time limit for a scan (in seconds) */
uint8_t uuid[16]; /*!< Device UUID (All ZERO if not present) */
uint16_t net_idx; /*!< NetKey... | 3,237 |
< Pointer to the server model structure */
uint8_t ad_type_filter_count; /*!< Number of AD Types in the ADTypeFilter field */
uint8_t *ad_type_filter; /*!< List of AD Types to be reported */
uint8_t uuid[16]; /*!< Device UUID... | 3,237 |
< Time limit for extended scan (in seconds) */
uint8_t index; /*!< Index of the extended scan instance */
uint16_t net_idx; /*!< NetKey Index used by Remote Provisioning Client */
uint16_t rpr_cli_addr; /*!< ... | 3,237 |
< Unicast address of Remote Provisioning Client */
} link_open;
/**
*/
struct {
esp_ble_mesh_model_t *model; /*!< Pointer to the server model structure */
uint8_t uuid[16]; /*!< Device UUID (ZERO if not present)*/
uint8_t nppi; ... | 3,237 |
< Device UUID (ZERO if not present)*/
uint8_t nppi; /*!< Provisioning bearer link close reason code */
uint16_t net_idx; /*!< NetKey Index used by Remote Provisioning Client */
uint16_t rpr_cli_addr; /*!< Un... | 3,237 |
/*
*/
#ifndef _ESP_BLE_MESH_CM_DATA_API_H_
#define _ESP_BLE_MESH_CM_DATA_API_H_
#include
#ifdef __cplusplus
extern "C" {
#endif
/*!< Definitions of the format of Extended_Model_Items indicator */
#define ESP_BLE_MESH_MODEL_ITEM_SHORT 0
#define ESP_BLE_MESH_MODEL_ITEM_LONG 1
/* The value of the Element_Offse... | 3,238 |
< Extended Model Item long format */
};
} esp_ble_mesh_extended_model_item_t; /*!< Format of Extended Model Item */
/** Format of Model Item */
typedef struct {
uint8_t corresponding_present:1, /*!< Corresponding_Group_ID field indicator */
format:1, ... | 3,238 |
< A count of Vendor Models Items in this element */
esp_ble_mesh_model_item_t *const model_items_s; /*!< A sequence of "num_s" SIG Model Items */
esp_ble_mesh_model_item_t *const model_items_v; /*!< A sequence of "num_v" Vendor Model Items */
} esp_ble_mesh_comp_1_elem_t; /*!< Format of e... | 3,238 |
< Format of Metadata entry */
/** Format of Metadata item */
typedef struct {
/** Union of model ID */
union {
uint16_t model_id; /*!< Model ID */
/** Vendor model identifier */
struct {
uint16_t company_id; /*!< Company ID */
uint16_t... | 3,238 |
< List of metadata items for SIG models in the element */
esp_ble_mesh_metadata_item_t *const metadata_items_v; /*!< List of metadata items for Vendor models in the element */
} esp_ble_mesh_metadata_elem_t; /*!< Format of Metadata element of Models Metadata Page 0/128 */
/** Format o... | 3,238 |
/*
*/
#ifndef _ESP_BLE_MESH_PRB_MODEL_API_H_
#define _ESP_BLE_MESH_PRB_MODEL_API_H_
#include "esp_ble_mesh_defs.h"
#ifdef __cplusplus
extern "C" {
#endif
#define ESP_BLE_MESH_MODEL_OP_PRIV_BEACON_GET ESP_BLE_MESH_MODEL_OP_2(0x80, 0x60)
#define ESP_BLE_MESH_MODEL_OP_PRIV_BEACON_SET ESP_B... | 3,239 |
< Pointer to Private Beacon Server Model */
uint8_t private_beacon; /*!< Value of Private Beacon state */
uint8_t random_update_interval; /*!< Value of Random Update Interval Steps state */
uint8_t private_gatt_proxy; /*!< Value of Pri... | 3,239 |
< Index of the NetKey */
} esp_ble_mesh_priv_node_id_get_t;
/** Parameter of Private node identity Set */
typedef struct {
uint16_t net_idx; /*!< Index of the NetKey */
uint8_t private_node_id; /*!< New Private Node Identity state */
} esp_ble_mesh_p... | 3,239 |
< Current value of the Random Update Interval Steps state */
} esp_ble_mesh_priv_beacon_status_cb_t;
/** Parameter of Private GATT Proxy Status */
typedef struct {
uint8_t private_gatt_proxy; /*!< Private GATT Proxy state */
} esp_ble_mesh_priv_gatt_proxy_status_cb_t;
/** Parameters of Pri... | 3,239 |
< The private node identity status value */
} esp_ble_mesh_prb_client_recv_cb_t;
/** Result of sending Bridge Configuration Client messages */
typedef struct {
int err_code; /*!< Result of sending a message */
} esp_ble_mesh_prb_client_send_cb_t;
/** Mesh Private Beacon Clien... | 3,239 |
*/
typedef struct {
uint8_t private_beacon; /*!< Private Beacon state */
bool is_effect; /*!< Decide whether update_interval effect */
uint8_t update_interval; /*!< Random Update Interval Steps state */
} esp_ble_mes... | 3,239 |
< Private GATT Proxy Set */
esp_ble_mesh_state_change_priv_node_id_set_t priv_node_id_set; /*!< Private Node Identity Set */
} esp_ble_mesh_prb_server_state_change_t;
/**
*/
typedef union {
esp_ble_mesh_prb_server_state_change_t state_change; /*!< ESP_BLE_MESH_PRB_SERVER_STATE_CHANGE_EVT */
} esp_... | 3,239 |
/*
*/
#ifndef _ESP_BLE_MESH_SAR_MODEL_API_H_
#define _ESP_BLE_MESH_SAR_MODEL_API_H_
#include "esp_ble_mesh_defs.h"
#ifdef __cplusplus
extern "C" {
#endif
#define ESP_BLE_MESH_MODEL_OP_SAR_TRANSMITTER_GET ESP_BLE_MESH_MODEL_OP_2(0x80, 0x6C)
#define ESP_BLE_MESH_MODEL_OP_SAR_TRANSMITTER_SET ESP_BLE_MESH_... | 3,240 |
< Pointer to SAR Configuration Server model */
} esp_ble_mesh_sar_srv_t;
/** Parameters of SAR Transmitter Set */
typedef struct {
uint8_t sar_segment_interval_step:4, /*!< SAR Segment Interval Step state value */
sar_unicast_retrans_count:4; /*!< SAR Unicast Retra... | 3,240 |
< SAR Segments Threshold state */
sar_ack_delay_increment:3; /*!< SAR Acknowledgment Delay Increment state */
uint8_t sar_discard_timeout:4, /*!< SAR Discard Timeout state */
sar_receiver_segment_interval_step:4; /*!< SAR Receiver Segme... | 3,240 |
< SAR Unicast Retransmissions Count state */
uint8_t sar_unicast_retrans_without_progress_count:4, /*!< SAR Unicast Retransmissions Without Progress Count state */
sar_unicast_retrans_interval_step:4; /*!< SAR Unicast Retransmissions Interval Step state */
uint8_t sar_unicast_retrans_in... | 3,240 |
< SAR Receiver Segment Interval Step state */
uint8_t sar_ack_retrans_count:4; /*!< SAR Acknowledgment Retransmissions Count state */
} esp_ble_mesh_sar_receiver_status_t;
/** Result of sending SAR Configuration Client messages */
typedef struct {
int err_code; /*!< Result of sending a m... | 3,240 |
< Parameters of received status message */
};
} esp_ble_mesh_sar_client_cb_param_t; /*!< SAR Configuration Client model callback parameters */
/** This enum value is the event of SAR Configuration Client model */
typedef enum {
ESP_BLE_MESH_SAR_CLIENT_SEND_COMP_EVT,
ESP_BLE_MESH_SAR_C... | 3,240 |
< Context of the received message */
esp_ble_mesh_sar_server_cb_value_t value; /*!< Value of the received configuration messages */
} esp_ble_mesh_sar_server_cb_param_t;
/** This enum value is the event of SAR Configuration Server model */
typedef enum {
ESP_BLE_MESH_SAR_SERVER_STATE_CHANGE_EVT,
... | 3,240 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.