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

Device name not showed at first connection #650

Open
eccessivo75 opened this issue Mar 21, 2024 · 2 comments
Open

Device name not showed at first connection #650

eccessivo75 opened this issue Mar 21, 2024 · 2 comments

Comments

@eccessivo75
Copy link

Hi, i am experiencing a weird problem. Let me explain.
I have an esp32 based device that, when activated, starts to advertise its name waiting to be connected.
On the other side i have a IOS application that scans for a particular device name and when found it connects the device.
The problem is the first connection on a new (never connected) Iphone.
What happen:
The application try to find the proper device name with no success and so there is no connection
So , i open BLE scanner app on the same phone. After a refresh (or a couple) i am able to see the proper name advertised.
I go back to my app but the device name is still not found.
Then i go back to BLEscanner, refresh the search and i am able to see the device name, i push the connect button, and it connects.
After this, i disconnect blescanner, and go back to my app.... and it connects with no problems, and this will remain true for all the subsequent connection attempt.
I read about a similar issue in the past about the device name , and i think it can be a part of this same issue but i was not able to find a solution.
I had no this issue with bluedroid.
I there anyone with the same problem ? suggestion?

@eccessivo75
Copy link
Author

It seems that i am the only one having this issue...

@h2zero
Copy link
Owner

h2zero commented Apr 20, 2024

Sorry, I don't know why this would be other than to say that the device name needs to be advertised in the advertisement data for it to be seen in scanning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants