text
stringlengths
1
9.98k
__index_level_0__
int64
0
4.17k
/* constants.h - TinyCrypt interface to constants */ /* */ /** #ifndef __BLE_MESH_TC_CONSTANTS_H__ #define __BLE_MESH_TC_CONSTANTS_H__ #ifdef __cplusplus extern "C" { #endif #include #ifndef NULL #define NULL ((void *)0) #endif #define TC_CRYPTO_SUCCESS 1 #define TC_CRYPTO_FAIL 0 #define TC_ZERO_BYTE 0x00 #i...
3,266
/* hmac.h - TinyCrypt interface to an HMAC implementation */ /* */ /** */ #ifndef __BLE_MESH_TC_HMAC_H__ #define __BLE_MESH_TC_HMAC_H__ #include #ifdef __cplusplus extern "C" { #endif struct tc_hmac_state_struct { /* the internal state required by h */ struct tc_sha256_state_struct hash_state; /* H...
3,267
/* aes.h - TinyCrypt interface to an AES-128 implementation */ /* */ /** */ #ifndef __BLE_MESH_TC_AES_H__ #define __BLE_MESH_TC_AES_H__ #include #ifdef __cplusplus extern "C" { #endif #define Nb (4) /* number of columns (32-bit words) comprising the state */ #define Nk (4) /* number of 32-bit words comprisin...
3,268
/* cmac_mode.h -- interface to a CMAC implementation */ /* */ /** */ #ifndef __BLE_MESH_TC_CMAC_MODE_H__ #define __BLE_MESH_TC_CMAC_MODE_H__ #include #include #ifdef __cplusplus extern "C" { #endif /* padding for last message block */ #define TC_CMAC_PADDING 0x80 /* struct tc_cmac_struct represents the sta...
3,269
/* ecc.h - TinyCrypt interface to common ECC functions */ /* Copyright (c) 2014, Kenneth MacKay */ /* */ /** #ifndef __BLE_MESH_TC_UECC_H__ #define __BLE_MESH_TC_UECC_H__ #include #ifdef __cplusplus extern "C" { #endif /* Word size (4 bytes considering 32-bits architectures) */ #define uECC_WORD_SIZE 4 /* se...
3,270
g. p256):*/ struct uECC_Curve_t; typedef const struct uECC_Curve_t *uECC_Curve; struct uECC_Curve_t { wordcount_t num_words; wordcount_t num_bytes; bitcount_t num_n_bits; uECC_word_t p[NUM_ECC_WORDS]; uECC_word_t n[NUM_ECC_WORDS]; uECC_word_t G[NUM_ECC_WORDS * 2]; uECC_word_t b[NUM_ECC_WORDS...
3,270
/* uECC_platform_specific.h - Interface to platform specific functions*/ /* Copyright (c) 2014, Kenneth MacKay /* */ #ifndef __BLE_MESH_UECC_PLATFORM_SPECIFIC_H_ #define __BLE_MESH_UECC_PLATFORM_SPECIFIC_H_ /* */ #define default_RNG_defined 0 int default_CSPRNG(uint8_t *dest, unsigned int size); #endif /* __BLE...
3,271
/* ecc_dh.h - TinyCrypt interface to EC-DSA implementation */ /* */ /* */ /** */ #ifndef __BLE_MESH_TC_ECC_DSA_H__ #define __BLE_MESH_TC_ECC_DSA_H__ #include #ifdef __cplusplus extern "C" { #endif /** */ int uECC_sign(const uint8_t *p_private_key, const uint8_t *p_message_hash, unsigned p_hash...
3,272
/* */ #ifndef _BLE_MESH_v11_UTILS_H_ #define _BLE_MESH_v11_UTILS_H_ #include #include #include "mesh/buf.h" #include "net.h" #include "prov_common.h" #include "proxy_server.h" #include "mesh/adapter.h" #ifdef __cplusplus extern "C" { #endif int bt_mesh_v11_init(const void *cfg, size_t cfg_size, ...
3,273
/* */ #ifndef _ESP_BLE_MESH_DEFS_H_ #define _ESP_BLE_MESH_DEFS_H_ #include #include "mesh/config.h" #include "mesh/common.h" #include "proxy_server.h" #include "pvnr_mgmt.h" #ifdef __cplusplus extern "C" { #endif /*!= 0xC000 && (addr) = 0x8000 && (addr) = 0xFF00 && (addr) > 3) + 1) * 10) /** @def ESP_BLE_MESH_P...
3,274
< This enum value is provisioning authentication oob method */ typedef enum { ESP_BLE_MESH_NO_OOB, ESP_BLE_MESH_STATIC_OOB, ESP_BLE_MESH_OUTPUT_OOB, ESP_BLE_MESH_INPUT_OOB, } esp_ble_mesh_oob_method_t; /*!< This enum value is associated with bt_mesh_output_action_t in mesh_main.h */ typedef enum { ...
3,274
h */ typedef enum { ESP_BLE_MESH_PROV_ADV = BIT(0), ESP_BLE_MESH_PROV_GATT = BIT(1), } esp_ble_mesh_prov_bearer_t; /*!< This enum value is associated with bt_mesh_prov_oob_info_t in mesh_main.h */ typedef enum { ESP_BLE_MESH_PROV_OOB_OTHER = BIT(0), ESP_BLE_MESH_PROV_OOB_URI = BIT(1), ...
3,274
< Maximum length of string used by Output OOB authentication */ #define ESP_BLE_MESH_PROV_OUTPUT_OOB_MAX_LEN 8 /*!< Maximum length of string used by Output OOB authentication */ #define ESP_BLE_MESH_PROV_INPUT_OOB_MAX_LEN 8 /*!< Macros used to define message opcode */ #define ESP_BLE_MESH_MODEL_OP_1(b0) ...
3,274
user_data = _user_data, \ } /*!< This macro is associated with BLE_MESH_MODEL_VND_CB in mesh_access.h */ #define ESP_BLE_MESH_VENDOR_MODEL(_company, _id, _op, _pub, _user_data) \ { \ .vnd = { ...
3,274
*/ #define ESP_BLE_MESH_ELEMENT(_loc, _mods, _vnd_mods) \ { \ .location = (_loc), \ .sig_model_count = ARRAY_SIZE(_mods), \ .vnd_model_count = ARRAY_SIZE(_vnd_mods), \ .sig_models = (...
3,274
< Indicate if erasing flash when deinit mesh stack */ } esp_ble_mesh_deinit_param_t; /** Format of Unicast Address Range */ typedef struct { uint16_t len_present:1, /*!< Indicate the presence or absence of the RangeLength field */ range_start:15; /*!< 15 least significant bits of the starting u...
3,274
*/ typedef struct { /** Pointer to the model to which the context belongs. Initialized by the stack. */ esp_ble_mesh_model_t *model; uint16_t publish_addr; /*!< Publish Address. */ uint16_t app_idx:12, /*!< Publish AppKey Index. */ cred:1, /*!< Friendship Credentials Flag. */ ...
3,274
*/ struct net_buf_simple *msg; /** Callback used to update publish message. Initialized by the stack. */ esp_ble_mesh_cb_t update; /** Publish Period Timer. Initialized by the stack. */ struct k_delayed_work timer; /** Role of the device that is going to publish messages */ uint8_t ...
3,274
< Message opcode */ const size_t min_len; /*!< Message minimum length */ esp_ble_mesh_cb_t param_cb; /*!< Callback used to handle message. Initialized by the stack. */ } esp_ble_mesh_model_op_t; /** Define the terminator for the model operation table. */ #define ESP_BLE_MESH_MODEL_OP_END {0, 0, 0} /** ...
3,274
< 16-bit model identifier */ } vnd; /*!< Structure encapsulating a model ID with a company ID */ }; /** Internal information, mainly for persistent storage */ uint8_t element_idx; /*!< Belongs to Nth element */ uint8_t model_idx; /*!< Is the Nth model in the element */ uint16_t flag...
3,274
*/ typedef struct { /** NetKey Index of the subnet through which to send the message. */ uint16_t net_idx; /** AppKey Index for message encryption. */ uint16_t app_idx; /** Remote address. */ uint16_t addr; /** Destination address of a received message. Not used for sending. */ uint...
3,274
*/ uint8_t send_ttl; /** Security credentials used for sending the message */ uint8_t send_cred; /** Tag used for sending the message. */ uint8_t send_tag; /** Model corresponding to the message, no need to be initialized before sending message */ esp_ble_mesh_model_t *model __attribu...
3,274
Initialized by the stack. */ esp_ble_mesh_cb_t oob_pub_key_cb; /** OOB type */ uint8_t oob_type; /** Static OOB value */ const uint8_t *static_val; /** Static OOB value length */ uint8_t static_val_len; /** Maximum size of Output OOB supported */ uint8_t outp...
3,274
Initialized by the stack. */ esp_ble_mesh_cb_t link_close_cb; /** Callback used to indicate that provisioning is completed. Initialized by the stack. */ esp_ble_mesh_cb_t complete_cb; /** Callback used to indicate that node has been reset. Initialized by the stack. */ esp_ble_mesh_cb_t reset_cb;...
3,274
Initialized by the stack. */ esp_ble_mesh_cb_t provisioner_prov_read_oob_pub_key; /* NOTE: The Bluetooth SIG recommends that mesh implementations enforce a randomly */ /** Provisioner static oob value */ uint8_t *prov_static_oob_val; /** Provisioner static oob value length */ uint8...
3,274
Initialized by the stack. */ esp_ble_mesh_cb_t provisioner_prov_comp; /** Callback used to indicate that certificate based provisioning needs to start. Initialized by the stack. */ esp_ble_mesh_cb_t cert_based_prov_start; /** Callback used to indicate that provisioner has received provisioning record...
3,274
< A sequence of elements */ } esp_ble_mesh_comp_t; /*!< This enum value is the role of the device */ typedef enum { ROLE_NODE = 0, ROLE_PROVISIONER, ROLE_FAST_PROV, } esp_ble_mesh_dev_role_t; /*!< Flag which will be set when device is going to be added. */ typedef uint8_t esp_ble_mesh_dev_add_flag_t; #def...
3,274
< ADD_DEV_START_PROV_NOW_FLAG shall not be set if the bearer has both PB-ADV and PB-GATT enabled */ esp_ble_mesh_prov_bearer_t bearer; /*!< Provisioning Bearer */ } esp_ble_mesh_unprov_dev_add_t; #define DEL_DEV_ADDR_FLAG BIT(0) #define DEL_DEV_UUID_FLAG BIT(1) /** Information of the device which is going to be d...
3,274
< NetKey Index */ uint8_t flags; /*!< Flags */ uint32_t iv_index; /*!< IV Index */ }; uint8_t flag; /*!< BIT0: net_idx; BIT1: flags; BIT2: iv_index */ } esp_ble_mesh_prov_data_info_t; /** Information of the provisioned node */ typedef struct { /* Device information */ es...
3,274
< Node name */ uint16_t comp_length; /*!< Length of Composition Data */ uint8_t *comp_data; /*!< Value of Composition Data */ } __attribute__((packed)) esp_ble_mesh_node_t; /** Context of fast provisioning which need to be set. */ typedef struct { uint16_t unicast_min; /*!< Minimum unicast address us...
3,274
< This enum value is the type of proxy filter */ typedef enum { PROXY_FILTER_WHITELIST, PROXY_FILTER_BLACKLIST, } esp_ble_mesh_proxy_filter_type_t; /*!< Provisioner heartbeat filter type */ #define ESP_BLE_MESH_HEARTBEAT_FILTER_ACCEPTLIST 0x00 #define ESP_BLE_MESH_HEARTBEAT_FILTER_REJECTLIST 0x01 /*!< P...
3,274
< Set the unprovisioned device name completion event */ ESP_BLE_MESH_NODE_PROV_ENABLE_COMP_EVT, /*!< Enable node provisioning functionality completion event */ ESP_BLE_MESH_NODE_PROV_DISABLE_COMP_EVT, /*!< Disable node provisioning functionality completion event */ ESP...
3,274
< Provisioning done event */ ESP_BLE_MESH_NODE_PROV_RESET_EVT, /*!< Provisioning reset event */ ESP_BLE_MESH_NODE_PROV_SET_OOB_PUB_KEY_COMP_EVT, /*!< Node set oob public key completion event */ ESP_BLE_MESH_NODE_PROV_INPUT_NUMBER_COMP_EVT, /*!< Node input n...
3,274
< Disable BLE Mesh GATT Proxy Service completion event */ ESP_BLE_MESH_NODE_ADD_LOCAL_NET_KEY_COMP_EVT, /*!< Node add NetKey locally completion event */ ESP_BLE_MESH_NODE_ADD_LOCAL_APP_KEY_COMP_EVT, /*!< Node add AppKey locally completion event */ ESP_BLE_MESH_NODE_BIND_APP_KEY_T...
3,274
< Provisioner input value for provisioning procedure event */ ESP_BLE_MESH_PROVISIONER_PROV_OUTPUT_EVT, /*!< Provisioner output value for provisioning procedure event */ ESP_BLE_MESH_PROVISIONER_PROV_LINK_OPEN_EVT, /*!< Provisioner establish a BLE Mesh link event */ ESP_BLE_...
3,274
< Provisioner send provisioning record request to device event */ ESP_BLE_MESH_PROVISIONER_SEND_PROV_INVITE_EVT, /*!< Provisioner send provisioning invite to device event */ ESP_BLE_MESH_PROVISIONER_SEND_LINK_CLOSE_EVT, /*!< Provisioner send link close to device event */ ESP_BLE_M...
3,274
< Provisioner set net_idx/flags/iv_index used for provisioning completion event */ ESP_BLE_MESH_PROVISIONER_SET_STATIC_OOB_VALUE_COMP_EVT, /*!< Provisioner set static oob value used for provisioning completion event */ ESP_BLE_MESH_PROVISIONER_SET_PRIMARY_ELEM_ADDR_COMP_EVT, /*!< Provisioner set unicast ...
3,274
< Provisioner update local app key completion event */ ESP_BLE_MESH_PROVISIONER_BIND_APP_KEY_TO_MODEL_COMP_EVT, /*!< Provisioner bind local model with local app key completion event */ ESP_BLE_MESH_PROVISIONER_ADD_LOCAL_NET_KEY_COMP_EVT, /*!< Provisioner add local network key completion event */ E...
3,274
< Provisioner set the heartbeat filter type completion event */ ESP_BLE_MESH_PROVISIONER_SET_HEARTBEAT_FILTER_INFO_COMP_EVT, /*!< Provisioner set the heartbeat filter information completion event */ ESP_BLE_MESH_PROVISIONER_RECV_HEARTBEAT_MESSAGE_EVT, /*!< Provisioner receive heartbeat message event */ ...
3,274
< Provisioner delete settings with index completion event */ ESP_BLE_MESH_PROVISIONER_DELETE_SETTINGS_WITH_UID_COMP_EVT, /*!< Provisioner delete settings with user id completion event */ ESP_BLE_MESH_SET_FAST_PROV_INFO_COMP_EVT, /*!< Set fast provisioning information (e.g. unicast address ...
3,274
< Low Power Node terminates friendship event */ ESP_BLE_MESH_FRIEND_FRIENDSHIP_ESTABLISH_EVT, /*!< Friend Node establishes friendship event */ ESP_BLE_MESH_FRIEND_FRIENDSHIP_TERMINATE_EVT, /*!< Friend Node terminates friendship event */ ESP_BLE_MESH_PROXY_CLIENT_RECV_ADV_PKT_EVT,...
3,274
< Proxy Client set filter type completion event */ ESP_BLE_MESH_PROXY_CLIENT_ADD_FILTER_ADDR_COMP_EVT, /*!< Proxy Client add filter address completion event */ ESP_BLE_MESH_PROXY_CLIENT_REMOVE_FILTER_ADDR_COMP_EVT, /*!< Proxy Client remove filter address completion event */ ESP_BLE_MESH_PROXY_C...
3,274
< De-initialize BLE Mesh stack completion event */ ESP_BLE_MESH_PROV_EVT_MAX, } esp_ble_mesh_prov_cb_event_t; /** */ typedef union { /** */ struct ble_mesh_prov_register_comp_param { int err_code; /*!< Indicate the result of BLE Mesh initialization */ } prov_regi...
3,274
< Indicate the result of disabling BLE Mesh device */ } node_prov_disable_comp; /*!< Event parameter of ESP_BLE_MESH_NODE_PROV_DISABLE_COMP_EVT */ /** */ struct ble_mesh_link_open_evt_param { esp_ble_mesh_prov_bearer_t bearer; /*!< Type of the bearer used when device link...
3,274
< Number of Output OOB Authentication */ } node_prov_output_num; /*!< Event parameter of ESP_BLE_MESH_NODE_PROV_OUTPUT_NUMBER_EVT */ /** */ struct ble_mesh_output_str_evt_param { char string[8]; /*!< String of Output OOB Authentication */ } node_...
3,274
< Primary address */ uint8_t flags; /*!< Flags */ uint32_t iv_index; /*!< IV Index */ } node_prov_complete; /*!< Event parameter of ESP_BLE_MESH_NODE_PROV_COMPLETE_EVT */ /** */ struct ble_mesh_provision_reset_param { ...
3,274
< Indicate the result of inputting string */ } node_prov_input_str_comp; /*!< Event parameter of ESP_BLE_MESH_NODE_PROV_INPUT_STR_COMP_EVT */ /** */ struct ble_mesh_proxy_identity_enable_comp_param { int err_code; /*!< Indicate the result of enabling Me...
3,274
< Indicate the result of enabling Mesh Proxy private advertising */ } node_private_proxy_identity_enable_comp; /*!< Event parameter of ESP_BLE_MESH_NODE_PRIVATE_PROXY_IDENTITY_ENABLE_COMP_EVT */ /** */ struct ble_mesh_proxy_private_identity_disable_comp_param { int err_code; ...
3,274
< Indicate the result of adding local AppKey by the node */ uint16_t net_idx; /*!< NetKey Index */ uint16_t app_idx; /*!< AppKey Index */ } node_add_app_key_comp; /*!< Event parameter of ESP_BLE_MESH_NODE_ADD_LOCAL_APP_KEY_COMP_EVT */ ...
3,274
< Device UUID of the unprovisioned device */ esp_ble_mesh_bd_addr_t addr; /*!< Device address of the unprovisioned device */ esp_ble_mesh_addr_type_t addr_type; /*!< Device address type */ uint16_t oob_info; /*!< OOB Info of the unprovisioned device */ ...
3,274
< Indicate the result of disabling BLE Mesh Provisioner */ } provisioner_prov_disable_comp; /*!< Event parameter of ESP_BLE_MESH_PROVISIONER_PROV_DISABLE_COMP_EVT */ /** */ struct ble_mesh_provisioner_link_open_evt_param { esp_ble_mesh_prov_bearer_t bearer; /*!< Type of the bear...
3,274
< Size of device Output OOB Authentication */ uint8_t link_idx; /*!< Index of the provisioning link */ } provisioner_prov_input; /*!< Event parameter of ESP_BLE_MESH_PROVISIONER_PROV_INPUT_EVT */ /** */ struct ble_mesh_provisioner_prov_output_evt_param { ...
3,274
< Type of the bearer used when Provisioner link is closed */ uint8_t reason; /*!< Reason of the closed provisioning link */ } provisioner_prov_link_close; /*!< Event parameter of ESP_BLE_MESH_PROVISIONER_PROV_LINK_CLOSE_EVT */ /** */ struct ble_mesh_provisio...
3,274
< Index of the provisioning link */ } provisioner_cert_based_prov_start; /*!< Event parameter of ESP_BLE_MESH_PROVISIONER_CERT_BASED_PROV_START_EVT */ /** */ struct ble_mesh_provisioner_recv_prov_records_list_evt_param { uint16_t link_idx; /*!< Index of the provision...
3,274
< Identifies the provisioning record for which the request is made */ uint16_t frag_offset; /*!< The starting offset of the requested fragment in the provisioning record data */ uint16_t total_len; /*!< Total length of the provisioning record data stored on the Prov...
3,274
< Indicate the result of send Provisioning Record Request message */ uint16_t link_idx; /*!< Index of the provisioning link */ uint16_t record_id; /*!< Identifies the provisioning record for which the request is made */ uint16_t frag_offset; ...
3,274
< Event parameter of ESP_BLE_MESH_PROVISIONER_SEND_PROV_INVITE_EVT */ /** */ struct ble_mesh_provisioner_send_link_close_evt_param { uint16_t link_idx; /*!< Index of the provisioning link */ int err_code; /*!< Indicate the result of send Link C...
3,274
< Event parameter of ESP_BLE_MESH_PROVISIONER_PROV_DEV_WITH_ADDR_COMP_EVT */ /** */ struct ble_mesh_provisioner_delete_dev_comp_param { int err_code; /*!< Indicate the result of deleting device by the Provisioner */ } provisioner_delete_dev_comp; /*!< Even...
3,274
< Indicate the result of setting static oob value by the Provisioner */ } provisioner_set_static_oob_val_comp; /*!< Event parameter of ESP_BLE_MESH_PROVISIONER_SET_STATIC_OOB_VALUE_COMP_EVT */ /** */ struct ble_mesh_provisioner_set_primary_elem_addr_comp_param { int err_code; ...
3,274
< Indicate the result of inputting number by the Provisioner */ } provisioner_prov_input_num_comp; /*!< Event parameter of ESP_BLE_MESH_PROVISIONER_PROV_INPUT_NUMBER_COMP_EVT */ /** */ struct ble_mesh_provisioner_prov_input_str_comp_param { int err_code; /*!< ...
3,274
< Indicate the result of adding local AppKey by the Provisioner */ uint16_t net_idx; /*!< NetKey Index */ uint16_t app_idx; /*!< AppKey Index */ } provisioner_add_app_key_comp; /*!< Event parameter of ESP_BLE_MESH_PROVISIONER_ADD_LOCAL_APP_KEY_...
3,274
< Element address */ uint16_t app_idx; /*!< AppKey Index */ uint16_t company_id; /*!< Company ID */ uint16_t model_id; /*!< Model ID */ } provisioner_bind_app_key_to_model_comp; /*!< Event parameter of ESP_BLE_MESH_PROVISIONER_B...
3,274
< Event parameter of ESP_BLE_MESH_PROVISIONER_UPDATE_LOCAL_NET_KEY_COMP_EVT */ /** */ struct ble_mesh_provisioner_store_node_comp_data_comp_param { int err_code; /*!< Indicate the result of storing node composition data by the Provisioner */ uint16_t addr; ...
3,274
< Indicate the result of deleting node with unicast address by the Provisioner */ uint16_t unicast_addr; /*!< Node unicast address */ } provisioner_delete_node_with_addr_comp; /*!< Event parameter of ESP_BLE_MESH_PROVISIONER_DELETE_NODE_WITH_ADDR_COMP_EVT */ /** */ struct { ...
3,274
< Event parameters of ESP_BLE_MESH_PROVISIONER_SET_HEARTBEAT_FILTER_TYPE_COMP_EVT */ /** */ struct { int err_code; /*!< Indicate the result of setting the heartbeat filter address by the Provisioner */ uint8_t op; /*!< Operation ...
3,274
< Bit field of currently active features of the node */ int8_t rssi; /*!< RSSI of the heartbeat message */ } provisioner_recv_heartbeat; /*!< Event parameters of ESP_BLE_MESH_PROVISIONER_RECV_HEARTBEAT_MESSAGE_EVT */ /** */ struct { int err_code; ...
3,274
< Indicate the result of opening settings with user id by the Provisioner */ uint8_t index; /*!< Index of Provisioner settings */ char uid[ESP_BLE_MESH_SETTINGS_UID_SIZE + 1]; /*!< Provisioner settings user id */ } provisioner_open_settings_with_uid_comp; ...
3,274
< Index of Provisioner settings */ char uid[ESP_BLE_MESH_SETTINGS_UID_SIZE + 1]; /*!< Provisioner settings user id */ } provisioner_close_settings_with_uid_comp; /*!< Event parameters of ESP_BLE_MESH_PROVISIONER_CLOSE_SETTINGS_WITH_UID_COMP_EVT */ /** */ struct { int err_code;...
3,274
< Event parameters of ESP_BLE_MESH_PROVISIONER_DELETE_SETTINGS_WITH_UID_COMP_EVT */ /** */ struct ble_mesh_set_fast_prov_info_comp_param { uint8_t status_unicast; /*!< Indicate the result of setting unicast address range of fast provisioning */ uint8_t status_net_idx; ...
3,274
< Heartbeat hops (InitTTL - RxTTL + 1) */ uint16_t feature; /*!< Bit field of currently active features of the node */ } heartbeat_msg_recv; /*!< Event parameter of ESP_BLE_MESH_HEARTBEAT_MESSAGE_RECV_EVT */ /** */ struct ble_mesh_lpn_enable_comp_para...
3,274
< Event parameter of ESP_BLE_MESH_LPN_POLL_COMP_EVT */ /** */ struct ble_mesh_lpn_friendship_establish_param { uint16_t friend_addr; /*!< Friend Node unicast address */ } lpn_friendship_establish; /*!< Event parameter of ESP_BLE_MESH_LPN_FRIENDSHIP_ESTABLISH_EV...
3,274
< Friend Offer has been sent, but Friend Offer is not received within 1 second, friendship fails to be established */ ESP_BLE_MESH_FRND_FRIENDSHIP_TERMINATE_POLL_TIMEOUT, /*!< Friendship is established, PollTimeout timer expires and no Friend Poll/Sub Add/Sub Remove is received */ ESP_BLE_MES...
3,274
< Device address */ esp_ble_mesh_addr_type_t addr_type; /*!< Device address type */ uint16_t net_idx; /*!< Network ID related NetKey Index */ uint8_t net_id[8]; /*!< Network ID contained in the advertising packet */ int8_t rssi; ...
3,274
< Device address of the Proxy Server */ esp_ble_mesh_addr_type_t addr_type; /*!< Device address type */ uint8_t conn_handle; /*!< Proxy connection handle */ uint16_t net_idx; /*!< Corresponding NetKey Index */ uint8_t reason; ...
3,274
< Event parameter of ESP_BLE_MESH_PROXY_CLIENT_RECV_FILTER_STATUS_EVT */ /** */ struct ble_mesh_proxy_client_connect_comp_param { int err_code; /*!< Indicate the result of Proxy Client connect */ esp_ble_mesh_bd_addr_t addr; /*!< Device address of the Pr...
3,274
< Indicate the result of Proxy Client set filter type */ uint8_t conn_handle; /*!< Proxy connection handle */ uint16_t net_idx; /*!< Corresponding NetKey Index */ } proxy_client_set_filter_type_comp; /*!< Event parameter of ESP_BLE_MESH_PROXY_CLIENT_SE...
3,274
< Proxy connection handle */ uint16_t net_idx; /*!< Corresponding NetKey Index */ } proxy_client_remove_filter_addr_comp; /*!< Event parameter of ESP_BLE_MESH_PROXY_CLIENT_REMOVE_FILTER_ADDR_COMP_EVT */ /** */ struct ble_mesh_proxy_client_directed_proxy_set_param { ...
3,274
< Proxy connection handle */ uint8_t reason; /*!< Proxy disconnect reason */ } proxy_server_disconnected; /*!< Event parameter of ESP_BLE_MESH_PROXY_SERVER_DISCONNECTED_EVT */ /** */ struct { int err_code; /*!< Indicate th...
3,274
< Company ID */ uint16_t model_id; /*!< Model ID */ uint16_t group_addr; /*!< Group Address */ } model_sub_group_addr_comp; /*!< Event parameters of ESP_BLE_MESH_MODEL_SUBSCRIBE_GROUP_ADDR_COMP_EVT */ /** */ struct ble_mesh_model_un...
3,274
< Event parameter of ESP_BLE_MESH_DEINIT_MESH_COMP_EVT */ } esp_ble_mesh_prov_cb_param_t; /*!< Event parameters of ESP_BLE_MESH_DEINIT_MESH_COMP_EVT */ /** */ /*!< Foundation Models */ #define ESP_BLE_MESH_MODEL_ID_CONFIG_SRV 0x0000 #define ESP_BLE_MESH_MODEL_ID_CONFIG_CLI ...
3,274
< Models from the Mesh Model Specification */ #define ESP_BLE_MESH_MODEL_ID_GEN_ONOFF_SRV 0x1000 #define ESP_BLE_MESH_MODEL_ID_GEN_ONOFF_CLI 0x1001 #define ESP_BLE_MESH_MODEL_ID_GEN_LEVEL_SRV 0x1002 #define ESP_BLE_MESH_MODEL_ID_GEN_LEVEL_CLI ...
3,274
< Config Beacon Get */ #define ESP_BLE_MESH_MODEL_OP_COMPOSITION_DATA_GET ESP_BLE_MESH_MODEL_OP_2(0x80, 0x08) /*!< Config Composition Data Get */ #define ESP_BLE_MESH_MODEL_OP_DEFAULT_TTL_GET ESP_BLE_MESH_MODEL_OP_2(0x80, 0x0C) /*!< Config Default TTL Get */ #define ESP_BLE_MESH_M...
3,274
< Config Heartbeat Subscription Get */ #define ESP_BLE_MESH_MODEL_OP_NET_KEY_GET ESP_BLE_MESH_MODEL_OP_2(0x80, 0x42) /*!< Config NetKey Get */ #define ESP_BLE_MESH_MODEL_OP_APP_KEY_GET ESP_BLE_MESH_MODEL_OP_2(0x80, 0x01) /*!< Config AppKey Get */ #define ESP_BLE_MESH_...
3,274
< Config Key Refresh Phase Get */ #define ESP_BLE_MESH_MODEL_OP_LPN_POLLTIMEOUT_GET ESP_BLE_MESH_MODEL_OP_2(0x80, 0x2D) /*!< Config Low Power Node PollTimeout Get */ #define ESP_BLE_MESH_MODEL_OP_NETWORK_TRANSMIT_GET ESP_BLE_MESH_MODEL_OP_2(0x80, 0x23) /*!< Config Network Transmit Get...
3,274
< Config Model Publication Set */ #define ESP_BLE_MESH_MODEL_OP_MODEL_SUB_ADD ESP_BLE_MESH_MODEL_OP_2(0x80, 0x1B) /*!< Config Model Subscription Add */ #define ESP_BLE_MESH_MODEL_OP_MODEL_SUB_VIRTUAL_ADDR_ADD ESP_BLE_MESH_MODEL_OP_2(0x80, 0x20) /*!< Config Model Subscription Virtual A...
3,274
< Config NetKey Add */ #define ESP_BLE_MESH_MODEL_OP_APP_KEY_ADD ESP_BLE_MESH_MODEL_OP_1(0x00) /*!< Config AppKey Add */ #define ESP_BLE_MESH_MODEL_OP_MODEL_APP_BIND ESP_BLE_MESH_MODEL_OP_2(0x80, 0x3D) /*!< Config Model App Bind */ #define ESP_BLE_MESH_MODEL_OP_NOD...
3,274
< Config NetKey Delete */ #define ESP_BLE_MESH_MODEL_OP_APP_KEY_UPDATE ESP_BLE_MESH_MODEL_OP_1(0x01) /*!< Config AppKey Update */ #define ESP_BLE_MESH_MODEL_OP_APP_KEY_DELETE ESP_BLE_MESH_MODEL_OP_2(0x80, 0x00) /*!< Config AppKey Delete */ #define ESP_BLE_MESH_MODEL_O...
3,274
< Config Network Transmit Set */ /** */ typedef uint32_t esp_ble_mesh_opcode_config_status_t; #define ESP_BLE_MESH_MODEL_OP_BEACON_STATUS ESP_BLE_MESH_MODEL_OP_2(0x80, 0x0B) #define ESP_BLE_MESH_MODEL_OP_COMPOSITION_DATA_STATUS ESP_BLE_MESH_MODEL_OP_1(0x02) #define ESP_BLE_MESH_...
3,274
< Health Fault Get */ #define ESP_BLE_MESH_MODEL_OP_HEALTH_PERIOD_GET ESP_BLE_MESH_MODEL_OP_2(0x80, 0x34) /*!< Health Period Get */ #define ESP_BLE_MESH_MODEL_OP_ATTENTION_GET ESP_BLE_MESH_MODEL_OP_2(0x80, 0x04) /*!< Health Attention Get */ /** */ typedef uint32_t esp_ble_m...
3,274
< Health Period Set */ #define ESP_BLE_MESH_MODEL_OP_HEALTH_PERIOD_SET_UNACK ESP_BLE_MESH_MODEL_OP_2(0x80, 0x36) /*!< Health Period Set Unacknowledged */ #define ESP_BLE_MESH_MODEL_OP_ATTENTION_SET ESP_BLE_MESH_MODEL_OP_2(0x80, 0x05) /*!< Health Attention Set */ #define ESP_BLE_MES...
3,274
< Generic Level Message Opcode */ #define ESP_BLE_MESH_MODEL_OP_GEN_LEVEL_GET ESP_BLE_MESH_MODEL_OP_2(0x82, 0x05) #define ESP_BLE_MESH_MODEL_OP_GEN_LEVEL_SET ESP_BLE_MESH_MODEL_OP_2(0x82, 0x06) #define ESP_BLE_MESH_MODEL_OP_GEN_LEVEL_SET_UNACK ESP_BLE_ME...
3,274
< Generic Power OnOff Message Opcode */ #define ESP_BLE_MESH_MODEL_OP_GEN_ONPOWERUP_GET ESP_BLE_MESH_MODEL_OP_2(0x82, 0x11) #define ESP_BLE_MESH_MODEL_OP_GEN_ONPOWERUP_STATUS ESP_BLE_MESH_MODEL_OP_2(0x82, 0x12) /*!< Generic Power OnOff Setup Message Opcode */ #define ESP_BLE_MESH_M...
3,274
< Generic Power Level Setup Message Opcode */ #define ESP_BLE_MESH_MODEL_OP_GEN_POWER_DEFAULT_SET ESP_BLE_MESH_MODEL_OP_2(0x82, 0x1F) #define ESP_BLE_MESH_MODEL_OP_GEN_POWER_DEFAULT_SET_UNACK ESP_BLE_MESH_MODEL_OP_2(0x82, 0x20) #define ESP_BLE_MESH_MODEL_OP_GEN_POWER_RANGE_SET ...
3,274
< Generic Location Setup Message Opcode */ #define ESP_BLE_MESH_MODEL_OP_GEN_LOC_GLOBAL_SET ESP_BLE_MESH_MODEL_OP_1(0x41) #define ESP_BLE_MESH_MODEL_OP_GEN_LOC_GLOBAL_SET_UNACK ESP_BLE_MESH_MODEL_OP_1(0x42) #define ESP_BLE_MESH_MODEL_OP_GEN_LOC_LOCAL_SET ESP_BLE_MESH_...
3,274
< Generic Admin Property Message Opcode */ #define ESP_BLE_MESH_MODEL_OP_GEN_ADMIN_PROPERTIES_GET ESP_BLE_MESH_MODEL_OP_2(0x82, 0x2C) #define ESP_BLE_MESH_MODEL_OP_GEN_ADMIN_PROPERTIES_STATUS ESP_BLE_MESH_MODEL_OP_1(0x47) #define ESP_BLE_MESH_MODEL_OP_GEN_ADMIN_PROPERTY_GET ESP_BLE...
3,274
< Generic Client Property Message Opcode */ #define ESP_BLE_MESH_MODEL_OP_GEN_CLIENT_PROPERTIES_GET ESP_BLE_MESH_MODEL_OP_1(0x4F) #define ESP_BLE_MESH_MODEL_OP_GEN_CLIENT_PROPERTIES_STATUS ESP_BLE_MESH_MODEL_OP_1(0x50) /** */ typedef uint32_t esp_ble_mesh_sensor_message_opcode_t; /*!< Sensor Mes...
3,274
< Sensor Setup Message Opcode */ #define ESP_BLE_MESH_MODEL_OP_SENSOR_CADENCE_GET ESP_BLE_MESH_MODEL_OP_2(0x82, 0x34) #define ESP_BLE_MESH_MODEL_OP_SENSOR_CADENCE_SET ESP_BLE_MESH_MODEL_OP_1(0x55) #define ESP_BLE_MESH_MODEL_OP_SENSOR_CADENCE_SET_UNACK ESP_BLE_MESH_MODE...
3,274
< Time Message Opcode */ #define ESP_BLE_MESH_MODEL_OP_TIME_GET ESP_BLE_MESH_MODEL_OP_2(0x82, 0x37) #define ESP_BLE_MESH_MODEL_OP_TIME_SET ESP_BLE_MESH_MODEL_OP_1(0x5C) #define ESP_BLE_MESH_MODEL_OP_TIME_STATUS ESP_BLE_MESH_MODEL_OP_1(0...
3,274
< Scene Message Opcode */ #define ESP_BLE_MESH_MODEL_OP_SCENE_GET ESP_BLE_MESH_MODEL_OP_2(0x82, 0x41) #define ESP_BLE_MESH_MODEL_OP_SCENE_RECALL ESP_BLE_MESH_MODEL_OP_2(0x82, 0x42) #define ESP_BLE_MESH_MODEL_OP_SCENE_RECALL_UNACK ESP_BLE_MESH_MODEL...
3,274
< Scheduler Message Opcode */ #define ESP_BLE_MESH_MODEL_OP_SCHEDULER_ACT_GET ESP_BLE_MESH_MODEL_OP_2(0x82, 0x48) #define ESP_BLE_MESH_MODEL_OP_SCHEDULER_ACT_STATUS ESP_BLE_MESH_MODEL_OP_1(0x5F) #define ESP_BLE_MESH_MODEL_OP_SCHEDULER_GET ESP_BLE_MESH_MODEL_O...
3,274