reset bluetooth linux code example
Example 1: restart bluetooth ubuntu
sudo service bluetooth restart
Example 2: ubuntu bluetooth not working
#turn bluetooth on:
sudo /etc/init.d/bluetooth restart
# make it automatic on boot
sudo systemctl enable bluetooth