Home
last modified time | relevance | path

Searched refs:bt_gatt_attr (Results 1 – 25 of 71) sorted by relevance

123

/Zephyr-Core-2.7.6/include/bluetooth/
Dgatt.h104 struct bt_gatt_attr { struct
122 ssize_t (*read)(struct bt_conn *conn, const struct bt_gatt_attr *attr, argument
137 ssize_t (*write)(struct bt_conn *conn, const struct bt_gatt_attr *attr, argument
152 const struct bt_gatt_attr *attrs; argument
160 struct bt_gatt_attr *attrs;
387 typedef uint8_t (*bt_gatt_attr_func_t)(const struct bt_gatt_attr *attr,
434 struct bt_gatt_attr *bt_gatt_attr_next(const struct bt_gatt_attr *attr);
450 struct bt_gatt_attr *bt_gatt_find_by_uuid(const struct bt_gatt_attr *attr,
461 uint16_t bt_gatt_attr_get_handle(const struct bt_gatt_attr *attr);
473 uint16_t bt_gatt_attr_value_handle(const struct bt_gatt_attr *attr);
[all …]
/Zephyr-Core-2.7.6/tests/bluetooth/bsim_bt/edtt_ble_test_app/gatt_test_app/src/gatt/
Dservice_c_2_1.c167 const struct bt_gatt_attr *attr, void *buf, in read_value_v10()
189 const struct bt_gatt_attr *attr, void *buf, in read_str_value()
212 const struct bt_gatt_attr *attr, const void *buf, in write_value_v2()
240 const struct bt_gatt_attr *attr, void *buf, in read_long_des_v2d1()
263 const struct bt_gatt_attr *attr, in write_long_des_v2d1()
293 const struct bt_gatt_attr *attr, in write_value_v2_1()
322 const struct bt_gatt_attr *attr, void *buf, in read_long_des_v2d2()
345 const struct bt_gatt_attr *attr, in write_long_des_v2d2()
375 const struct bt_gatt_attr *attr, in write_value_v2_2()
404 const struct bt_gatt_attr *attr, void *buf, in read_long_des_v2d3()
[all …]
Dservice_a_2.c19 extern struct bt_gatt_attr service_d_2_attrs[];
20 extern struct bt_gatt_attr service_c_1_2_attrs[];
64 const struct bt_gatt_attr *attr, void *buf, in read_value_v1()
86 const struct bt_gatt_attr *attr, void *buf, in read_str_value()
109 const struct bt_gatt_attr *attr, const void *buf, in write_value_v2()
138 const struct bt_gatt_attr *attr, const void *buf, in write_value_v3()
153 static struct bt_gatt_attr service_a_2_attrs[] = {
Dservice_a_3.c19 extern struct bt_gatt_attr service_d_3_attrs[];
20 extern struct bt_gatt_attr service_c_1_3_attrs[];
64 const struct bt_gatt_attr *attr, void *buf, in read_value_v1()
86 const struct bt_gatt_attr *attr, void *buf, in read_str_value()
109 const struct bt_gatt_attr *attr, const void *buf, in write_value_v2()
138 const struct bt_gatt_attr *attr, const void *buf, in write_value_v3()
153 static struct bt_gatt_attr service_a_3_attrs[] = {
Dservice_b_1_1.c70 const struct bt_gatt_attr *attr, void *buf, in read_value_v4()
93 const struct bt_gatt_attr *attr, const void *buf, in write_value_v4()
121 const struct bt_gatt_attr *attr, void *buf, in read_value_v4_1()
144 const struct bt_gatt_attr *attr, in write_value_v4_1()
174 const struct bt_gatt_attr *attr, void *buf, in read_server_cha_con()
200 const struct bt_gatt_attr *attr, in write_server_cha_con()
232 const struct bt_gatt_attr *attr, void *buf, in read_value_v4_3()
254 const struct bt_gatt_attr *attr, void *buf, in read_long_des_v2d1_1()
265 static struct bt_gatt_attr service_b_1_1_attrs[] = {
Dservice_b_5_1.c63 const struct bt_gatt_attr *attr, void *buf, in read_value_v8()
86 const struct bt_gatt_attr *attr, const void *buf, in write_value_v8()
114 const struct bt_gatt_attr *attr, void *buf, in read_des_v8d1()
137 const struct bt_gatt_attr *attr, const void *buf, in write_des_v8d1()
165 const struct bt_gatt_attr *attr, void *buf, in read_des_v8d2()
191 const struct bt_gatt_attr *attr, const void *buf, in write_des_v8d2()
221 const struct bt_gatt_attr *attr, void *buf, in read_des_v8d3()
244 const struct bt_gatt_attr *attr, const void *buf, in write_des_v8d3()
259 struct bt_gatt_attr service_b_5_1_attrs[] = {
Dservice_a_1.c19 extern struct bt_gatt_attr service_d_1_attrs[];
105 const struct bt_gatt_attr *attr, void *buf, in read_value_v1()
127 const struct bt_gatt_attr *attr, void *buf, in read_str_value()
150 const struct bt_gatt_attr *attr, const void *buf, in write_value_v2()
179 const struct bt_gatt_attr *attr, in write_value_v2_1()
209 const struct bt_gatt_attr *attr, const void *buf, in write_value_v3()
224 static struct bt_gatt_attr service_a_1_attrs[] = {
Dservice_c_1_1.c19 extern struct bt_gatt_attr service_d_1_attrs[];
67 const struct bt_gatt_attr *attr, in read_value_v9__128_bit_uuid()
90 const struct bt_gatt_attr *attr, in write_value_v9__128_bit_uuid()
120 const struct bt_gatt_attr *attr, in read_des_v9d2__128_bit_uuid()
144 const struct bt_gatt_attr *attr, in write_des_v9d2__128_bit_uuid()
175 const struct bt_gatt_attr *attr, in write_des_v9d3__128_bit_uuid()
191 static struct bt_gatt_attr service_c_1_1_attrs[] = {
Dservice_c_1_2.c19 extern struct bt_gatt_attr service_d_2_attrs[];
67 const struct bt_gatt_attr *attr, in read_value_v9__128_bit_uuid()
90 const struct bt_gatt_attr *attr, in write_value_v9__128_bit_uuid()
120 const struct bt_gatt_attr *attr, in read_des_v9d2__128_bit_uuid()
144 const struct bt_gatt_attr *attr, in write_des_v9d2__128_bit_uuid()
175 const struct bt_gatt_attr *attr, in write_des_v9d3__128_bit_uuid()
191 struct bt_gatt_attr service_c_1_2_attrs[] = {
Dservice_c_2_3.c81 const struct bt_gatt_attr *attr, void *buf, in read_value_v10()
103 const struct bt_gatt_attr *attr, void *buf, in read_str_value()
126 const struct bt_gatt_attr *attr, const void *buf, in write_value_v2()
155 const struct bt_gatt_attr *attr, in write_value_v2_1()
185 const struct bt_gatt_attr *attr, in write_value_v2_2()
215 const struct bt_gatt_attr *attr, in write_value_v2_3()
245 const struct bt_gatt_attr *attr, in write_value_v2_4()
275 const struct bt_gatt_attr *attr, in write_value_v2_5()
291 static struct bt_gatt_attr service_c_2_3_attrs[] = {
Dservice_c_2_2.c81 const struct bt_gatt_attr *attr, void *buf, in read_value_v10()
103 const struct bt_gatt_attr *attr, void *buf, in read_str_value()
126 const struct bt_gatt_attr *attr, const void *buf, in write_value_v2()
155 const struct bt_gatt_attr *attr, in write_value_v2_1()
185 const struct bt_gatt_attr *attr, in write_value_v2_2()
215 const struct bt_gatt_attr *attr, in write_value_v2_3()
245 const struct bt_gatt_attr *attr, in write_value_v2_4()
275 const struct bt_gatt_attr *attr, in write_value_v2_5()
291 static struct bt_gatt_attr service_c_2_2_attrs[] = {
Dservice_c_1_3.c65 const struct bt_gatt_attr *attr, in read_value_v9__128_bit_uuid()
88 const struct bt_gatt_attr *attr, in write_value_v9__128_bit_uuid()
118 const struct bt_gatt_attr *attr, in read_des_v9d2__128_bit_uuid()
142 const struct bt_gatt_attr *attr, in write_des_v9d2__128_bit_uuid()
173 const struct bt_gatt_attr *attr, in write_des_v9d3__128_bit_uuid()
189 struct bt_gatt_attr service_c_1_3_attrs[] = {
Dservice_f_1.c102 const struct bt_gatt_attr *attr, void *buf, in read_str_value()
124 const struct bt_gatt_attr *attr, void *buf, in read_value_v15()
147 const struct bt_gatt_attr *attr, const void *buf, in write_value_v15()
175 const struct bt_gatt_attr *attr, void *buf, in read_value_v6()
199 const struct bt_gatt_attr *attr, const void *buf, in write_value_v6()
230 const struct bt_gatt_attr *attr, void *buf, in read_value_v7()
254 const struct bt_gatt_attr *attr, const void *buf, in write_value_v7()
285 const struct bt_gatt_attr *attr, void *buf, in read_value_v16()
312 const struct bt_gatt_attr *attr, void *buf, in read_agg_format()
339 const struct bt_gatt_attr *attr, void *buf, in read_value_v17()
[all …]
Dservice_d_2.c19 extern struct bt_gatt_attr service_b_1_2_attrs[];
54 const struct bt_gatt_attr *attr, in read_value_v11__128_bit_uuid()
76 const struct bt_gatt_attr *attr, void *buf, in read_value_v12()
85 struct bt_gatt_attr service_d_2_attrs[] = {
Dservice_d_3.c19 extern struct bt_gatt_attr service_c_1_3_attrs[];
54 const struct bt_gatt_attr *attr, void *buf, in read_value_v12()
76 const struct bt_gatt_attr *attr, in read_value_v11__128_bit_uuid()
85 struct bt_gatt_attr service_d_3_attrs[] = {
Dservice_d_1.c19 extern struct bt_gatt_attr service_b_5_1_attrs[];
55 const struct bt_gatt_attr *attr, void *buf, in read_value_v12()
77 const struct bt_gatt_attr *attr, in read_value_v11__128_bit_uuid()
89 struct bt_gatt_attr service_d_1_attrs[] = {
Dservice_b_3_1.c45 const struct bt_gatt_attr *attr, void *buf, in read_value_v6()
68 const struct bt_gatt_attr *attr, const void *buf, in write_value_v6()
89 static void value_v6_ccc_cfg_changed(const struct bt_gatt_attr *attr, in value_v6_ccc_cfg_changed()
95 static struct bt_gatt_attr service_b_3_1_attrs[] = {
Dservice_b_2_2.c61 const struct bt_gatt_attr *attr, void *buf, in read_value_v5()
84 const struct bt_gatt_attr *attr, const void *buf, in write_value_v5()
113 const struct bt_gatt_attr *attr, in read_des_v5d4__128_bit_uuid()
122 static struct bt_gatt_attr service_b_2_2_attrs[] = {
Dservice_b_2_3.c61 const struct bt_gatt_attr *attr, void *buf, in read_value_v5()
84 const struct bt_gatt_attr *attr, const void *buf, in write_value_v5()
113 const struct bt_gatt_attr *attr, in read_des_v5d4__128_bit_uuid()
122 static struct bt_gatt_attr service_b_2_3_attrs[] = {
Dservice_b_2_1.c62 const struct bt_gatt_attr *attr, void *buf, in read_value_v5()
85 const struct bt_gatt_attr *attr, const void *buf, in write_value_v5()
116 const struct bt_gatt_attr *attr, in read_des_v5d4__128_bit_uuid()
125 static struct bt_gatt_attr service_b_2_1_attrs[] = {
Dservice_b_3_2.c47 const struct bt_gatt_attr *attr, void *buf, in read_value_v6()
70 const struct bt_gatt_attr *attr, const void *buf, in write_value_v6()
91 static void value_v6_ccc_cfg_changed(const struct bt_gatt_attr *attr, in value_v6_ccc_cfg_changed()
98 static struct bt_gatt_attr service_b_3_2_attrs[] = {
/Zephyr-Core-2.7.6/tests/bluetooth/gatt/src/
Dmain.c37 static void test1_ccc_cfg_changed(const struct bt_gatt_attr *attr, uint16_t value) in test1_ccc_cfg_changed()
42 static ssize_t read_test(struct bt_conn *conn, const struct bt_gatt_attr *attr, in read_test()
51 static ssize_t write_test(struct bt_conn *conn, const struct bt_gatt_attr *attr, in write_test()
66 static struct bt_gatt_attr test_attrs[] = {
79 static struct bt_gatt_attr test1_attrs[] = {
139 static uint8_t count_attr(const struct bt_gatt_attr *attr, uint16_t handle, in count_attr()
149 static uint8_t find_attr(const struct bt_gatt_attr *attr, uint16_t handle, in find_attr()
152 const struct bt_gatt_attr **tmp = user_data; in find_attr()
161 const struct bt_gatt_attr *attr; in test_gatt_foreach()
229 const struct bt_gatt_attr *attr; in test_gatt_read()
[all …]
/Zephyr-Core-2.7.6/samples/bluetooth/peripheral_hids/src/
Dhog.c91 const struct bt_gatt_attr *attr, void *buf, in read_info()
99 const struct bt_gatt_attr *attr, void *buf, in read_report_map()
107 const struct bt_gatt_attr *attr, void *buf, in read_report()
114 static void input_ccc_changed(const struct bt_gatt_attr *attr, uint16_t value) in input_ccc_changed()
120 const struct bt_gatt_attr *attr, void *buf, in read_input_report()
127 const struct bt_gatt_attr *attr, in write_ctrl_point()
/Zephyr-Core-2.7.6/subsys/bluetooth/audio/
Daics.c34 const struct bt_gatt_attr *attr,
39 const struct bt_gatt_attr *attr,
44 static void aics_state_cfg_changed(const struct bt_gatt_attr *attr,
47 const struct bt_gatt_attr *attr,
50 const struct bt_gatt_attr *attr,
53 static ssize_t read_type(struct bt_conn *conn, const struct bt_gatt_attr *attr,
55 static void aics_input_status_cfg_changed(const struct bt_gatt_attr *attr,
58 const struct bt_gatt_attr *attr,
60 static void aics_description_cfg_changed(const struct bt_gatt_attr *attr,
63 const struct bt_gatt_attr *attr, void *buf,
[all …]
/Zephyr-Core-2.7.6/samples/bluetooth/eddystone/src/
Dmain.c167 static ssize_t read_caps(struct bt_conn *conn, const struct bt_gatt_attr *attr, in read_caps()
176 static ssize_t read_slot(struct bt_conn *conn, const struct bt_gatt_attr *attr, in read_slot()
184 const struct bt_gatt_attr *attr, const void *buf, in write_slot()
205 const struct bt_gatt_attr *attr, in read_tx_power()
219 const struct bt_gatt_attr *attr, in write_tx_power()
239 const struct bt_gatt_attr *attr, in read_adv_tx_power()
253 const struct bt_gatt_attr *attr, in write_adv_tx_power()
274 const struct bt_gatt_attr *attr, in read_interval()
287 static ssize_t read_lock(struct bt_conn *conn, const struct bt_gatt_attr *attr, in read_lock()
297 const struct bt_gatt_attr *attr, const void *buf, in write_lock()
[all …]

123