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
79 struct bt_mesh_adv *bt_mesh_adv_ref(struct bt_mesh_adv *adv); argument
80 void bt_mesh_adv_unref(struct bt_mesh_adv *adv);
83 struct bt_mesh_adv *bt_mesh_adv_create(enum bt_mesh_adv_type type,
87 void bt_mesh_adv_send(struct bt_mesh_adv *adv, const struct bt_mesh_send_cb *cb,
91 struct bt_mesh_adv *bt_mesh_adv_get(k_timeout_t timeout);
93 struct bt_mesh_adv *bt_mesh_adv_get_by_tag(enum bt_mesh_adv_tag_bit tags, k_timeout_t timeout);
113 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_msg.c59 static void proxy_queue_put(struct bt_mesh_proxy_role *role, struct bt_mesh_adv *adv) in proxy_queue_put()
64 static struct bt_mesh_adv *proxy_queue_get(struct bt_mesh_proxy_role *role) in proxy_queue_get()
73 return CONTAINER_OF(gatt_bearer, struct bt_mesh_adv, in proxy_queue_get()
87 struct bt_mesh_adv *adv = proxy_queue_get(role); in proxy_sar_timeout()
231 struct bt_mesh_adv *adv = user_data; in buf_send_end()
236 static int proxy_relay_send(struct bt_conn *conn, struct bt_mesh_adv *adv) in proxy_relay_send()
266 int bt_mesh_proxy_relay_send(struct bt_conn *conn, struct bt_mesh_adv *adv) in bt_mesh_proxy_relay_send()
280 struct bt_mesh_adv *adv; in proxy_msg_send_pending()
Dproxy_cli.h11 bool bt_mesh_proxy_cli_relay(struct bt_mesh_adv *adv);
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()
749 static struct bt_mesh_adv *ctl_adv_create(uint8_t op, const void *data, uint8_t data_len, in ctl_adv_create()
752 struct bt_mesh_adv *adv; in ctl_adv_create()
770 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.c67 struct bt_mesh_adv *adv;
219 static int adv_send(struct bt_mesh_ext_adv *ext_adv, struct bt_mesh_adv *adv) in adv_send()
269 struct bt_mesh_adv *adv; in adv_queue_send_process()
432 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.c1072 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.c66 static void allocate_all_array(struct bt_mesh_adv **adv, size_t num_adv, uint8_t xmit) in allocate_all_array()
79 struct bt_mesh_adv *dummy_adv; in verify_adv_queue_overflow()
145 struct bt_mesh_adv *adv = (struct bt_mesh_adv *)cb_data; in realloc_end_cb()
223 struct bt_mesh_adv *adv = (struct bt_mesh_adv *)user_data; in send_order_start_cb()
280 static void send_adv_buf(struct bt_mesh_adv *adv, uint8_t curr, uint8_t prev) in send_adv_buf()
292 static void send_adv_array(struct bt_mesh_adv **adv, size_t num_buf, bool reverse) in send_adv_array()
319 struct bt_mesh_adv *adv; in test_tx_cb_single()
357 struct bt_mesh_adv *adv[CONFIG_BT_MESH_ADV_BUF_COUNT]; in test_tx_cb_multi()
430 struct bt_mesh_adv *adv = bt_mesh_adv_create(BT_MESH_ADV_DATA, BT_MESH_ADV_TAG_LOCAL, in test_tx_proxy_mixin()
477 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()