Change Bluetooth name

This commit is contained in:
jacob.eva 2024-09-17 16:19:05 +01:00
parent 1a91fa60d8
commit 49b7b13a36
No known key found for this signature in database
GPG Key ID: 0B92E083BBCCAA1E

View File

@ -361,7 +361,7 @@ bool bt_setup_hw() {
#endif #endif
unsigned char *hash = MD5::make_hash(data, BT_DEV_ADDR_LEN); unsigned char *hash = MD5::make_hash(data, BT_DEV_ADDR_LEN);
memcpy(bt_dh, hash, BT_DEV_HASH_LEN); memcpy(bt_dh, hash, BT_DEV_HASH_LEN);
sprintf(bt_devname, "RNode %02X%02X", bt_dh[14], bt_dh[15]); sprintf(bt_devname, "openCom XL %02X%02X", bt_dh[14], bt_dh[15]);
free(data); free(data);
bt_ready = true; bt_ready = true;