Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/bluetooth/audio/
Dascs.c69 #define ASE_ID(_ase) ase->ep.status.id
186 static void ase_free(struct bt_ascs_ase *ase) in ase_free() argument
188 __ASSERT(ase && ase->conn, "Non-existing ASE"); in ase_free()
190 LOG_DBG("conn %p ase %p id 0x%02x", (void *)ase->conn, ase, ase->ep.status.id); in ase_free()
192 if (ase->ep.iso != NULL) { in ase_free()
193 bt_bap_iso_unbind_ep(ase->ep.iso, &ase->ep); in ase_free()
196 bt_conn_unref(ase->conn); in ase_free()
197 ase->conn = NULL; in ase_free()
199 (void)k_work_cancel_delayable(&ase->disconnect_work); in ase_free()
200 (void)k_work_cancel_delayable(&ase->state_transition_work); in ase_free()
[all …]
Dascs_internal.h130 uint8_t ase; member
153 uint8_t ase; member
184 uint8_t ase; member
203 uint8_t ase[0]; member
211 uint8_t ase[0]; member
219 uint8_t ase[0]; member
235 uint8_t ase[0]; member
Dbap_unicast_client.c1934 req->ase = ep->status.id; in unicast_client_ep_config()
1978 req->ase = ep->status.id; in bt_bap_unicast_client_ep_qos()
2012 req->ase = ep->status.id; in unicast_client_ep_enable()
2045 req->ase = ep->status.id; in unicast_client_ep_metadata()
/Zephyr-latest/tests/bluetooth/audio/ascs/src/
Dtest_ase_control_params.c36 const struct bt_gatt_attr *ase; member
70 test_ase_snk_get(CONFIG_BT_ASCS_MAX_ASE_SNK_COUNT, &fixture->ase); in test_ase_control_params_before()
72 test_ase_src_get(CONFIG_BT_ASCS_MAX_ASE_SRC_COUNT, &fixture->ase); in test_ase_control_params_before()
549 const uint8_t ase_id = test_ase_id_get(fixture->ase); in ZTEST_F()
579 const uint8_t ase_id = test_ase_id_get(fixture->ase); in ZTEST_F()
601 const uint8_t ase_id = test_ase_id_get(fixture->ase); in ZTEST_F()
624 const uint8_t ase_id = test_ase_id_get(fixture->ase); in ZTEST_F()
667 const uint8_t ase_id = test_ase_id_get(fixture->ase); in ZTEST_F()
689 const uint8_t ase_id = test_ase_id_get(fixture->ase); in ZTEST_F()
703 const uint8_t ase_id = test_ase_id_get(fixture->ase); in ZTEST_F()
[all …]
Dtest_ase_state_transition.c43 } ase; member
74 test_ase_snk_get(1, &fixture->ase.attr); in test_ase_snk_state_transition_before()
75 if (fixture->ase.attr != NULL) { in test_ase_snk_state_transition_before()
76 fixture->ase.id = test_ase_id_get(fixture->ase.attr); in test_ase_snk_state_transition_before()
100 test_ase_src_get(CONFIG_BT_ASCS_MAX_ASE_SRC_COUNT, &fixture->ase.attr); in test_ase_src_state_transition_before()
101 if (fixture->ase.attr != NULL) { in test_ase_src_state_transition_before()
102 fixture->ase.id = test_ase_id_get(fixture->ase.attr); in test_ase_src_state_transition_before()
135 uint8_t ase_id = fixture->ase.id; in ZTEST_F()
149 uint8_t ase_id = fixture->ase.id; in ZTEST_F()
167 uint8_t ase_id = fixture->ase.id; in ZTEST_F()
[all …]
Dmain.c153 const struct bt_gatt_attr *ase = fixture->ase_snk.attr; in ZTEST_F() local
161 ret = ase->read(conn, ase, &hdr, sizeof(hdr), 0); in ZTEST_F()
169 const struct bt_gatt_attr *ase; in ZTEST_F() local
177 ase = fixture->ase_snk.attr; in ZTEST_F()
180 ase = fixture->ase_src.attr; in ZTEST_F()
184 zexpect_not_null(ase); in ZTEST_F()
204 expect_bt_gatt_notify_cb_called_once(conn, ase->uuid, ase, EMPTY, sizeof(*hdr)); in ZTEST_F()
254 const struct bt_gatt_attr *ase; in ZTEST_F() local
260 ase = fixture->ase_snk.attr; in ZTEST_F()
263 ase = fixture->ase_src.attr; in ZTEST_F()
[all …]
Dtest_common.c118 uint8_t test_ase_id_get(const struct bt_gatt_attr *ase) in test_ase_id_get() argument
123 ret = ase->read(NULL, ase, &hdr, sizeof(hdr), 0); in test_ase_id_get()
Dtest_ase_state_transition_invalid.c360 static void expect_ase_state_releasing(struct bt_conn *conn, const struct bt_gatt_attr *ase) in expect_ase_state_releasing() argument
366 zexpect_not_null(ase); in expect_ase_state_releasing()
368 ret = ase->read(conn, ase, &hdr, sizeof(hdr), 0); in expect_ase_state_releasing()
/Zephyr-latest/tests/bluetooth/audio/ascs/include/
Dtest_common.h43 uint8_t test_ase_id_get(const struct bt_gatt_attr *ase);
/Zephyr-latest/doc/connectivity/bluetooth/shell/audio/
Dbap.rst647 *0: ase 0x01 dir 0x01 state 0x01
662 uart:~$ bap select <ase>
/Zephyr-latest/doc/releases/
Drelease-notes-3.3.rst3157 * :github:`52838` - Bluetooth: audio:invalid ase state transition