ESP-IDF
+
0
/9 examples
SourceVu will show references to
esp_ble_mesh_model_pub_t
from the following samples and libraries:
aligenie_demo sample
wifi_coexist sample
df_server sample
fast_prov_server sample
onoff_client sample
onoff_server sample
rpr_server sample
unprov_dev sample
sensor_server sample
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
esp_ble_mesh_model_pub_t
esp_ble_mesh_model_pub_t struct
Abstraction that describes a model publication context. This structure is associated with struct bt_mesh_model_pub in mesh_access.h
Syntax
Show:
Summary
Declaration
from
esp_ble_mesh_defs.h:447
typedef
struct
{
esp_ble_mesh_model_t
*
model
;
uint16_t
publish_addr
;
uint16_t
app_idx
:
12
,
cred
:
1
,
send_rel
:
1
,
send_szmic
:
1
;
uint8_t
ttl
;
uint8_t
retransmit
;
uint8_t
period
;
uint8_t
period_div
:
4
,
fast_period
:
1
,
count
:
3
;
uint32_t
period_start
;
#if
CONFIG_BLE_MESH_DF_SRV
uint8_t
directed_pub_policy
;
#endif
struct
net_buf_simple
*
msg
;
esp_ble_mesh_cb_t
update
;
struct
k_delayed_work
timer
;
uint8_t
dev_role
__attribute__
(
(
deprecated
)
)
;
}
esp_ble_mesh_model_pub_t
;
Fields
Field
Declared as
Description
esp_ble_mesh_model_pub_t::model
esp_ble_mesh_model_t
*
Pointer to the model to which the context belongs. Initialized by the stack.
esp_ble_mesh_model_pub_t::publish_addr
uint16_t
Publish Address.
esp_ble_mesh_model_pub_t::app_idx
uint16_t
:
12
esp_ble_mesh_model_pub_t::cred
uint16_t
app_idx
:
12
,
:
1
esp_ble_mesh_model_pub_t::send_rel
uint16_t
app_idx
:
12
,
cred
:
1
,
:
1
esp_ble_mesh_model_pub_t::send_szmic
uint16_t
app_idx
:
12
,
cred
:
1
,
send_rel
:
1
,
:
1
Size of TransMIC when publishing a Segmented Access message.
esp_ble_mesh_model_pub_t::ttl
uint8_t
Publish Time to Live.
esp_ble_mesh_model_pub_t::retransmit
uint8_t
Retransmit Count & Interval Steps.
esp_ble_mesh_model_pub_t::period
uint8_t
Publish Period.
esp_ble_mesh_model_pub_t::period_div
uint8_t
:
4
esp_ble_mesh_model_pub_t::fast_period
uint8_t
period_div
:
4
,
:
1
esp_ble_mesh_model_pub_t::count
uint8_t
period_div
:
4
,
fast_period
:
1
,
:
3
Retransmissions left.
esp_ble_mesh_model_pub_t::period_start
uint32_t
Start of the current period.
esp_ble_mesh_model_pub_t::directed_pub_policy
uint8_t
Directed publish policy.
esp_ble_mesh_model_pub_t::msg
struct
net_buf_simple
*
Publication buffer, containing the publication message. This will get correctly created when the publication context has been defined using the ESP_BLE_MESH_MODEL_PUB_DEFINE macro. ESP_BLE_MESH_MODEL_PUB_DEFINE(name, size);.
esp_ble_mesh_model_pub_t::update
esp_ble_mesh_cb_t
Callback used to update publish message. Initialized by the stack.
esp_ble_mesh_model_pub_t::timer
struct
k_delayed_work
Publish Period Timer. Initialized by the stack.
esp_ble_mesh_model_pub_t::dev_role
uint8_t
Role of the device that is going to publish messages.
Examples
esp_ble_mesh_model_pub_t
is referenced by 9 libraries and example projects:
References
from
examples
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out