NimBLE-Arduino 2.1.2
Loading...
Searching...
No Matches
pb_gatt_srv.h
1/*
2 * Copyright (c) 2017 Intel Corporation
3 * Copyright (c) 2021 Lingao Meng
4 *
5 * SPDX-License-Identifier: Apache-2.0
6 */
7
8#ifndef __PB_GATT_SRV_H__
9#define __PB_GATT_SRV_H__
10
11int bt_mesh_pb_gatt_send(uint16_t conn_handle, struct os_mbuf *buf);
12
13int bt_mesh_pb_gatt_enable(void);
14int bt_mesh_pb_gatt_disable(void);
15
16int prov_ccc_write(uint16_t conn_handle, uint8_t type);
17void gatt_disconnected_pb_gatt(struct ble_gap_conn_desc conn, uint8_t err);
18void gatt_connected_pb_gatt(uint16_t conn_handle, uint8_t err);
19void resolve_svc_handles(void);
20
21int bt_mesh_pb_gatt_adv_start(void);
22
23extern struct svc_handles {
24 uint16_t proxy_h;
25 uint16_t proxy_data_out_h;
26 uint16_t prov_h;
27 uint16_t prov_data_in_h;
28 uint16_t prov_data_out_h;
29} svc_handles;
30
31#endif /* __PB_GATT_SRV_H__ */
Connection descriptor.
Definition ble_gap.h:249
Definition os_mbuf.h:86