• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

BLE Authentication

Q&A Forum › Category: ESP32 › BLE Authentication
0 Vote Up Vote Down
dev1 asked 6 years ago

Hi, I need to connect my ESP32-WROOM-32 (client) by bluetooth to a device (server) that requires a pin to get connected. Do you have some example about it?
Thanks.

Question Tags: esp32 ble bluetooth authentication pin
5 Answers
0 Vote Up Vote Down
Rui Santos Staff answered 6 years ago

What do you men by a pin that needs to get connected? What’s the other Bluetooth device (server) that you’re referring to? Thanks!

0 Vote Up Vote Down
dev1 answered 6 years ago

I need a PIN (Personal Identification Number) to connect to a health bluetooth device (other Bluetooth device). I need to read data from that device and process it with my ESP32. For example, If I try to connect with my phone, I must type a 4-digit PIN to get connected, but I don’t know how to send that PIN from my ESP32 to autheticate and read data from the health bluetooth device.

0 Vote Up Vote Down
Rui Santos Staff answered 6 years ago

Unfortunately I don’t think the ESP32 BLE library currently supports that feature… I think you would need to create your own example that establishes a communication with a PIN using the ESP-IDF: https://github.com/espressif/esp-idf
At least, I’ve never seen an example about that. Regards,
Rui

0 Vote Up Vote Down
dev1 answered 6 years ago

Ok, thank you for your time.

0 Vote Up Vote Down
Rui Santos Staff answered 6 years ago

You might also consider going through the ESP32 BLE for Arduino library and try to find if a method like that is already implemented: https://github.com/nkolban/ESP32_BLE_Arduino/tree/master/src

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.