As changing the bluetooth adapter name without restarting it is impossible (as far as my research got), we probably should add a signal receiver, which handles the hostname changes and resets the "Alias Name", which is a bluetooth-friendly changeable field, which acts as a "Name" one.
We should also reset Alias Name on server initialization, as it could be changed while the service was down and we wouldn't know.
As changing the bluetooth adapter name without restarting it is impossible (as far as my research got), we probably should add a signal receiver, which handles the hostname changes and resets the "Alias Name", which is a bluetooth-friendly changeable field, which acts as a "Name" one.
We should also reset Alias Name on server initialization, as it could be changed while the service was down and we wouldn't know.