zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
10.83k stars 6.6k forks source link

BLE MESH: mesh proxy server fails due to failed ext adv param update for mesh gatt advs #75918

Open m-alperen-sener opened 3 months ago

m-alperen-sener commented 3 months ago

Description

MESH GATT advertisements attempts fails after any bt_le_ext_adv_update_param(..) call. https://github.com/zephyrproject-rtos/zephyr/blob/main/subsys/bluetooth/mesh/adv_ext.c#L158

To Reproduce

Failing PTS test cases: with latest AutoPTS Most of the MESH/SR/PROX tests and MESH/SR/RPR/SCN tests. A few of them:

Expected behavior

Passing PTS tests

Impact

Ble Mesh RPR server and Proxy Server is not qualifiable

Logs and console output

[00:00:33.811,035] bt_mesh_adv_ext: Failed updating adv params : -105 [00:00:33.811,065] bt_mesh_gatt: Failed to advertise using type 0x02 (err -105) [00:00:33.811,096] bt_mesh_gatt: Advertising proxy failed (err: -105) [00:00:33.813,171] bt_mesh_adv_ext: Failed updating adv params : -105 [00:00:33.813,171] bt_mesh_gatt: Failed to advertise using type 0x02 (err -105) [00:00:33.813,201] bt_mesh_gatt: Advertising proxy failed (err: -105) [00:00:35.372,711] bt_mesh_crypto: Enc beacon: 0x02, 0x0000000b [00:00:38.806,823] bt_conn: Send auto LE param update failed (err -105) [00:00:52.816,009] bt_mesh_adv_ext: Failed updating adv params : -105 [00:00:52.816,040] bt_mesh_beacon: Failed to send beacon: err -105 [00:00:52.816,375] bt_mesh_adv_ext: Failed updating adv params : -105 [00:00:52.816,375] bt_mesh_gatt: Failed to advertise using type 0x02 (err -105) [00:00:52.816,406] bt_mesh_gatt: Advertising proxy failed (err: -105) [00:01:02.816,650] bt_mesh_adv_ext: Failed updating adv params : -105 [00:01:02.816,680] bt_mesh_beacon: Failed to send beacon: err -105 [00:01:02.817,108] bt_mesh_adv_ext: Failed updating adv params : -105 [00:01:02.817,108] bt_mesh_gatt: Failed to advertise using type 0x02 (err -105) [00:01:02.817,108] bt_mesh_gatt: Advertising proxy failed (err: -105) [00:01:12.817,352] bt_mesh_adv_ext: Failed updating adv params : -105 [00:01:12.817,382] bt_mesh_beacon: Failed to send beacon: err -105 [00:01:12.817,718] bt_mesh_adv_ext: Failed updating adv params : -105 [00:01:12.817,718] bt_mesh_gatt: Failed to advertise using type 0x02 (err -105) [00:01:12.817,749] bt_mesh_gatt: Advertising proxy failed (err: -105) [00:01:20.683,929] bt_mesh_adv_ext: Failed updating adv params : -105 [00:01:20.683,959] bt_mesh_gatt: Failed to advertise using type 0x02 (err -105) [00:01:20.683,959] bt_mesh_gatt: Advertising proxy failed (err: -105) [00:01:22.817,962] bt_mesh_adv_ext: Failed updating adv params : -105 [00:01:22.817,993] bt_mesh_beacon: Failed to send beacon: err -105 [00:01:22.818,572] bt_mesh_adv_ext: Failed updating adv params : -105 [00:01:22.818,572] bt_mesh_gatt: Failed to advertise using type 0x02 (err -105) [00:01:22.818,572] bt_mesh_gatt: Advertising proxy failed (err: -105)

github-actions[bot] commented 1 month ago

This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time.