Good morning,
I am working with an Esp32S3 and I would like to get the BLE Mac Address of the chip.
Is there any command or something that I can use to get this BLE Mac Address ?
Best regards,
Thomas TRUILHE
Esp32S3 : How to get the BLE Mac Address ?
-
ThomasESP32
- Posts: 281
- Joined: Thu Jul 14, 2022 5:15 am
Re: Esp32S3 : How to get the BLE Mac Address ?
Hi,
Please take a look at our FAQ.
How can I get the MAC address of Bluetooth® devices for ESP32?
You will need something like this:
Please take a look at our FAQ.
How can I get the MAC address of Bluetooth® devices for ESP32?
You will need something like this:
Code: Select all
#include "esp_system.h"
uint8_t mac[6];
esp_read_mac(mac, ESP_MAC_BT); // ESP_MAC_BT is the type for Bluetooth MAC
Who is online
Users browsing this forum: Applebot, Baidu [Spider], ChatGPT-User, YisouSpider and 3 guests
