Change bluetooth device name

broken image
broken image

However, we are going to be programming on the Arduino environment, which allows us to keep the best of both frameworks.

broken image

We will keep using IDF’s lower level API, so we know what’s going on under the hood. Please note that the mentioned post also introduces some more theoretical features of the Bluetooth protocol and of its architecture on the ESP32, which are useful for understanding the code from this tutorial. You can check the previous post for an introduction on how to get started using the Bluetooth classic on the ESP32 running the Arduino core and how to initialize the Bluetooth functionality and make the device discoverable. The objective of this post is to explain how we can set the name of the ESP32 operating as a Bluetooth device, so it displays a user friendly name for other devices that discover it. The tests of this ESP32 tutorial were performed using a DFRobot’s ESP-WROOM-32 device integrated in a ESP32 FireBeetle board.