Android: requestMtu before service discovery? #1131
Answered
by
twyatt
curioustechizen
asked this question in
Q&A
|
The recommended approach for MTU negotiation is Is this ideal? Intuitively, I think MTU negotiation should happen before service discovery, but I could not find any documentation to support this. In any case, with the current APIs, is it possible to |
Answered by
twyatt
Apr 15, 2026
Replies: 1 comment
|
The recommended approach will change after #811, whereas you'll configure MTU when you build the peripheral and Kable will take an opinionated approach as to when to request that MTU (it will request it immediately after connecting, see #809 (comment)). Unfortunately I don't think there is a good way to call |
0 replies
Answer selected by
curioustechizen
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The recommended approach will change after #811, whereas you'll configure MTU when you build the peripheral and Kable will take an opinionated approach as to when to request that MTU (it will request it immediately after connecting, see #809 (comment)).
Unfortunately I don't think there is a good way to call
requestMtuprior to service discovery. This is a current shortcoming of Kable. 😢