N900 as Bluetooth HID
Hello Qt World!
I was wondering if anyone has already developped an application for N900 to be used as a bluetooth HID. If not can you show me from where can I start to at least start sending some basic character through bluetooth.
Mohamed Saad I.S.
You should use "Qt mobility API for bluetooth connectivity":http://doc.qt.nokia.com/qtmobility/connectivity-api.html#bluetooth-classes. Here is an "example how to implement chat over bluetooth":http://doc.qt.nokia.com/qtmobility/btchat.html.
To implement HID protocol you need to go deeper than simply the Serial Port Protocol. This means that you can't do it using the Bluetooth from Qt Mobility because you need to use the native Symbian functions.
Follows an article that contains an implementation of HID but is written in Symbian C++ (the only way to go "deeper"): "Bluetooth HID profile (client device)":http://www.developer.nokia.com/Community/Wiki/Bluetooth_HID_profile_(client_device)
On the other side, if you forget about HID protocol and you just want to send characters through bluetooth follow the word of leon.anavi.
I know it's just a technicality, but for what it's worth, the N900 isn't a Symbian device. However, it's still a true statement that you'd need to use system-level functionality.
Yeah my mistake, sorry.
Since N900 is a Maemo device it will get a bit easier, since "BlueZ library":http://www.bluez.org/ can help you do what you want.