-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Pairing device BLE with android and IOS (IDFGH-14718) #15457
Comments
Hello @ElenaG391, Thanks for choosing our Espressif product! May I know which chip and BLE host do you use? This information will help us better identify the issue you reported. Thank you! |
Oh yes! Sorry @weiyuhannnn , I'm using ESP32-MINI-1U and I'm trying to connect iPhone android and IOS. thanks |
@ElenaG391 |
@ElenaG391 Which host are you using—NimBLE host or Bluedroid host? |
@esp-zhp thanks for your answer. we are using BLE and Nimble host. If I change my code to use the classic Bluetooth, can I still use the Bluetooth Approved Logo? I understand that yes, it's Bluetooth as well.... thanks! |
Hi @ElenaG391 ,
Yes. This is because the spec mandates 6 digits. You need to prepend "0s" in case the pin is lesser than 100000 in value
Classic Bluetooth is BR/EDR (and not BLE) . Is your usecase BLE or BR/EDR ? Anyways, classic bluetooth is also from BTSIG, so it is bluetooth approved. |
thanks @rahult-github I'm using BLE now. Could I start to use classic Bluetooth and we could still use the bluetooth logo, is that correct? |
Hi @ElenaG391 , The use case of BLE and BR/EDR are different. However, if you are ok to use classic bluetooth that satisfies your requirement, then you can choose so. Please note nimble stack is BLE only stack . If you plan to use classic bluetooth, you will need to use bluedroid stack. |
Closing issue. Feel free to reopen in case of further queries. |
Hi all,
I'm trying to pairing a device with android/IOS. The device sends me a PIN:XXX or PIN:XXXX, the device has a limitation with the number of the digits, it send just 3 or 4digits.
I have to include 000XXX or 00XXXX for pairing, we must have 6digits to connect it.
Could you please let me know how I need to change on the code to accept just 3/4 digits to connect with the bluetooth? is that possible? just we will use the numbers that the device send us: XXX or XXXX. without "0".
is it possible set the 4-digit passkey in ESP-IDF?
thanks
The text was updated successfully, but these errors were encountered: