{"action":"created","issue":{"url":"https://api.github.com/repos/sandeepmistry/bleno/issues/355","repository_url":"https://api.github.com/repos/sandeepmistry/bleno","labels_url":"https://api.github.com/repos/sandeepmistry/bleno/issues/355/labels{/name}","comments_url":"https://api.github.com/repos/sandeepmistry/bleno/issues/355/comments","events_url":"https://api.github.com/repos/sandeepmistry/bleno/issues/355/events","html_url":"https://github.com/sandeepmistry/bleno/issues/355","id":278889381,"number":355,"title":"Write without response speed limits on Windows with CSR8510 A10","user":{"login":"lilliesAndRoses","id":19527338,"avatar_url":"https://avatars3.githubusercontent.com/u/19527338?v=4","gravatar_id":"","url":"https://api.github.com/users/lilliesAndRoses","html_url":"https://github.com/lilliesAndRoses","followers_url":"https://api.github.com/users/lilliesAndRoses/followers","following_url":"https://api.github.com/users/lilliesAndRoses/following{/other_user}","gists_url":"https://api.github.com/users/lilliesAndRoses/gists{/gist_id}","starred_url":"https://api.github.com/users/lilliesAndRoses/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lilliesAndRoses/subscriptions","organizations_url":"https://api.github.com/users/lilliesAndRoses/orgs","repos_url":"https://api.github.com/users/lilliesAndRoses/repos","events_url":"https://api.github.com/users/lilliesAndRoses/events{/privacy}","received_events_url":"https://api.github.com/users/lilliesAndRoses/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-04T06:54:47Z","updated_at":"2017-12-07T15:12:26Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\nI am using Windows 10, 64 bit, with CSR8510 A10 (4.0) dongle.\r\nI have a use case where I write around 12 packets (20 bytes each) on a \"WriteWithoutResponse\" characteristic back to back. I get myriads of errors like LIBUSB_TRANSFER_STALL followed by a disconnection with LIBUSB_ERROR_NO_DEVICE followed by LIBUSB_TRANSFER_IO.\r\n\r\nThings work fine if I add a delay of around 10 milliseconds between the writes.\r\nIt also works if I send 10 packets instead of 12 without adding any delay. \r\n1. Is this a limitation of the CSR dongle or one of the layers above it viz - libusb, node-usb, bluetooth-hci-socket, noble?\r\n2. Is it possible to tune any parameters to get this working without adding any delays?\r\n3. Is it a bug in any of these layers?\r\n\r\nSide note: same code works on MAC (with built in BLE, no dongle) without any problems.\r\n\r\nRegards\r\nAmruta"},"comment":{"url":"https://api.github.com/repos/sandeepmistry/bleno/issues/comments/349995987","html_url":"https://github.com/sandeepmistry/bleno/issues/355#issuecomment-349995987","issue_url":"https://api.github.com/repos/sandeepmistry/bleno/issues/355","id":349995987,"user":{"login":"elovin","id":32832123,"avatar_url":"https://avatars2.githubusercontent.com/u/32832123?v=4","gravatar_id":"","url":"https://api.github.com/users/elovin","html_url":"https://github.com/elovin","followers_url":"https://api.github.com/users/elovin/followers","following_url":"https://api.github.com/users/elovin/following{/other_user}","gists_url":"https://api.github.com/users/elovin/gists{/gist_id}","starred_url":"https://api.github.com/users/elovin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elovin/subscriptions","organizations_url":"https://api.github.com/users/elovin/orgs","repos_url":"https://api.github.com/users/elovin/repos","events_url":"https://api.github.com/users/elovin/events{/privacy}","received_events_url":"https://api.github.com/users/elovin/received_events","type":"User","site_admin":false},"created_at":"2017-12-07T15:12:26Z","updated_at":"2017-12-07T15:12:26Z","author_association":"NONE","body":"Why not use the normal write ?\r\nSo far I had no problems reading/writing a view hundred 20 byte packages but I did not try it with writeWithoutResponse."}}
{"actor":{"display_login":"elovin"}}