I am trying to change my advertised bluetooth device class from computer to phone, running ubuntu 12.04. I downloaded the bluez sources and edited the main.conf file to change the line
Class = 0x000100
to something else. I used
Class = 0x0c025a
Then I ran make && make install. I think that works ok because the
/etc/bluetooth/main.conf file has been updated with my changes.
Now, the problem is that when I actually try to connect to a device
hcitool cc <bdaddr>
I see that I am still advertising myself using the Class
0x000100 and not
What am I missing here to get this changes to take effect?