How to Change Bluetooth MAC?

Hi there,
for a small Project I need two Rock Pi 4’s to communicate with each other over Bluetooth LE. After some trying I ran into an Issue: Both Pi’s have the same MAC Address. I found several Forum posts which almost all lead to using bdaddr or hciconfig.
bdaddr -i hci0 (-r) [New Address] doesn’t change anything. In the console output it says that the address was changed. But if I call bdaddr again, I get the old MAC.
Hciconfig is not available on my Pi, since it is not included in BlueZ 5.50 anymore. Maybe it is possible to install hciconfig anyway. But I think there must be an other way than using deprecated Software.

Greetings from Germany
Philipp

Hello.
I’m facing the same issue.
The same BD Address causes problems in multiple devices environment.

Are there anyone who can help me?

Seemingly, the manufacturer of Bluetooth module is

Realtek Semiconductor Corporation (93)

and according to the following link, Realtek is not supported by bdaddr command.

This is the full output of hciconfig -a

hci0: Type: Primary Bus: UART
BD Address: 03:87:20:20:20:20 ACL MTU: 1021:8 SCO MTU: 255:12
UP RUNNING
RX bytes:1534 acl:0 sco:0 events:51 errors:0
TX bytes:3670 acl:0 sco:0 commands:54 errors:0
Features: 0xff 0xff 0xff 0xfe 0xdb 0xfd 0x7b 0x87
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: ‘rockpis’
Class: 0x000000
Service Classes: Unspecified
Device Class: Miscellaneous,
HCI Version: 4.1 (0x7) Revision: 0xaa7b
LMP Version: 4.1 (0x7) Subversion: 0x5645
Manufacturer: Realtek Semiconductor Corporation (93)