Igor Please refer to the following AT commands to change the Bluetooth name of the module.
For Classic Bluetooth (BR/EDR), use:
AT+NAME=<name>[,suffix_mode]
Suffix mode options:
- 0: no suffix
- 1: append last 4 bytes of MAC address
Example: AT+NAME=ABC,0sets the name to "ABC" without a suffix.
For BLE Bluetooth, use:
AT+LENAME=<name>[,suffix_mode]
Suffix mode options:
- 0: no suffix
- 1: append "-XXXX" (last 4 bytes of MAC)
Example: AT+LENAME=ABC,1 sets the name to "ABC-XXXX".
To check the current name, simply send AT+NAME or AT+LENAME without any parameters. The name must be 1–29 ASCII characters long.