Home
last modified time | relevance | path

Searched refs:BT_GATT_ERR (Results 1 – 25 of 75) sorted by relevance

123

/Zephyr-latest/tests/bsim/bluetooth/ll/edtt/gatt_test_app/src/gatt/
Dservice_c_2_1.c218 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_value_v2()
221 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_value_v2()
272 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_long_des_v2d1()
275 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_long_des_v2d1()
304 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_value_v2_1()
307 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_value_v2_1()
358 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_long_des_v2d2()
361 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_long_des_v2d2()
390 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_value_v2_2()
393 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_value_v2_2()
[all …]
Dservice_c_2_2.c132 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_value_v2()
135 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_value_v2()
164 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_value_v2_1()
167 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_value_v2_1()
196 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_value_v2_2()
199 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_value_v2_2()
228 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_value_v2_3()
231 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_value_v2_3()
260 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_value_v2_4()
263 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_value_v2_4()
[all …]
Dservice_c_2_3.c132 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_value_v2()
135 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_value_v2()
164 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_value_v2_1()
167 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_value_v2_1()
196 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_value_v2_2()
199 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_value_v2_2()
228 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_value_v2_3()
231 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_value_v2_3()
260 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_value_v2_4()
263 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_value_v2_4()
[all …]
Dservice_b_5_1.c92 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_value_v8()
95 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_value_v8()
145 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_des_v8d1()
148 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_des_v8d1()
175 return BT_GATT_ERR(BT_ATT_ERR_AUTHORIZATION); in read_des_v8d2()
202 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_des_v8d2()
205 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_des_v8d2()
208 return BT_GATT_ERR(BT_ATT_ERR_AUTHORIZATION); in write_des_v8d2()
258 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_des_v8d3()
261 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_des_v8d3()
Dservice_c_1_3.c95 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_value_v9__128_bit_uuid()
98 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_value_v9__128_bit_uuid()
151 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_des_v9d2__128_bit_uuid()
154 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_des_v9d2__128_bit_uuid()
184 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_des_v9d3__128_bit_uuid()
187 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_des_v9d3__128_bit_uuid()
Dservice_c_1_2.c97 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_value_v9__128_bit_uuid()
100 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_value_v9__128_bit_uuid()
153 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_des_v9d2__128_bit_uuid()
156 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_des_v9d2__128_bit_uuid()
186 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_des_v9d3__128_bit_uuid()
189 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_des_v9d3__128_bit_uuid()
Dservice_a_1.c156 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_value_v2()
159 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_value_v2()
188 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_value_v2_1()
191 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_value_v2_1()
219 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_value_v3()
222 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_value_v3()
Dservice_c_1_1.c97 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_value_v9__128_bit_uuid()
100 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_value_v9__128_bit_uuid()
153 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_des_v9d2__128_bit_uuid()
156 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_des_v9d2__128_bit_uuid()
186 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_des_v9d3__128_bit_uuid()
189 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_des_v9d3__128_bit_uuid()
Dservice_b_1_1.c99 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_value_v4()
102 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_value_v4()
153 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_value_v4_1()
156 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_value_v4_1()
212 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_server_cha_con()
215 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_server_cha_con()
Dservice_a_2.c115 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_value_v2()
118 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_value_v2()
146 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_value_v3()
149 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_value_v3()
Dservice_a_3.c115 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_value_v2()
118 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_value_v2()
146 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_value_v3()
149 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_value_v3()
Dservice_b_4_1.c51 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_value_v7()
54 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_value_v7()
Dservice_b_4_2.c51 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_value_v7()
54 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_value_v7()
Dservice_b_4_3.c51 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_value_v7()
54 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_value_v7()
Dservice_b_2_1.c91 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_value_v5()
94 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_value_v5()
97 return BT_GATT_ERR(BT_ATT_ERR_AUTHORIZATION); in write_value_v5()
/Zephyr-latest/samples/bluetooth/eddystone/src/
Dmain.c194 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_slot()
200 return BT_GATT_ERR(BT_ATT_ERR_WRITE_NOT_PERMITTED); in write_slot()
215 return BT_GATT_ERR(BT_ATT_ERR_READ_NOT_PERMITTED); in read_tx_power()
230 return BT_GATT_ERR(BT_ATT_ERR_WRITE_NOT_PERMITTED); in write_tx_power()
234 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_tx_power()
249 return BT_GATT_ERR(BT_ATT_ERR_READ_NOT_PERMITTED); in read_adv_tx_power()
265 return BT_GATT_ERR(BT_ATT_ERR_WRITE_NOT_PERMITTED); in write_adv_tx_power()
269 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_adv_tx_power()
284 return BT_GATT_ERR(BT_ATT_ERR_WRITE_NOT_PERMITTED); in read_interval()
308 return BT_GATT_ERR(BT_ATT_ERR_WRITE_NOT_PERMITTED); in write_lock()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/misc/disable/src/
Dgatt_server_test.c67 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_test_chrc()
70 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_test_chrc()
75 return BT_GATT_ERR(BT_ATT_ERR_UNLIKELY); in write_test_chrc()
102 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_long_test_chrc()
105 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_long_test_chrc()
110 return BT_GATT_ERR(BT_ATT_ERR_SUCCESS); in write_long_test_chrc()
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/general/src/
Dgatt_server_test.c75 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_test_chrc()
78 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_test_chrc()
83 return BT_GATT_ERR(BT_ATT_ERR_UNLIKELY); in write_test_chrc()
110 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in write_long_test_chrc()
113 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_long_test_chrc()
118 return BT_GATT_ERR(BT_ATT_ERR_SUCCESS); in write_long_test_chrc()
/Zephyr-latest/subsys/bluetooth/audio/
Dbap_scan_delegator.c501 return BT_GATT_ERR(BT_ATT_ERR_WRITE_REQ_REJECTED); in scan_delegator_add_source()
508 return BT_GATT_ERR(BT_ATT_ERR_INSUFFICIENT_RESOURCES); in scan_delegator_add_source()
517 return BT_GATT_ERR(BT_ATT_ERR_VALUE_NOT_ALLOWED); in scan_delegator_add_source()
526 return BT_GATT_ERR(BT_ATT_ERR_VALUE_NOT_ALLOWED); in scan_delegator_add_source()
536 return BT_GATT_ERR(BT_ATT_ERR_WRITE_REQ_REJECTED); in scan_delegator_add_source()
544 return BT_GATT_ERR(BT_ATT_ERR_VALUE_NOT_ALLOWED); in scan_delegator_add_source()
553 return BT_GATT_ERR(BT_ATT_ERR_INSUFFICIENT_RESOURCES); in scan_delegator_add_source()
563 return BT_GATT_ERR(BT_ATT_ERR_WRITE_REQ_REJECTED); in scan_delegator_add_source()
571 return BT_GATT_ERR(BT_ATT_ERR_VALUE_NOT_ALLOWED); in scan_delegator_add_source()
585 return BT_GATT_ERR(BT_ATT_ERR_VALUE_NOT_ALLOWED); in scan_delegator_add_source()
[all …]
Daudio.c209 return BT_GATT_ERR(BT_ATT_ERR_READ_NOT_PERMITTED); in bt_audio_read_chrc()
217 return BT_GATT_ERR(err); in bt_audio_read_chrc()
230 return BT_GATT_ERR(BT_ATT_ERR_WRITE_NOT_PERMITTED); in bt_audio_write_chrc()
238 return BT_GATT_ERR(err); in bt_audio_write_chrc()
253 return BT_GATT_ERR(err); in bt_audio_ccc_cfg_write()
/Zephyr-latest/tests/bluetooth/audio/ascs/src/
Dtest_common.c124 zassert_false(ret < 0, "ase->read returned unexpected (err 0x%02x)", BT_GATT_ERR(ret)); in test_ase_id_get()
171 zassert_false(ret < 0, "cp_attr->write returned unexpected (err 0x%02x)", BT_GATT_ERR(ret)); in test_ase_control_client_config_codec()
196 zassert_false(ret < 0, "attr->write returned unexpected (err 0x%02x)", BT_GATT_ERR(ret)); in test_ase_control_client_config_qos()
211 zassert_false(ret < 0, "attr->write returned unexpected (err 0x%02x)", BT_GATT_ERR(ret)); in test_ase_control_client_enable()
225 zassert_false(ret < 0, "attr->write returned unexpected (err 0x%02x)", BT_GATT_ERR(ret)); in test_ase_control_client_disable()
239 zassert_false(ret < 0, "attr->write returned unexpected (err 0x%02x)", BT_GATT_ERR(ret)); in test_ase_control_client_release()
255 zassert_false(ret < 0, "attr->write returned unexpected (err 0x%02x)", BT_GATT_ERR(ret)); in test_ase_control_client_update_metadata()
269 zassert_false(ret < 0, "attr->write returned unexpected (err 0x%02x)", BT_GATT_ERR(ret)); in test_ase_control_client_receiver_start_ready()
283 zassert_false(ret < 0, "attr->write returned unexpected (err 0x%02x)", BT_GATT_ERR(ret)); in test_ase_control_client_receiver_stop_ready()
/Zephyr-latest/subsys/bluetooth/services/
Dtps.c32 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in read_tx_power_level()
38 return BT_GATT_ERR(BT_ATT_ERR_UNLIKELY); in read_tx_power_level()
Dcts.c130 return BT_GATT_ERR(BT_ATT_ERR_OUT_OF_RANGE); in read_ct()
141 return BT_GATT_ERR(BT_ATT_ERR_INSUFFICIENT_RESOURCES); in write_ct()
145 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in write_ct()
151 return BT_GATT_ERR(BT_CTS_ATT_ERR_VALUES_IGNORED); in write_ct()
156 return BT_GATT_ERR(BT_ATT_ERR_UNLIKELY); in write_ct()
/Zephyr-latest/subsys/bluetooth/services/ias/
Dias.c111 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in bt_ias_write_alert_lvl()
115 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in bt_ias_write_alert_lvl()
123 return BT_GATT_ERR(BT_ATT_ERR_VALUE_NOT_ALLOWED); in bt_ias_write_alert_lvl()
/Zephyr-latest/subsys/bluetooth/services/ots/
Dots_olcp.c251 return BT_GATT_ERR(BT_ATT_ERR_CCC_IMPROPER_CONF); in bt_gatt_ots_olcp_write()
256 return BT_GATT_ERR(BT_ATT_ERR_INVALID_OFFSET); in bt_gatt_ots_olcp_write()
261 return BT_GATT_ERR(BT_ATT_ERR_PROCEDURE_IN_PROGRESS); in bt_gatt_ots_olcp_write()
297 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in bt_gatt_ots_olcp_write()
300 return BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in bt_gatt_ots_olcp_write()
303 return BT_GATT_ERR(BT_ATT_ERR_UNLIKELY); in bt_gatt_ots_olcp_write()

123