Closed malachib closed 5 months ago
@malachib Hi, Can you provide us with the example code that reproduces this issue and the corresponding sdkconfig file? Thanks
How's this? 09APR24.PGESP-49-1.tar.gz
@malachib When I compile the code you provided, I get some compilation issues. Have you made any changes to the ESP-IDF(commit:commit e7771c75bd1dbbfb7b3c5381be7e063b197c9734 (HEAD, tag: v5.1.3))? Please help check it. Thanks
@malachib Please enable BT_LE_CONTROLLER_LOG_ENABLED configuration in (top) -> Component Configuration -> Bluetooth -> Controller Options and reproduce the issue. When issue occurs, some logs are generated starting with the [DUMP_START: tag. Please help provide the log. Thanks.
@malachib When I compile the code you provided, I get some compilation issues. Have you made any changes to the ESP-IDF(commit:commit e7771c7 (HEAD, tag: v5.1.3))? Please help check it. Thanks
I made a mistake there are some external project dependencies I didn't account for prohibiting compilation - my apologies. No changes to ESP-IDF itself.
I'll get that sorted after I wake up tomorrow and get you an update. And I will try the log suggestion also
EDIT: I've invited you to a mirror which has the source in src/PGESP-49/poc1
folder. If you're OK with that after doing a git submodule update I expect the various dependencies to resolve and for you to be able to compile it
OK I pared down the proof of concept. You can either look at the repo I invited you to, or same code here in the zip: 09APR24.PGESP-49-3.tar.gz
With BT_LE_CONTROLLER_LOG_ENABLED:
BLE assert: line 1444 in function r_ble_lll_sched_check_remaining_entries, param: 0x1, 0x6000
[DUMP_START:0e 00 00 00 00 00 1d 00 25 80 00 00 00 00 d0 00 00 00
12 00 00 00 00 00 09 00 49 20 02 00 00 00 00 01 00 00 87 00 00 00
0e 00 00 00 00 00 1d 00 25 80 00 00 00 00 d0 00 00 00
0e 00 00 00 00 00 1d 00 25 80 00 00 00 00 d0 00 00 00
12 00 00 00 00 00 08 00 49 20 00 01 00 00 40 01 00 00 c5 00 00 00
0f 00 2f 00 00 00 02 00 4a 20 0e 03 01 00 00 bc 00 00 00
0a 00 01 1d 00 00 05 00 27 20 74 00 00 00
0e 00 e5 28 00 00 10 00 64 28 08 b3 82 40 34 03 00 00
0e 00 ce 2c 00 00 10 00 64 28 58 b3 82 40 71 03 00 00
0a 00 2c 2f 00 00 12 00 64 28 03 01 00 00
0d 00 00 a5 00 00 00 00 2a 20 03 0c 00 0b 01 00 00
0a 00 14 a5 00 00 05 00 27 20 0f 01 00 00
0a 00 1e a5 00 00 05 00 27 20 19 01 00 00
0a 00 28 a5 00 00 61 00 01 40 79 01 00 00
0a 00 32 a5 00 00 0d 00 01 40 2f 01 00 00
0a 00 be a5 00 00 06 00 02 40 b5 01 00 00
16 00 ca a8 00 00 04 00 06 40 08 00 00 00 00 00 00 00 ff 00 00 00 d9 02 00 00
10 00 f2 a8 00 00 02 00 4a 20 0e 04 01 03 0c 00 38 02 00 00
0e 00 d2 aa 00 00 00 00 2a 20 31 0c 01 01 13 02 00 00
10 00 f0 aa 00 00 02 00 4a 20 0e 04 01 31 0c 00 66 02 00 00
12 00 ea ab 00 00 00 00 2a 20 09 fd 05 01 64 00 14 00 75 03 00 00
10 00 08 ac 00 00 02 00 4a 20 0e 04 01 09 fd 00 49 02 00 00
14 00 02 ad 00 00 00 00 2a 20 33 0c 07 9b 06 ff 14 00 0a 00 11 03 00 00
10 00 0c ad 00 00 02 00 4a 20 0e 04 01 33 0c 00 87 01 00 00
0d 00 06 ae 00 00 00 00 2a 20 01 10 00 1c 01 00 00
18 00 10 ae 00 00 02 00 4a 20 0e 0c 01 01 10 00 0c 00 00 0c e5 02 00 00 6d 02 00 00
0d 00 14 af 00 00 00 00 2a 20 09 10 00 33 01 00 00
16 00 1e af 00 00 02 00 4a 20 0e 0a 01 09 10 00 2e 9f 44 ca 4c 40 e8 03 00 00
0d 00 18 b0 00 00 00 00 2a 20 02 10 00 31 01 00 00
50 00 22 b0 00 00 02 00 4a 20 0e 44 01 02 10 00 20 00 00 00 00 40 00 00 00 00 e0 00 00 00 28 22 00 00 00 00 00 00 00 00 00 f7 ff ff 7f 00 00 00 00 f0 f9 ff ff ff ff 07 e0 03 00 04 f9 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 bd 0e 00 00
0d 00 30 b1 00 00 00 00 2a 20 0f 20 00 67 01 00 00
11 00 6c b1 00 00 02 00 4a 20 0e 05 01 0f 20 00 0c e9 01 00 00
0d 00 66 b2 00 00 00 00 2a 20 02 20 00 91 01 00 00
13 00 7a b2 00 00 02 00 4a 20 0e 07 01 02 20 00 05 02 0a f4 01 00 00
0d 00 74 b3 00 00 00 00 2a 20 1c 20 00 ba 01 00 00
18 00 88 b3 00 00 02 00 4a 20 0e 0c 01 1c 20 00 ff ff ff ff ff 03 00 00 14 07 00 00
0d 00 82 b4 00 00 00 00 2a 20 03 20 00 b0 01 00 00
18 00 96 b4 00 00 02 00 4a 20 0e 0c 01 03 20 00 ff 79 01 0f 90 00 00 00 24 04 00 00
0d 00 90 b5 00 00 00 00 2a 20 2a 20 00 e6 01 00 00
11 00 a4 b5 00 00 02 00 4a 20 0e 05 01 2a 20 00 04 38 02 00 00
11 00 9e b6 00 00 00 00 2a 20 24 20 04 fb 00 90 42 c4 03 00 00
10 00 d0 b6 00 00 02 00 4a 20 0e 04 01 24 20 00 59 02 00 00
0d 00 ca b7 00 00 00 00 2a 20 23 20 00 1b 02 00 00
14 00 d4 b7 00 00 02 00 4a 20 0e 08 01 23 20 00 fb 00 90 42 32 04 00 00
15 00 d8 b8 00 00 00 00 2a 20 01 20 08 ff ff ff 00 00 00 00 00 15 05 00 00
10 00 e2 b8 00 00 02 00 4a 20 0e 04 01 01 20 00 4a 02 00 00
15 00 dc b9 00 00 00 00 2a 20 01 0c 08 ff ff ff ff ff ff bf 3d ff 08 00 00
10 00 e6 b9 00 00 02 00 4a 20 0e 04 01 01 0c 00 3b 02 00 00
0d 00 94 bb 00 00 00 00 2a 20 29 20 00 ef 01 00 00
10 00 b2 bb 00 00 02 00 4a 20 0e 04 01 29 20 00 45 02 00 00
0f 00 c0 bc 00 00 00 00 2a 20 2e 20 02 84 03 ac 02 00 00
10 00 ca bc 00 00 02 00 4a 20 0e 04 01 2e 20 00 63 02 00 00
34 00 5e bf 00 00 00 00 2a 20 27 20 27 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 22 eb 23 0f 38 37 c9 f2 18 28 84 39 42 81 0b 74 b1 07 00 00
10 00 f8 c0 00 00 02 00 4a 20 0e 04 01 27 20 00 8e 02 00 00
0d 00 42 c2 00 00 00 00 2a 20 14 0c 00 7b 01 00 00
10 00 4c c2 00 00 02 00 4a 20 0e 04 01 14 0c 01 be 01 00 00
2d 00 f0 c8 00 00 00 00 2a 20 08 20 20 1a 02 01 06 0c 09 50 47 51 54 2d 34 39 2e 33 3a 3a 03 03 ff 00 05 12 00 01 00 02 00 00 00 00 00 79 06 00 00
12 00 5e c9 00 00 00 00 85 20 00 00 00 00 a8 f2 87 40 3f 04 00 00
0e 00 7c c9 00 00 11 00 45 20 01 00 00 00 ca 01 00 00
12 00 90 c9 00 00 08 00 c5 20 1e 00 00 00 78 00 00 00 ee 02 00 00
16 00 9a c9 00 00 0e 00 45 20 18 e0 81 40 01 00 00 00 a8 f2 87 40 07 06 00 00
0e 00 b8 c9 00 00 11 00 45 20 04 00 00 00 09 02 00 00
12 00 b8 c9 00 00 08 00 c5 20 46 00 00 00 18 01 00 00 df 02 00 00
16 00 c2 c9 00 00 0e 00 45 20 90 ec 81 40 04 00 00 00 a8 f2 87 40 b6 06 00 00
0e 00 cc c9 00 00 11 00 45 20 02 00 00 00 1b 02 00 00
12 00 d6 c9 00 00 08 00 c5 20 05 00 00 00 14 00 00 00 b7 02 00 00
16 00 d6 c9 00 00 0e 00 45 20 5c e2 81 40 02 00 00 00 a8 f2 87 40 8a 06 00 00
12 00 ea c9 00 00 23 00 85 21 a4 ec 81 40 5c 00 00 00 3b 05 00 00
12 00 f4 c9 00 00 21 00 45 21 a6 ec 81 40 1a 00 00 00 c3 04 00 00
10 00 1c ca 00 00 02 00 4a 20 0e 04 01 08 20 00 9d 01 00 00
0e 00 d8 d6 00 00 00 00 2a 20 0a 20 01 00 31 02 00 00
10 00 00 d7 00 00 02 00 4a 20 0e 04 01 0a 20 00 90 01 00 00
1c 00 0e d8 00 00 00 00 2a 20 06 20 0f 00 01 00 02 00 00 00 00 00 00 00 00 00 07 00 8b 01 00 00
10 00 40 d8 00 00 02 00 4a 20 0e 04 01 06 20 00 cd 01 00 00
0e 00 3a d9 00 00 00 00 2a 20 0a 20 01 00 96 01 00 00
10 00 4e d9 00 00 02 00 4a 20 0e 04 01 0a 20 00 e0 01 00 00
0e 00 5c da 00 00 00 00 2a 20 0a 20 01 01 ba 01 00 00
10 00 9f 1e 00 00 02 00 4a 20 0e 04 01 0a 20 00 76 01 00 00
2d 00 9c 4a 00 00 00 00 2a 20 09 20 20 1d 02 01 06 0c 09 50 47 51 54 2d 34 39 2e 33 3a 3a 02 0a 09 03 03 ff 00 05 12 00 01 00 02 00 00 c0 05 00 00
10 00 40 4c 00 00 02 00 4a 20 0e 04 01 09 20 00 44 01 00 00
16 00 ca da 00 00 04 00 06 40 00 00 00 00 01 00 00 00 00 00 00 00 05 02 00 00
0a 00 42 db 00 00 00 00 00 40 67 01 00 00
16 00 6a db 00 00 0b 00 45 20 2c 00 00 00 0c 00 00 00 84 b2 82 40 fb 03 00 00
0e 00 74 db 00 00 12 00 45 20 04 00 00 00 d8 01 00 00
12 00 74 db 00 00 08 00 c5 20 0c 00 00 00 48 01 00 00 a3 02 00 00
16 00 7e db 00 00 0e 00 45 20 84 b2 82 40 04 00 00 00 a8 f2 87 40 3f 06 00 00
0e 00 88 db 00 00 11 00 45 20 02 00 00 00 e9 01 00 00
12 00 88 db 00 00 08 00 c5 20 05 00 00 00 28 00 00 00 8f 02 00 00
16 00 92 db 00 00 0e 00 45 20 44 e2 81 40 02 00 00 00 a8 f2 87 40 40 06 00 00
12 00 c4 db 00 00 21 00 45 21 9a b2 82 40 1a 00 00 00 60 04 00 00
16 00 ce db 00 00 0b 00 45 20 12 00 00 00 06 00 00 00 b8 b2 82 40 73 04 00 00
0e 00 d8 db 00 00 12 00 45 20 04 00 00 00 3c 02 00 00
12 00 e2 db 00 00 08 00 c5 20 06 00 00 00 60 01 00 00 23 03 00 00
16 00 e2 db 00 00 0e 00 45 20 b8 b2 82 40 04 00 00 00 a8 f2 87 40 d7 06 00 00
16 00 ec db 00 00 0b 00 45 20 10 00 00 00 05 00 00 00 d4 b2 82 40 aa 04 00 00
0e 00 f6 db 00 00 12 00 45 20 02 00 00 00 58 02 00 00
12 00 f6 db 00 00 08 00 c5 20 05 00 00 00 3c 00 00 00 11 03 00 00
16 00 00 dc 00 00 0e 00 45 20 d4 b2 82 40 02 00 00 00 a8 f2 87 40 10 06 00 00
16 00 1e dc 00 00 0b 00 45 20 10 00 00 00 05 00 00 00 ec b2 82 40 f5 03 00 00
0e 00 1e dc 00 00 12 00 45 20 02 00 00 00 81 01 00 00
12 00 28 dc 00 00 08 00 c5 20 05 00 00 00 50 00 00 00 58 02 00 00
16 00 28 dc 00 00 0e 00 45 20 ec b2 82 40 02 00 00 00 a8 f2 87 40 50 06 00 00
16 00 3c dc 00 00 1b 00 25 21 08 00 00 00 00 00 00 00 a8 f2 87 40 f8 03 00 00
16 00 46 dc 00 00 1b 00 25 21 02 00 00 00 00 00 00 00 a8 f2 87 40 fc 03 00 00
12 00 64 dc 00 00 00 00 26 40 04 00 0d 0d 00 00 00 00 d6 01 00 00
0e 00 78 dc 00 00 05 00 00 20 00 00 00 00 87 01 00 00
0e 00 78 dc 00 00 06 00 00 20 00 00 00 00 88 01 00 00
0e 00 a0 dc 00 00 11 00 45 20 00 00 00 00 00 02 00 00
12 00 a0 dc 00 00 08 00 c5 20 13 00 00 00 4c 00 00 00 da 02 00 00
16 00 aa dc 00 00 0e 00 45 20 6c db 81 40 00 00 00 00 a8 f2 87 40 78 06 00 00
16 00 be dc 00 00 0b 00 45 20 48 00 00 00 13 00 00 00 04 b3 82 40 f4 03 00 00
0e 00 be dc 00 00 12 00 45 20 00 00 00 00 1f 02 00 00
12 00 c8 dc 00 00 08 00 c5 20 13 00 00 00 98 00 00 00 4e 03 00 00
16 00 c8 dc 00 00 0e 00 45 20 04 b3 82 40 00 00 00 00 a8 f2 87 40 07 06 00 00
16 00 dc dc 00 00 0b 00 45 20 48 00 00 00 13 00 00 00 54 b3 82 40 62 04 00 00
0e 00 dc dc 00 00 12 00 45 20 00 00 00 00 3d 02 00 00
12 00 e6 dc 00 00 08 00 c5 20 13 00 00 00 e4 00 00 00 b8 03 00 00
16 00 e6 dc 00 00 0e 00 45 20 54 b3 82 40 00 00 00 00 a8 f2 87 40 75 06 00 00
0e 00 28 1d 00 00 0d 00 44 20 00 00 00 00 c4 00 00 00
12 00 35 1d 00 00 00 00 26 40 09 ff ff ff 00 00 00 00 d0 03 00 00
0e 00 55 1d 00 00 0d 00 44 20 00 00 00 00 f1 00 00 00
0e 00 5f 1d 00 00 0d 00 44 20 00 00 00 00 fb 00 00 00
16 00 7b 1d 00 00 17 00 25 21 00 00 00 00 03 00 00 00 a8 f2 87 40 6f 03 00 00
12 00 8e 1d 00 00 1a 00 25 21 00 00 00 00 00 00 00 00 1d 01 00 00
16 00 a7 1d 00 00 1c 00 05 21 00 00 00 00 03 00 00 00 a8 f2 87 40 80 03 00 00
16 00 ba 1d 00 00 0b 00 45 20 10 00 00 00 05 00 00 00 c8 b3 82 40 af 03 00 00
0e 00 be 1d 00 00 12 00 45 20 02 00 00 00 62 01 00 00
12 00 c3 1d 00 00 08 00 c5 20 05 00 00 00 64 00 00 00 48 02 00 00
16 00 cb 1d 00 00 0e 00 45 20 c8 b3 82 40 02 00 00 00 a8 f2 87 40 11 06 00 00
16 00 d8 1d 00 00 0b 00 45 20 1d 01 00 00 49 00 00 00 e0 b3 82 40 37 04 00 00
0e 00 dc 1d 00 00 12 00 45 20 03 00 00 00 81 01 00 00
12 00 df 1d 00 00 08 00 c5 20 49 00 00 00 24 01 00 00 69 02 00 00
16 00 e2 1d 00 00 0e 00 45 20 e0 b3 82 40 03 00 00 00 a8 f2 87 40 41 06 00 00
0e 00 f0 1d 00 00 09 00 0d 20 cc b3 82 40 92 03 00 00
12 00 f8 1d 00 00 0a 00 0d 20 f0 b2 82 40 cc b3 82 40 03 06 00 00
16 00 03 1e 00 00 0b 00 45 20 10 00 00 00 05 00 00 00 08 b5 82 40 3b 02 00 00
0e 00 07 1e 00 00 12 00 45 20 02 00 00 00 ac 00 00 00
12 00 0a 1e 00 00 08 00 c5 20 05 00 00 00 78 00 00 00 a4 01 00 00
16 00 0d 1e 00 00 0e 00 45 20 08 b5 82 40 02 00 00 00 a8 f2 87 40 96 04 00 00
16 00 19 1e 00 00 0b 00 45 20 1d 01 00 00 49 00 00 00 20 b5 82 40 bb 02 00 00
0e 00 1d 1e 00 00 12 00 45 20 03 00 00 00 c3 00 00 00
12 00 20 1e 00 00 08 00 c5 20 49 00 00 00 48 02 00 00 d0 01 00 00
16 00 22 1e 00 00 0e 00 45 20 20 b5 82 40 03 00 00 00 a8 f2 87 40 c4 04 00 00
0e 00 26 1e 00 00 09 00 0d 20 0c b5 82 40 0b 02 00 00
12 00 28 1e 00 00 0a 00 0d 20 f0 b2 82 40 0c b5 82 40 76 04 00 00
16 00 33 1e 00 00 0b 00 45 20 10 00 00 00 05 00 00 00 48 b6 82 40 ac 02 00 00
0e 00 37 1e 00 00 12 00 45 20 02 00 00 00 dc 00 00 00
12 00 3a 1e 00 00 08 00 c5 20 05 00 00 00 8c 00 00 00 e8 01 00 00
16 00 3d 1e 00 00 0e 00 45 20 48 b6 82 40 02 00 00 00 a8 f2 87 40 07 05 00 00
16 00 49 1e 00 00 0b 00 45 20 1d 01 00 00 49 00 00 00 60 b6 82 40 2c 03 00 00
0e 00 4d 1e 00 00 12 00 45 20 03 00 00 00 f3 00 00 00
12 00 4f 1e 00 00 08 00 c5 20 49 00 00 00 6c 03 00 00 24 02 00 00
16 00 52 1e 00 00 0e 00 45 20 60 b6 82 40 03 00 00 00 a8 f2 87 40 35 05 00 00
0e 00 56 1e 00 00 09 00 0d 20 4c b6 82 40 7c 02 00 00
12 00 58 1e 00 00 0a 00 0d 20 f0 b2 82 40 4c b6 82 40 e7 04 00 00
12 00 5d 1e 00 00 1c 00 25 21 01 00 00 00 03 00 00 00 f3 00 00 00
12 00 62 1e 00 00 17 00 25 21 01 00 00 00 a8 f2 87 40 51 03 00 00
0e 00 65 1e 00 00 16 00 25 21 a8 f2 87 40 4e 03 00 00
0e 00 68 1e 00 00 16 00 25 21 a8 f2 87 40 51 03 00 00
0e 00 6b 1e 00 00 06 00 24 20 00 00 00 00 e1 00 00 00
16 00 6e 1e 00 00 00 00 24 20 70 db 81 40 d7 24 00 00 01 00 00 00 ee 03 00 00
12 00 71 1e 00 00 0c 00 24 20 00 00 00 00 00 00 00 00 f1 00 00 00
16 00 74 1e 00 00 00 00 24 20 08 b3 82 40 cc 29 00 00 01 00 00 00 5f 03 00 00
12 00 77 1e 00 00 0c 00 24 20 70 db 81 40 00 00 00 00 03 03 00 00
16 00 79 1e 00 00 00 00 24 20 58 b3 82 40 c1 2e 00 00 01 00 00 00 ae 03 00 00
12 00 7d 1e 00 00 0c 00 24 20 08 b3 82 40 00 00 00 00 7a 02 00 00
0a 00 80 1e 00 00 00 00 64 20 2c 01 00 00
0e 00 84 1e 00 00 11 00 64 20 70 db 81 40 51 03 00 00
12 00 0b 29 00 00 15 00 04 20 70 db 81 40 40 00 00 00 cb 02 00 00
16 00 1b 29 00 00 1b 00 25 21 04 00 00 00 00 00 00 00 a8 f2 87 40 20 03 00 00
0e 00 32 29 00 00 25 00 80 20 03 03 25 00 59 01 00 00
12 00 39 29 00 00 23 00 e0 60 40 00 00 00 03 00 00 00 1a 02 00 00
16 00 58 29 00 00 01 00 0d 20 f0 b2 82 40 0c b5 82 40 00 00 00 00 ac 04 00 00
0e 00 64 29 00 00 02 00 0d 20 cc b3 82 40 0b 03 00 00
16 00 68 29 00 00 01 00 0d 20 cc b3 82 40 0c b5 82 40 00 00 00 00 99 04 00 00
0e 00 74 29 00 00 27 00 a0 20 cc b3 82 40 d3 03 00 00
0e 00 a9 29 00 00 08 00 0d 20 cc b3 82 40 56 03 00 00
12 00 ad 29 00 00 0a 00 0d 20 0c b5 82 40 cc b3 82 40 e3 04 00 00
16 00 b0 29 00 00 01 00 0d 20 0c b5 82 40 0c b5 82 40 00 00 00 00 23 04 00 00
0e 00 e1 29 00 00 5b 00 41 20 00 00 00 00 d4 01 00 00
12 00 d8 2c 00 00 15 00 04 20 08 b3 82 40 00 00 00 00 cc 02 00 00
16 00 db 2c 00 00 1b 00 25 21 04 00 00 00 00 00 00 00 a8 f2 87 40 e3 03 00 00
0e 00 e0 2c 00 00 25 00 80 20 02 02 26 00 09 02 00 00
16 00 e6 2c 00 00 01 00 0d 20 0c b5 82 40 4c b6 82 40 00 00 00 00 9d 04 00 00
0e 00 e9 2c 00 00 27 00 a0 20 0c b5 82 40 8d 03 00 00
0e 00 f0 2c 00 00 08 00 0d 20 0c b5 82 40 e2 02 00 00
12 00 f3 2c 00 00 0a 00 0d 20 4c b6 82 40 0c b5 82 40 af 04 00 00
16 00 f7 2c 00 00 01 00 0d 20 4c b6 82 40 4c b6 82 40 00 00 00 00 ef 04 00 00
0e 00 fe 2c 00 00 5b 00 41 20 00 00 00 00 f4 01 00 00
12 00 36 2f 00 00 15 00 04 20 58 b3 82 40 00 00 00 00 7d 02 00 00
0e 00 39 2f 00 00 16 00 04 20 88 ef 87 40 ee 02 00 00
16 00 48 2f 00 00 27 00 a5 21 88 ef 87 40 58 b3 82 40 00 00 00 00 85 05 00 00
16 00 4b 2f 00 00 1b 00 25 21 04 00 00 00 00 00 00 00 a8 f2 87 40 56 03 00 00
0e 00 4f 2f 00 00 25 00 80 20 01 01 27 00 7a 01 00 00
16 00 52 2f 00 00 01 00 0d 20 4c b6 82 40 4c b6 82 40 00 00 00 00 4d 04 00 00
12 00 95 2f 00 00 00 00 26 40 09 ff ff ff 00 00 00 00 42 04 00 00
0e 00 9a 2f 00 00 0d 00 44 20 00 00 00 00 48 01 00 00
0e 00 ad 2f 00 00 0d 00 44 20 00 00 00 00 5b 01 00 00
0e 00 b1 2f 00 00 0d 00 44 20 00 00 00 00 5f 01 00 00
16 00 bb 2f 00 00 17 00 25 21 00 00 00 00 00 00 00 00 a8 f2 87 40 be 03 00 00
12 00 c0 2f 00 00 1a 00 25 21 00 00 00 00 00 00 00 00 61 01 00 00
12 00 c3 2f 00 00 17 00 25 21 01 00 00 00 a8 f2 87 40 c3 03 00 00
0e 00 c6 2f 00 00 16 00 25 21 a8 f2 87 40 c0 03 00 00
0e 00 c9 2f 00 00 16 00 25 21 a8 f2 87 40 c3 03 00 00
0e 00 cc 2f 00 00 06 00 24 20 00 00 00 00 53 01 00 00
16 00 cf 2f 00 00 00 00 24 20 70 db 81 40 3d 0d 05 00 01 00 00 00 b4 03 00 00
12 00 d2 2f 00 00 0c 00 24 20 00 00 00 00 00 00 00 00 63 01 00 00
16 00 d5 2f 00 00 00 00 24 20 08 b3 82 40 32 12 05 00 01 00 00 00 25 03 00 00
12 00 d7 2f 00 00 0c 00 24 20 70 db 81 40 00 00 00 00 74 03 00 00
16 00 da 2f 00 00 00 00 24 20 88 ef 87 40 27 17 05 00 01 00 00 00 e5 03 00 00
12 00 dd 2f 00 00 0c 00 24 20 08 b3 82 40 00 00 00 00 eb 02 00 00
0a 00 e1 2f 00 00 00 00 64 20 9e 01 00 00
0e 00 e5 2f 00 00 11 00 64 20 70 db 81 40 c3 03 00 00
0e 00 ed 2f 00 00 5b 00 41 20 00 00 00 00 e6 01 00 00
0a 00 f1 2f 00 00 04 00 27 20 75 01 00 00
16 00 f6 4a 00 00 0b 00 45 20 6f 00 00 00 1d 00 00 00 88 b7 82 40 53 04 00 00
0e 00 00 4b 00 00 12 00 45 20 04 00 00 00 d4 00 00 00
12 00 0a 4b 00 00 08 00 c5 20 1d 00 00 00 d4 01 00 00 46 02 00 00
16 00 0a 4b 00 00 0e 00 45 20 88 b7 82 40 04 00 00 00 a8 f2 87 40 44 05 00 00
16 00 28 4b 00 00 0b 00 45 20 10 00 00 00 05 00 00 00 14 b2 82 40 96 02 00 00
0e 00 28 4b 00 00 12 00 45 20 02 00 00 00 fa 00 00 00
12 00 32 4b 00 00 08 00 c5 20 05 00 00 00 a0 00 00 00 21 02 00 00
16 00 32 4b 00 00 0e 00 45 20 14 b2 82 40 02 00 00 00 a8 f2 87 40 f1 04 00 00
12 00 46 4b 00 00 23 00 85 21 9c b7 82 40 5f 00 00 00 e0 03 00 00
12 00 50 4b 00 00 21 00 45 21 9e b7 82 40 1d 00 00 00 68 03 00 00
16 00 64 4b 00 00 0b 00 45 20 6e 00 00 00 1d 00 00 00 00 b8 82 40 3a 03 00 00
0e 00 6e 4b 00 00 12 00 45 20 04 00 00 00 42 01 00 00
12 00 78 4b 00 00 08 00 c5 20 1d 00 00 00 48 02 00 00 29 02 00 00
16 00 78 4b 00 00 0e 00 45 20 00 b8 82 40 04 00 00 00 a8 f2 87 40 2b 05 00 00
16 00 82 4b 00 00 0b 00 45 20 10 00 00 00 05 00 00 00 2c b2 82 40 08 03 00 00
0e 00 8c 4b 00 00 12 00 45 20 02 00 00 00 5e 01 00 00
12 00 8c 4b 00 00 08 00 c5 20 05 00 00 00 b4 00 00 00 8f 02 00 00
16 00 96 4b 00 00 0e 00 45 20 2c b2 82 40 02 00 00 00 a8 f2 87 40 6d 05 00 00
12 00 aa 4b 00 00 21 00 45 21 16 b8 82 40 1d 00 00 00 3b 03 00 00
16 00 c8 4b 00 00 0f 00 65 20 88 b7 82 40 04 00 00 00 a8 f2 87 40 23 06 00 00
12 00 d2 4b 00 00 08 00 c5 20 1d 00 00 00 d4 01 00 00 0e 03 00 00
12 00 dc 4b 00 00 0c 00 65 20 8c b7 82 40 88 b7 82 40 d0 05 00 00
0e 00 dc 4b 00 00 14 00 65 20 04 00 00 00 d2 01 00 00
16 00 f0 4b 00 00 0f 00 65 20 14 b2 82 40 02 00 00 00 a8 f2 87 40 d0 05 00 00
12 00 f0 4b 00 00 08 00 c5 20 05 00 00 00 a0 00 00 00 df 02 00 00
12 00 fa 4b 00 00 0c 00 65 20 18 b2 82 40 14 b2 82 40 fc 04 00 00
0e 00 04 4c 00 00 14 00 65 20 02 00 00 00 f9 00 00 00
:DUMP_END]
@malachib You should enable CONFIG_ESP_PHY_MAC_BB_PD ( (Top) -> Component config -> PHY). Thanks.
That did it! Thank you!
@malachib since your issue was solved I am closing this issue. If you will have more related problems feel free to reopen this one or create a new issue.
Cheers!
Hi, me again. Now I am trying NimBLE. I'm following the lead of examples/bluetooth/nimble/power_save
(which flashes and runs without incident)
When I try to specify advertising intervals other than 0 and CONFIG_ESP_SLEEP_POWER_DOWN_FLASH is set, I get a reset right after begin advertise:
rst:0x8 (TG1_WDT_HPSYS),boot:0xc (SPI_FAST_FLASH_BOOT)
If I turn off all the watchdogs, it changes to:
rst:0x10 (LP_WDT_SYS),boot:0xc (SPI_FAST_FLASH_BOOT)
Hopefully this is something obviously wrong I'm doing. If not I'll open up another issue
Answers checklist.
IDF version.
v5.1.3
Espressif SoC revision.
Chip is ESP32-C6 (QFN40) (revision v0.0)
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
Development Kit.
ESP32C6 DevKitC-1
Power Supply used.
USB
What is the expected behavior?
BLE Advertise while using Bluedroid, PM + Modem Sleep
What is the actual behavior?
After successfully registering a GATT service and advertising, it immediately produces a failed assert, presumably on the closed BLE stack:
Steps to reproduce.
esp_pm_configure
w/light_sleep_enable = true
esp_ble_gap_config_adv_data
Debug Logs.
More Information.
pm_configure
is not called, app runs without crashingesp_ble_gap_config_adv_data
is not called, app runs without crashing