This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[bluetooth]# endpoint.config /org/bluez/hci0/dev_36_99_49_AC_BE_BA/pac_bcast0 /local/endpoint | |
/bcaa/lc3 16_2_1 | |
bluetoothd[39]: profiles/audio/bap.c:setup_create_io() setup 0x5b9c860 stream 0x5b9cba0 defer true | |
==39== Invalid read of size 1 | |
==39== at 0x438159: btd_device_get_bdaddr_type (device.c:3221) | |
==39== by 0x38F32B: setup_listen_io_broadcast (bap.c:1924) | |
==39== by 0x38F32B: setup_create_bcast_io (bap.c:2018) | |
==39== by 0x38F32B: setup_create_io (bap.c:2038) | |
==39== by 0x390B99: bap_state (bap.c:2072) | |
==39== by 0x4ED261: bap_stream_state_changed (bap.c:1318) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
< HCI Command: LE Set Extended Advertising Parameters (0x08|0x0036) plen 25 #3119 [hci3] 16:19:47.643733 | |
Handle: 0x01 | |
Properties: 0x0000 | |
Min advertising interval: 480.000 msec (0x0300) | |
Max advertising interval: 480.000 msec (0x0300) | |
Channel map: 37, 38, 39 (0x07) | |
Own address type: Random (0x01) | |
Peer address type: Public (0x00) | |
Peer address: 00:00:00:00:00:00 (OUI 00-00-00) | |
Filter policy: Allow Scan Request from Any, Allow Connect Request from Any (0x00) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[bluetooth]# endpoint.list | |
Endpoint /org/bluez/hci0/pac_bcast0 | |
[bluetooth]# endpoint.list local | |
/local/endpoint/ep0 | |
/local/endpoint/ep1 | |
/local/endpoint/ep2 | |
[bluetooth]# endpoint.config /org/bluez/hci0/pac_bcast0 /local/endpoint/ep2 16_2_1 | |
Configuration.#0: len 0x28 type 0x00 | |
Configuration.Unable to pull value | |
Framing 0x00 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://launchstudio.bluetooth.com/ListingDetails/152342 Gallagher Group [possible contacts: Xigang.Feng@gallagher.com] | |
https://launchstudio.bluetooth.com/ListingDetails/175598 Avnet Embedded GmbH [possible contacts: Staude, Oliver (Avnet Silica) <Oliver.Staude@avnet.eu>] | |
https://launchstudio.bluetooth.com/ListingDetails/152342 Lexmark International Inc. | |
https://launchstudio.bluetooth.com/ListingDetails/146420 NVIDIA Corporation | |
https://launchstudio.bluetooth.com/ListingDetails/132311 Amlogic, Inc. | |
https://launchstudio.bluetooth.com/ListingDetails/125961 Realsil Microelectronics (Suzhou) Co. Ltd. [possible contacts: alex_lu@realsil.com.cn] | |
https://launchstudio.bluetooth.com/ListingDetails/125934 SKF France | |
https://launchstudio.bluetooth.com/ListingDetails/104405 Xradio Technology Co.,Ltd. | |
https://launchstudio.bluetooth.com/ListingDetails/110185 Workaround Gmbh | |
https://launchstudio.bluetooth.com/ListingDetails/92249 NXP B.V. [possible contacts: Ron Wong ron.wong@nxp.com] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c | |
index 2ad7b9f86f74..f9a8fb9fcce2 100644 | |
--- a/net/bluetooth/hci_event.c | |
+++ b/net/bluetooth/hci_event.c | |
@@ -750,9 +750,12 @@ static u8 hci_cc_read_enc_key_size(struct hci_dev *hdev, void *data, | |
} else { | |
conn->enc_key_size = rp->key_size; | |
status = 0; | |
+ | |
+ if (conn->enc_key_size < hdev->min_enc_key_size) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/net/bluetooth/hci_conn.c b/net/bluetooth/hci_conn.c | |
index a13408183022..1b610edbd0ee 100644 | |
--- a/net/bluetooth/hci_conn.c | |
+++ b/net/bluetooth/hci_conn.c | |
@@ -300,6 +300,9 @@ static int configure_datapath_sync(struct hci_dev *hdev, struct bt_codec *codec) | |
__u8 vnd_len, *vnd_data = NULL; | |
struct hci_op_configure_data_path *cmd = NULL; | |
+ if (!codec->data_path || !hdev->get_codec_config_data) | |
+ return 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/shared/vcp.c b/src/shared/vcp.c | |
index 06a22997a95c..070b7a94331e 100644 | |
--- a/src/shared/vcp.c | |
+++ b/src/shared/vcp.c | |
@@ -709,12 +709,14 @@ static uint8_t vocs_set_vol_offset(struct bt_vocs *vocs, struct bt_vcp *vcp, | |
return BT_ATT_ERROR_INVALID_CHANGE_COUNTER; | |
} | |
- if (req->set_vol_offset > VOCS_VOL_OFFSET_UPPER_LIMIT || | |
- req->set_vol_offset < VOCS_VOL_OFFSET_LOWER_LIMIT) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
index f2c04d184a08..06a22997a95c 100644 | |
--- a/src/shared/vcp.c | |
+++ b/src/shared/vcp.c | |
@@ -956,13 +956,12 @@ static void vocs_voal_read(struct gatt_db_attribute *attrib, | |
void *user_data) | |
{ | |
struct bt_vocs *vocs = user_data; | |
- struct iovec iov; | |
+ uint32_t loc; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/unit/test-micp.c b/unit/test-micp.c | |
index e2975c298ec5..02c099961d71 100644 | |
--- a/unit/test-micp.c | |
+++ b/unit/test-micp.c | |
@@ -147,7 +147,7 @@ static void micp_write_value(struct bt_micp *micp, void *user_data) | |
struct bt_mics *mics = micp_get_mics(micp); | |
uint16_t value_handle; | |
int ret; | |
- const uint16_t value = 0x0001; | |
+ const uint16_t value = cpu_to_le16(0x0001); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# client/bluetoothctl -a auto -s client/scripts/endpoint-register-ahp.bt | |
[bluetooth]# bluetoothd[37]: src/agent.c:add_default_agent() Default agent set to :1.4 /org/bluez/agent | |
bluetoothd[37]: src/adapter.c:set_mode() sending set mode command for index 0 | |
bluetoothd[37]: src/agent.c:agent_ref() 0x55717376a400: ref=1 | |
bluetoothd[37]: src/agent.c:register_agent() agent :1.4 | |
bluetoothd[37]: src/shared/mgmt.c:send_request() [0x0000] command 0x0009 | |
endpoint.register 00002bc9-0000-1000-8000-00805f9b34fb 0xf8 | |
[bluetooth]# bluetoothd[37]: src/shared/mgmt.c:can_read_data() [0x0000] command 0x0009 complete: 0x00 | |
bluetoothd[37]: src/adapter.c:new_settings_callback() Settings: 0x003c0a11 | |
bluetoothd[37]: src/adapter.c:settings_changed() Changed settings: 0x00000010 |