-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle multiple requests one after each other #182
Comments
Hello, |
Hi @philips77 , Just two questions:
|
Hello,
In nRF Connect SDK you need to set a KConfig option to set the MTU. This will allow sending Write Without Response packets of large size on the ATT layer. For Write With Response the packet size is always at most 512 bytes, but this is sent using Prepare Write commands if MTU is not high enough. For uploading data it's better to use Write Without Response, just negotiate the MTU to be 498.
Yes, this is also enabled in the KConfig file. I think you use |
Hello folks and @dinesharjani - @philips77 - @roshanrajaratnam,
![image](https://private-user-images.githubusercontent.com/28917444/288480336-aa7656f1-81bf-4307-aa13-e5a991690c0b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyOTE1NzEsIm5iZiI6MTczOTI5MTI3MSwicGF0aCI6Ii8yODkxNzQ0NC8yODg0ODAzMzYtYWE3NjU2ZjEtODFiZi00MzA3LWFhMTMtZTVhOTkxNjkwYzBiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDE2Mjc1MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTk5ZTQyYWJkYzNjMDE3ZmIzZDU0ZmY2NTk4NjEyYmQ1YjRlYWVhYTJhZDBiMjdhZTgwNjQ1ZjVkNDhiZTUxMzQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.qdb0ZjuXpGldq30mKvP-GL5ZqBIsVpEVeF1wI8DvJyE)
I'm struggling with the possibility of sending multiple requests one after each other without waiting for the response, and then receiving responses with matching sequence numbers.
Do you have more information about this? Is it still possibile, in order to speed up procedure? In my own implementation, it is nearly impossible to reach 8/9 kB7s as per NRC Connect dfu procedure or NRF Device manager (maybe with PRNs?).
Maybe, is it possible to know what happen in NRF Connect under the log "Uploading firmware"?
The text was updated successfully, but these errors were encountered: