View Single Post
Posts: 20 | Thanked: 11 times | Joined on Apr 2010
#1
Hi

I'm trying to develop a bluetooth application for the n900 using Qt. However i'd like to test my app on my linux machine before porting it to maemo.
I'm using hci_write_class_of_dev(dd,0x200408,0); from the bluez library to make the device the application is running on identify itself as a bluetooth handsfree device. But this function needs root access so I can't debug my application because the call to this function will always fail.
Any Idea's on how I can solve this?

I'm using Qt creator on Kubuntu as my development environment.

Thanks in advance