Home
last modified time | relevance | path

Searched refs:bt_mesh_conn (Results 1 – 11 of 11) sorted by relevance

/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/include/
Dmesh_bearer_adapt.h430 struct bt_mesh_conn { struct
493 void (*connected)(struct bt_mesh_conn *conn, uint8_t err);
503 void (*disconnected)(struct bt_mesh_conn *conn, uint8_t reason);
507 void (*connected)(bt_mesh_addr_t *addr, struct bt_mesh_conn *conn, int id);
509 void (*disconnected)(bt_mesh_addr_t *addr, struct bt_mesh_conn *conn, uint8_t reason);
511 ssize_t (*prov_write_descr)(bt_mesh_addr_t *addr, struct bt_mesh_conn *conn);
513 ssize_t (*prov_notify)(struct bt_mesh_conn *conn, uint8_t *data, uint16_t len);
515 ssize_t (*proxy_write_descr)(bt_mesh_addr_t *addr, struct bt_mesh_conn *conn);
517 ssize_t (*proxy_notify)(struct bt_mesh_conn *conn, uint8_t *data, uint16_t len);
536 ssize_t (*read)(struct bt_mesh_conn *conn,
[all …]
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/
Dprov.h23 int bt_mesh_pb_gatt_open(struct bt_mesh_conn *conn);
24 int bt_mesh_pb_gatt_close(struct bt_mesh_conn *conn);
25 int bt_mesh_pb_gatt_recv(struct bt_mesh_conn *conn, struct net_buf_simple *buf);
Dprovisioner_prov.h92 int bt_mesh_provisioner_set_prov_conn(const uint8_t addr[6], struct bt_mesh_conn *conn);
103 int bt_mesh_provisioner_pb_gatt_open(struct bt_mesh_conn *conn, uint8_t *addr);
114 int bt_mesh_provisioner_pb_gatt_close(struct bt_mesh_conn *conn, uint8_t reason);
125 int bt_mesh_provisioner_pb_gatt_recv(struct bt_mesh_conn *conn, struct net_buf_simple *buf);
Dproxy_client.c39 struct bt_mesh_conn *conn;
55 static struct bt_mesh_proxy_server *find_server(struct bt_mesh_conn *conn) in find_server()
231 static ssize_t proxy_recv(struct bt_mesh_conn *conn, in proxy_recv()
324 static int proxy_send(struct bt_mesh_conn *conn, const void *data, uint16_t len) in proxy_send()
331 static int proxy_segment_and_send(struct bt_mesh_conn *conn, uint8_t type, in proxy_segment_and_send()
377 int bt_mesh_proxy_client_send(struct bt_mesh_conn *conn, uint8_t type, in bt_mesh_proxy_client_send()
395 static void proxy_connected(bt_mesh_addr_t *addr, struct bt_mesh_conn *conn, int id) in proxy_connected()
420 static void proxy_disconnected(bt_mesh_addr_t *addr, struct bt_mesh_conn *conn, uint8_t reason) in proxy_disconnected()
456 static ssize_t prov_write_ccc(bt_mesh_addr_t *addr, struct bt_mesh_conn *conn) in prov_write_ccc()
478 static ssize_t prov_recv_ntf(struct bt_mesh_conn *conn, uint8_t *data, uint16_t len) in prov_recv_ntf()
[all …]
Dproxy_server.c82 struct bt_mesh_conn *conn;
129 static struct bt_mesh_proxy_client *find_client(struct bt_mesh_conn *conn) in find_client()
179 static int proxy_segment_and_send(struct bt_mesh_conn *conn, uint8_t type,
373 static int beacon_send(struct bt_mesh_conn *conn, struct bt_mesh_subnet *sub) in beacon_send()
503 static ssize_t proxy_recv(struct bt_mesh_conn *conn, in proxy_recv()
589 static void proxy_connected(struct bt_mesh_conn *conn, uint8_t err) in proxy_connected()
630 static void proxy_disconnected(struct bt_mesh_conn *conn, uint8_t reason) in proxy_disconnected()
672 static ssize_t prov_ccc_write(struct bt_mesh_conn *conn, in prov_ccc_write()
707 static ssize_t prov_ccc_read(struct bt_mesh_conn *conn, in prov_ccc_read()
810 static ssize_t proxy_ccc_write(struct bt_mesh_conn *conn, in proxy_ccc_write()
[all …]
Dproxy_server.h46 int bt_mesh_proxy_server_send(struct bt_mesh_conn *conn, uint8_t type,
Dproxy_client.h69 int bt_mesh_proxy_client_send(struct bt_mesh_conn *conn, uint8_t type,
Dprov.c112 struct bt_mesh_conn *conn; /* GATT connection */
1657 int bt_mesh_pb_gatt_recv(struct bt_mesh_conn *conn, struct net_buf_simple *buf) in bt_mesh_pb_gatt_recv()
1715 int bt_mesh_pb_gatt_open(struct bt_mesh_conn *conn) in bt_mesh_pb_gatt_open()
1733 int bt_mesh_pb_gatt_close(struct bt_mesh_conn *conn) in bt_mesh_pb_gatt_close()
Dprovisioner_prov.c141 struct bt_mesh_conn *conn; /* GATT connection */
3118 static struct bt_mesh_conn *find_conn(struct bt_mesh_conn *conn, uint8_t *idx)
3137 int bt_mesh_provisioner_pb_gatt_recv(struct bt_mesh_conn *conn, struct net_buf_simple *buf)
3180 int bt_mesh_provisioner_set_prov_conn(const uint8_t addr[6], struct bt_mesh_conn *conn)
3200 int bt_mesh_provisioner_pb_gatt_open(struct bt_mesh_conn *conn, uint8_t *addr)
3257 int bt_mesh_provisioner_pb_gatt_close(struct bt_mesh_conn *conn, uint8_t reason)
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/nimble_host/
Dmesh_bearer_adapt.c78 static struct bt_mesh_conn bt_mesh_gatts_conn[BLE_MESH_MAX_CONN];
155 struct bt_mesh_conn conn;
174 struct bt_mesh_conn *conn = NULL; in ble_on_subscribe()
283 struct bt_mesh_conn *conn = &bt_mesh_gattc_info[i].conn; in chr_disced()
342 struct bt_mesh_conn *conn = NULL; in svc_disced()
411 struct bt_mesh_conn *conn = NULL; in disc_cb()
1107 ssize_t bt_mesh_gatts_attr_read(struct bt_mesh_conn *conn, in bt_mesh_gatts_attr_read()
1133 ssize_t bt_mesh_gatts_attr_read_included(struct bt_mesh_conn *conn, in bt_mesh_gatts_attr_read_included()
1158 ssize_t bt_mesh_gatts_attr_read_service(struct bt_mesh_conn *conn, in bt_mesh_gatts_attr_read_service()
1183 ssize_t bt_mesh_gatts_attr_read_chrc(struct bt_mesh_conn *conn, in bt_mesh_gatts_attr_read_chrc()
[all …]
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/bluedroid_host/
Dmesh_bearer_adapt.c65 static struct bt_mesh_conn bt_mesh_gatts_conn[BLE_MESH_MAX_CONN];
82 struct bt_mesh_conn conn;
743 ssize_t bt_mesh_gatts_attr_read(struct bt_mesh_conn *conn, in bt_mesh_gatts_attr_read()
769 ssize_t bt_mesh_gatts_attr_read_included(struct bt_mesh_conn *conn, in bt_mesh_gatts_attr_read_included()
794 ssize_t bt_mesh_gatts_attr_read_service(struct bt_mesh_conn *conn, in bt_mesh_gatts_attr_read_service()
819 ssize_t bt_mesh_gatts_attr_read_chrc(struct bt_mesh_conn *conn, in bt_mesh_gatts_attr_read_chrc()
1042 int bt_mesh_gatts_disconnect(struct bt_mesh_conn *conn, uint8_t reason) in bt_mesh_gatts_disconnect()
1058 int bt_mesh_gatts_notify(struct bt_mesh_conn *conn, in bt_mesh_gatts_notify()
1067 uint16_t bt_mesh_gatt_get_mtu(struct bt_mesh_conn *conn) in bt_mesh_gatt_get_mtu()
1152 uint16_t bt_mesh_gattc_get_service_uuid(struct bt_mesh_conn *conn) in bt_mesh_gattc_get_service_uuid()
[all …]