Skip to content
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

changeMTU() method does not work as expected #63

Open
davidlepilote opened this issue Dec 17, 2020 · 2 comments
Open

changeMTU() method does not work as expected #63

davidlepilote opened this issue Dec 17, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@davidlepilote
Copy link

When requesting a change of the MTU, the peripheral returned by the callback does not contain services and characteristics. Yet, if you keep a reference of previous characteristics, one cannot write or read on it anymore.

The problem seems to lie in the fact that the MTU change request should appear between the connection and the discovery of services. Yet BlueFalcon abstracts this layer by calling directly the discovery of services as soon as the peripheral is connected.

It could be interesting to add an MTU request within the connect method for instance.

@Reedyuk
Copy link
Owner

Reedyuk commented Dec 17, 2020

Hi @davidlepilote - do you want to put a PR in for it and try it?

@davidlepilote
Copy link
Author

I could try yes

@Reedyuk Reedyuk added the bug Something isn't working label Apr 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants