Home
last modified time | relevance | path

Searched refs:bt_mesh_adv (Results 1 – 18 of 18) sorted by relevance

/Zephyr-latest/subsys/bluetooth/mesh/
Dadv.h60 struct bt_mesh_adv { struct
75 struct bt_mesh_adv *bt_mesh_adv_ref(struct bt_mesh_adv *adv); argument
76 void bt_mesh_adv_unref(struct bt_mesh_adv *adv);
79 struct bt_mesh_adv *bt_mesh_adv_create(enum bt_mesh_adv_type type,
83 void bt_mesh_adv_send(struct bt_mesh_adv *adv, const struct bt_mesh_send_cb *cb,
87 struct bt_mesh_adv *bt_mesh_adv_get(k_timeout_t timeout);
89 struct bt_mesh_adv *bt_mesh_adv_get_by_tag(enum bt_mesh_adv_tag_bit tags, k_timeout_t timeout);
109 int bt_mesh_adv_terminate(struct bt_mesh_adv *adv);
Dadv.c31 LOG_MODULE_REGISTER(bt_mesh_adv);
49 K_MEM_SLAB_DEFINE_STATIC(local_adv_pool, sizeof(struct bt_mesh_adv),
50 CONFIG_BT_MESH_ADV_BUF_COUNT, __alignof__(struct bt_mesh_adv));
53 K_MEM_SLAB_DEFINE_STATIC(relay_adv_pool, sizeof(struct bt_mesh_adv),
54 CONFIG_BT_MESH_RELAY_BUF_COUNT, __alignof__(struct bt_mesh_adv));
58 K_MEM_SLAB_DEFINE_STATIC(friend_adv_pool, sizeof(struct bt_mesh_adv),
59 CONFIG_BT_MESH_FRIEND_LPN_COUNT, __alignof__(struct bt_mesh_adv));
86 static struct bt_mesh_adv *adv_create_from_pool(struct k_mem_slab *buf_pool, in adv_create_from_pool()
92 struct bt_mesh_adv *adv; in adv_create_from_pool()
121 struct bt_mesh_adv *bt_mesh_adv_ref(struct bt_mesh_adv *adv) in bt_mesh_adv_ref()
[all …]
Dproxy_cli.h11 bool bt_mesh_proxy_cli_relay(struct bt_mesh_adv *adv);
Dproxy_msg.c69 struct bt_mesh_adv *adv = k_fifo_get(&role->pending, K_NO_WAIT); in proxy_sar_timeout()
207 struct bt_mesh_adv *adv = user_data; in buf_send_end()
212 static int proxy_relay_send(struct bt_conn *conn, struct bt_mesh_adv *adv) in proxy_relay_send()
242 int bt_mesh_proxy_relay_send(struct bt_conn *conn, struct bt_mesh_adv *adv) in bt_mesh_proxy_relay_send()
256 struct bt_mesh_adv *adv; in proxy_msg_send_pending()
Dproxy.h29 bool bt_mesh_proxy_relay(struct bt_mesh_adv *adv, uint16_t dst);
Dadv_legacy.c132 static inline void adv_send(struct bt_mesh_adv *adv) in adv_send()
153 struct bt_mesh_adv *adv; in adv_thread()
223 int bt_mesh_adv_terminate(struct bt_mesh_adv *adv) in bt_mesh_adv_terminate()
Dpb_adv.c106 struct bt_mesh_adv *adv[3];
122 struct bt_mesh_adv *adv;
172 static int send_unacked(struct bt_mesh_adv *adv, prov_bearer_send_complete_t cb, in send_unacked()
287 struct bt_mesh_adv *adv = link.tx.adv[i]; in free_segments()
380 static struct bt_mesh_adv *adv_create(uint8_t retransmits) in adv_create()
382 struct bt_mesh_adv *adv; in adv_create()
450 struct bt_mesh_adv *adv; in gen_prov_ack_send()
742 static struct bt_mesh_adv *ctl_adv_create(uint8_t op, const void *data, uint8_t data_len, in ctl_adv_create()
745 struct bt_mesh_adv *adv; in ctl_adv_create()
763 static int bearer_ctl_send(struct bt_mesh_adv *adv) in bearer_ctl_send()
[all …]
Dproxy_msg.h57 int bt_mesh_proxy_relay_send(struct bt_conn *conn, struct bt_mesh_adv *adv);
Dadv_ext.c71 struct bt_mesh_adv *adv;
223 static int adv_send(struct bt_mesh_ext_adv *ext_adv, struct bt_mesh_adv *adv) in adv_send()
286 struct bt_mesh_adv *adv; in send_pending_adv()
401 int bt_mesh_adv_terminate(struct bt_mesh_adv *adv) in bt_mesh_adv_terminate()
Dnet.h302 int bt_mesh_net_send(struct bt_mesh_net_tx *tx, struct bt_mesh_adv *adv,
Dproxy_cli.c81 bool bt_mesh_proxy_cli_relay(struct bt_mesh_adv *adv) in bt_mesh_proxy_cli_relay()
Dbeacon.c274 struct bt_mesh_adv *adv; in net_beacon_send()
348 struct bt_mesh_adv *adv; in unprovisioned_beacon_send()
Dnet.c531 int bt_mesh_net_send(struct bt_mesh_net_tx *tx, struct bt_mesh_adv *adv, in bt_mesh_net_send()
688 struct bt_mesh_adv *adv; in bt_mesh_net_relay()
Dtransport.c123 struct bt_mesh_adv *adv; in send_unseg()
406 struct bt_mesh_adv *seg; in seg_tx_send_unacked()
Dproxy_srv.c1096 bool bt_mesh_proxy_relay(struct bt_mesh_adv *adv, uint16_t dst) in bt_mesh_proxy_relay()
Dfriend.c1241 struct bt_mesh_adv *adv; in friend_timeout()
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_advertiser.c65 static void allocate_all_array(struct bt_mesh_adv **adv, size_t num_adv, uint8_t xmit) in allocate_all_array()
78 struct bt_mesh_adv *dummy_adv; in verify_adv_queue_overflow()
144 struct bt_mesh_adv *adv = (struct bt_mesh_adv *)cb_data; in realloc_end_cb()
222 struct bt_mesh_adv *adv = (struct bt_mesh_adv *)user_data; in send_order_start_cb()
279 static void send_adv_buf(struct bt_mesh_adv *adv, uint8_t curr, uint8_t prev) in send_adv_buf()
291 static void send_adv_array(struct bt_mesh_adv **adv, size_t num_buf, bool reverse) in send_adv_array()
318 struct bt_mesh_adv *adv; in test_tx_cb_single()
356 struct bt_mesh_adv *adv[CONFIG_BT_MESH_ADV_BUF_COUNT]; in test_tx_cb_multi()
429 struct bt_mesh_adv *adv = bt_mesh_adv_create(BT_MESH_ADV_DATA, BT_MESH_ADV_TAG_LOCAL, in test_tx_proxy_mixin()
476 struct bt_mesh_adv *adv[CONFIG_BT_MESH_ADV_BUF_COUNT]; in test_tx_send_order()
[all …]
Dmesh_test.c576 struct bt_mesh_adv *adv = bt_mesh_adv_create(BT_MESH_ADV_DATA, BT_MESH_ADV_TAG_LOCAL, in bt_mesh_test_send_over_adv_cb()