I am working with bluetoothserial.h for the first time and have not had much luck finding good documentation, do you know where I can find it?
I have it working fine in my script but I would like to add a serial number after the bluetooth device name, I have tried as many of the logical naming conventions as I could think of but none have worked. My serial is generated in setup, based on the mac address of my ESP32 and saved as a variable "id" prior to the bluetooth naming.
I am looking for something like:
for(int i=0; i<17; i=i+8) {
id |= ((ESP.getEfuseMac() >> (40 - i)) & 0xff) << i;
}
//bluetooth
Serial.begin(115200);
SerialBT.begin("BluetoothName " id); //Bluetooth device name
Serial.println("The device started, now you can pair it with bluetooth!");