{"action":"created","issue":{"url":"https://api.github.com/repos/espressif/esp-idf/issues/936","repository_url":"https://api.github.com/repos/espressif/esp-idf","labels_url":"https://api.github.com/repos/espressif/esp-idf/issues/936/labels{/name}","comments_url":"https://api.github.com/repos/espressif/esp-idf/issues/936/comments","events_url":"https://api.github.com/repos/espressif/esp-idf/issues/936/events","html_url":"https://github.com/espressif/esp-idf/issues/936","id":252882767,"number":936,"title":"[TW#15023] Bluetooth Controller: LE Connection Interval only partially used","user":{"login":"mringwal","id":652934,"avatar_url":"https://avatars3.githubusercontent.com/u/652934?v=4","gravatar_id":"","url":"https://api.github.com/users/mringwal","html_url":"https://github.com/mringwal","followers_url":"https://api.github.com/users/mringwal/followers","following_url":"https://api.github.com/users/mringwal/following{/other_user}","gists_url":"https://api.github.com/users/mringwal/gists{/gist_id}","starred_url":"https://api.github.com/users/mringwal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mringwal/subscriptions","organizations_url":"https://api.github.com/users/mringwal/orgs","repos_url":"https://api.github.com/users/mringwal/repos","events_url":"https://api.github.com/users/mringwal/events{/privacy}","received_events_url":"https://api.github.com/users/mringwal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":21,"created_at":"2017-08-25T12:12:15Z","updated_at":"2018-02-05T12:39:15Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I was running performance tests with BTstack's LE Streamer and LE Streamer Client. If ESP32 is LE Streamer Client (master role, receiving data) from LE Streamer running on my Mac with a CSR 8510 USB Bluetooth dongle without DLE and an ATT MTU of 197, I'm getting 30-33 kB/s which is pretty good.\r\n\r\nIn the other direction, when ESP32 is sending data in slave role, throughput is less than half.\r\n\r\nIn a test with minimum Connection Interval of 7.5 ms, it is only sending 3 packets and then waiting for the next Connection Event. Interestingly, the More Data bit is still set in the last packet and the master sends another empty packet, but nothing from ESP32.\r\n\r\n![screen shot 2017-08-25 at 13 58 53](https://user-images.githubusercontent.com/652934/29713439-d3b73a6a-899e-11e7-8bd2-4f375b791d42.png)\r\n\r\nA quick test with 100 ms Connection Interval showed about 80 ms not used.\r\n\r\nI did check that BTstack is providing the outgoing data fast enough. BTstack sends 200 byte ACL packets which the Bluetooth Controller must split. According to the HCI Number Complete ACL Packets, there are always at least 7 packets buffered, so there are at least 56 ACL fragments that could be sent.\r\n \r\nI've attached the two air traces for the TI Sniffer.\r\n\r\n[esp32-streamer-csr-client-low-throughput.zip](https://github.com/espressif/esp-idf/files/1251799/esp32-streamer-csr-client-low-throughput.zip)\r\n"},"comment":{"url":"https://api.github.com/repos/espressif/esp-idf/issues/comments/363073024","html_url":"https://github.com/espressif/esp-idf/issues/936#issuecomment-363073024","issue_url":"https://api.github.com/repos/espressif/esp-idf/issues/936","id":363073024,"user":{"login":"mringwal","id":652934,"avatar_url":"https://avatars3.githubusercontent.com/u/652934?v=4","gravatar_id":"","url":"https://api.github.com/users/mringwal","html_url":"https://github.com/mringwal","followers_url":"https://api.github.com/users/mringwal/followers","following_url":"https://api.github.com/users/mringwal/following{/other_user}","gists_url":"https://api.github.com/users/mringwal/gists{/gist_id}","starred_url":"https://api.github.com/users/mringwal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mringwal/subscriptions","organizations_url":"https://api.github.com/users/mringwal/orgs","repos_url":"https://api.github.com/users/mringwal/repos","events_url":"https://api.github.com/users/mringwal/events{/privacy}","received_events_url":"https://api.github.com/users/mringwal/received_events","type":"User","site_admin":false},"created_at":"2018-02-05T12:39:15Z","updated_at":"2018-02-05T12:39:15Z","author_association":"CONTRIBUTOR","body":"Ah, ok. I'm not in a hurry, I'd just want to see that all problems get fixed - it's matthias@bluekitchen-gmbh.com"}}
{"actor":{"display_login":"mringwal"}}