Home
last modified time | relevance | path

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

1234567

/Zephyr-latest/include/zephyr/bluetooth/
Dgatt.h128 struct bt_gatt_attr;
161 const struct bt_gatt_attr *attr,
204 const struct bt_gatt_attr *attr,
224 struct bt_gatt_attr { struct
317 const struct bt_gatt_attr *attrs; argument
325 struct bt_gatt_attr *attrs;
380 const struct bt_gatt_attr *attr);
394 const struct bt_gatt_attr *attr);
639 typedef uint8_t (*bt_gatt_attr_func_t)(const struct bt_gatt_attr *attr,
686 struct bt_gatt_attr *bt_gatt_attr_next(const struct bt_gatt_attr *attr);
[all …]
/Zephyr-latest/tests/bsim/bluetooth/ll/edtt/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()
242 const struct bt_gatt_attr *attr, void *buf, in read_long_des_v2d1()
265 const struct bt_gatt_attr *attr, in write_long_des_v2d1()
297 const struct bt_gatt_attr *attr, in write_value_v2_1()
328 const struct bt_gatt_attr *attr, void *buf, in read_long_des_v2d2()
351 const struct bt_gatt_attr *attr, in write_long_des_v2d2()
383 const struct bt_gatt_attr *attr, in write_value_v2_2()
414 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()
140 const struct bt_gatt_attr *attr, const void *buf, in write_value_v3()
157 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()
140 const struct bt_gatt_attr *attr, const void *buf, in write_value_v3()
157 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()
123 const struct bt_gatt_attr *attr, void *buf, in read_value_v4_1()
146 const struct bt_gatt_attr *attr, in write_value_v4_1()
178 const struct bt_gatt_attr *attr, void *buf, in read_server_cha_con()
204 const struct bt_gatt_attr *attr, in write_server_cha_con()
238 const struct bt_gatt_attr *attr, void *buf, in read_value_v4_3()
260 const struct bt_gatt_attr *attr, void *buf, in read_long_des_v2d1_1()
271 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()
116 const struct bt_gatt_attr *attr, void *buf, in read_des_v8d1()
139 const struct bt_gatt_attr *attr, const void *buf, in write_des_v8d1()
169 const struct bt_gatt_attr *attr, void *buf, in read_des_v8d2()
196 const struct bt_gatt_attr *attr, const void *buf, in write_des_v8d2()
229 const struct bt_gatt_attr *attr, void *buf, in read_des_v8d3()
252 const struct bt_gatt_attr *attr, const void *buf, in write_des_v8d3()
269 struct bt_gatt_attr service_b_5_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()
122 const struct bt_gatt_attr *attr, in read_des_v9d2__128_bit_uuid()
146 const struct bt_gatt_attr *attr, in write_des_v9d2__128_bit_uuid()
179 const struct bt_gatt_attr *attr, in write_des_v9d3__128_bit_uuid()
197 struct bt_gatt_attr service_c_1_2_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()
181 const struct bt_gatt_attr *attr, in write_value_v2_1()
213 const struct bt_gatt_attr *attr, const void *buf, in write_value_v3()
230 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()
122 const struct bt_gatt_attr *attr, in read_des_v9d2__128_bit_uuid()
146 const struct bt_gatt_attr *attr, in write_des_v9d2__128_bit_uuid()
179 const struct bt_gatt_attr *attr, in write_des_v9d3__128_bit_uuid()
197 static struct bt_gatt_attr service_c_1_1_attrs[] = {
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_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()
157 const struct bt_gatt_attr *attr, in write_value_v2_1()
189 const struct bt_gatt_attr *attr, in write_value_v2_2()
221 const struct bt_gatt_attr *attr, in write_value_v2_3()
253 const struct bt_gatt_attr *attr, in write_value_v2_4()
285 const struct bt_gatt_attr *attr, in write_value_v2_5()
303 static struct bt_gatt_attr service_c_2_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()
157 const struct bt_gatt_attr *attr, in write_value_v2_1()
189 const struct bt_gatt_attr *attr, in write_value_v2_2()
221 const struct bt_gatt_attr *attr, in write_value_v2_3()
253 const struct bt_gatt_attr *attr, in write_value_v2_4()
285 const struct bt_gatt_attr *attr, in write_value_v2_5()
303 static struct bt_gatt_attr service_c_2_3_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()
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()
177 const struct bt_gatt_attr *attr, in write_des_v9d3__128_bit_uuid()
195 struct bt_gatt_attr service_c_1_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()
90 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()
91 static void value_v6_ccc_cfg_changed(const struct bt_gatt_attr *attr, in value_v6_ccc_cfg_changed()
97 static struct bt_gatt_attr service_b_3_1_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()
177 const struct bt_gatt_attr *attr, void *buf, in read_value_v6()
201 const struct bt_gatt_attr *attr, const void *buf, in write_value_v6()
234 const struct bt_gatt_attr *attr, void *buf, in read_value_v7()
258 const struct bt_gatt_attr *attr, const void *buf, in write_value_v7()
291 const struct bt_gatt_attr *attr, void *buf, in read_value_v16()
318 const struct bt_gatt_attr *attr, void *buf, in read_agg_format()
345 const struct bt_gatt_attr *attr, void *buf, in read_value_v17()
[all …]
/Zephyr-latest/subsys/bluetooth/services/bas/
Dbas_internal.h126 ssize_t bt_bas_bcs_read_critical_status(struct bt_conn *conn, const struct bt_gatt_attr *attr,
137 void bt_bas_bcs_ccc_cfg_changed(const struct bt_gatt_attr *attr, uint16_t value);
172 ssize_t bt_bas_bls_read_blvl_status(struct bt_conn *conn, const struct bt_gatt_attr *attr,
183 const struct bt_gatt_attr *bt_bas_get_bas_attr(uint16_t index);
/Zephyr-latest/tests/bluetooth/audio/ascs/src/
Dtest_common.c53 static uint8_t attr_found(const struct bt_gatt_attr *attr, uint16_t handle, void *user_data) in attr_found()
55 const struct bt_gatt_attr **result = user_data; in attr_found()
74 const struct bt_gatt_attr *test_ase_control_point_get(void) in test_ase_control_point_get()
76 static const struct bt_gatt_attr *attr; in test_ase_control_point_get()
92 const struct bt_gatt_attr *attr = NULL; in test_ase_get()
99 const struct bt_gatt_attr *prev = attr; in test_ase_get()
110 *(va_arg(attrs, const struct bt_gatt_attr **)) = attr; in test_ase_get()
118 uint8_t test_ase_id_get(const struct bt_gatt_attr *ase) in test_ase_id_get()
152 const struct bt_gatt_attr *attr = test_ase_control_point_get(); in test_ase_control_client_config_codec()
178 const struct bt_gatt_attr *attr = test_ase_control_point_get(); in test_ase_control_client_config_qos()
[all …]
/Zephyr-latest/subsys/bluetooth/audio/
Daudio_internal.h22 ssize_t (*read)(struct bt_conn *conn, const struct bt_gatt_attr *attr,
26 ssize_t (*write)(struct bt_conn *conn, const struct bt_gatt_attr *attr,
35 ssize_t bt_audio_read_chrc(struct bt_conn *conn, const struct bt_gatt_attr *attr,
39 ssize_t bt_audio_write_chrc(struct bt_conn *conn, const struct bt_gatt_attr *attr,
60 ssize_t bt_audio_ccc_cfg_write(struct bt_conn *conn, const struct bt_gatt_attr *attr,
Dmcs.c97 const struct bt_gatt_attr *attr, void *buf, in read_player_name()
118 static void player_name_cfg_changed(const struct bt_gatt_attr *attr, in player_name_cfg_changed()
126 const struct bt_gatt_attr *attr, void *buf, in read_icon_id()
142 const struct bt_gatt_attr *attr, void *buf, in read_icon_url()
163 static void track_cfg_changed(const struct bt_gatt_attr *attr, uint16_t value) in track_cfg_changed()
169 const struct bt_gatt_attr *attr, in read_track_title()
190 static void track_title_cfg_changed(const struct bt_gatt_attr *attr, in track_title_cfg_changed()
197 const struct bt_gatt_attr *attr, void *buf, in read_track_duration()
214 static void track_duration_cfg_changed(const struct bt_gatt_attr *attr, uint16_t value) in track_duration_cfg_changed()
219 static ssize_t read_track_position(struct bt_conn *conn, const struct bt_gatt_attr *attr, void *buf, in read_track_position()
[all …]
Dccid.c21 const struct bt_gatt_attr *attr;
25 static uint8_t ccid_attr_cb(const struct bt_gatt_attr *attr, uint16_t handle, void *user_data) in ccid_attr_cb()
45 const struct bt_gatt_attr *bt_ccid_find_attr(uint8_t ccid) in bt_ccid_find_attr()
/Zephyr-latest/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[] = {
151 struct bt_gatt_attr local_test_attrs[] = { in ZTEST()
160 struct bt_gatt_attr local_test1_attrs[] = { in ZTEST()
216 struct bt_gatt_attr local_test_attrs[] = { in ZTEST()
225 struct bt_gatt_attr local_test1_attrs[] = { in ZTEST()
279 struct bt_gatt_attr local_test_attrs[] = { in ZTEST()
[all …]
/Zephyr-latest/tests/bluetooth/audio/mocks/src/
Dgatt.c44 const struct bt_gatt_attr *, uint16_t);
49 ssize_t bt_gatt_attr_read_service(struct bt_conn *conn, const struct bt_gatt_attr *attr, void *buf, in bt_gatt_attr_read_service()
56 ssize_t bt_gatt_attr_read_chrc(struct bt_conn *conn, const struct bt_gatt_attr *attr, void *buf, in bt_gatt_attr_read_chrc()
63 ssize_t bt_gatt_attr_read_ccc(struct bt_conn *conn, const struct bt_gatt_attr *attr, void *buf, in bt_gatt_attr_read_ccc()
70 ssize_t bt_gatt_attr_write_ccc(struct bt_conn *conn, const struct bt_gatt_attr *attr, in bt_gatt_attr_write_ccc()
204 static uint8_t gatt_foreach_iter(const struct bt_gatt_attr *attr, in gatt_foreach_iter()
264 struct bt_gatt_attr *attr = &svc->attrs[i]; in foreach_attr_type_dyndb()
329 static uint8_t found_attr(const struct bt_gatt_attr *attr, uint16_t handle, void *user_data) in found_attr()
331 const struct bt_gatt_attr **found = user_data; in found_attr()
339 static const struct bt_gatt_attr *find_attr(uint16_t handle) in find_attr()
[all …]
/Zephyr-latest/samples/bluetooth/peripheral_hids/src/
Dhog.c93 const struct bt_gatt_attr *attr, void *buf, in read_info()
101 const struct bt_gatt_attr *attr, void *buf, in read_report_map()
109 const struct bt_gatt_attr *attr, void *buf, in read_report()
116 static void input_ccc_changed(const struct bt_gatt_attr *attr, uint16_t value) in input_ccc_changed()
122 const struct bt_gatt_attr *attr, void *buf, in read_input_report()
129 const struct bt_gatt_attr *attr, in write_ctrl_point()

1234567