PDA

View Full Version : How to extend Bluetooth profiles in Maemo 5


qgil
09-22-2009, 07:47 AM
There are several Bluetooth profiles that are not officially supported in Maemo 5 (e.g. BT keyboards) but are however supported by the upstream BlueZ project or can be made to work with some simple hacks.

There is an initial wiki page documenting them: http://wiki.maemo.org/Fremantle_Unsupported_Bluetooth_profiles

Johan Hedberg, lead BT developer in Maemo Devicves and BlueZ maintainer, will have a session about this topic in the Maemo Summit. Marcel Holtmann and Luiz von Dentz, both BlueZ maintainers familiar with Maemo, are attending as well.

lma
09-22-2009, 10:27 AM
There are several Bluetooth profiles that are not officially supported in Maemo 5 (e.g. BT keyboards)

Is there a definitive and more detailed list of which profiles are supported, beyond http://maemo.nokia.com/n900/specifications/ :
Bluetooth v2.1 including support for stereo headsets

and http://europe.nokia.com/find-products/devices/nokia-n900/specifications :

# Bluetooth version 2.1
# Bluetooth profiles: HFP, HSP, A2DP, AVRCP, FTP, OPP

keeping in mind that most bluetooth profiles are asymmetrical (for example does OPP support mean sending, receiving or both)?

There is an initial wiki page documenting them: http://wiki.maemo.org/Fremantle_Unsupported_Bluetooth_profiles

A nice start :-) Some previously-supported things I'd like to see added:

DUN client
HID/HIM integration (setting BT keyboard layout, shortcuts etc)
Generic SPP (Carman, using an external GPS receiver etc)

tz1
09-23-2009, 11:51 PM
SPP is something I need - but PUSH is already using it - apparently the Arduino + Bluetooth will talk without hacking the n900. Either it is included in the current distribution (and note HFP uses something like SPP for config and caller ID), or it should be added to the unsupported wiki.

Spynexes
09-29-2009, 08:01 AM
I would love to see a working PBAP (Phonebook Access Profile) bluetooth profile to be able to use the N900 with my car.

I guess this might be a feature that others might need too.

Andre Klapper
09-29-2009, 08:09 AM
Spynexes: Feel free to file an enhancement request in bugs.maemo.org (and vote for it) once the final Fremantle version has been released.

sjgadsby
09-29-2009, 09:27 AM
Spynexes: Feel free to file an enhancement request in bugs.maemo.org (and vote for it) once the final Fremantle version has been released.

Should that be in Brainstorm?

Andre Klapper
09-29-2009, 10:01 AM
Also an option - I thought it's quite specific, but fine with that too (especially for finding a solution)

qgil
09-29-2009, 10:40 AM
Sorry Spynexes for the confusion due to the still lack of agreement between Bugzilla enhancements and Brainstorm http://talk.maemo.org/showthread.php?p=336024#post336024

Brainstrom is probably more suited to formulate a problem, propose and vote possible solutions, discuss here at Talk...

Naranek
09-30-2009, 09:56 AM
There are several Bluetooth profiles that are not officially supported in Maemo 5 (e.g. BT keyboards) but are however supported by the upstream BlueZ project or can be made to work with some simple hacks.

What does this mean in practice? Does the support just need to be activated in a configuration file, or does someone need to do some serious coding to make the bluetooth profiles a reality.

This is really important for me because I use a BT keyboard a lot when taking notes and there's no sense in getting a device that doesn't support it.

VDVsx
09-30-2009, 10:03 AM
What does this mean in practice? Does the support just need to be activated in a configuration file, or does someone need to do some serious coding to make the bluetooth profiles a reality.

This is really important for me because I use a BT keyboard a lot when taking notes and there's no sense in getting a device that doesn't support it.

You only need to activate the hid profile in '/etc/bluetooth/main.conf' and restart the Bluetooth system, dunno if Nokia will provide a GUi alternative for that, if not I can make one, since I've something similar in my app already.

tz1
09-30-2009, 10:16 AM
To repeat a question I asked above, is SPP officially supported "out of the box" or does it need to be added in the list of unsupported profiles?

VDVsx
09-30-2009, 10:37 AM
To repeat a question I asked above, is SPP officially supported "out of the box" or does it need to be added in the list of unsupported profiles?

Don't know what you are expecting, serial connections work out of the box like in other Linux OS, as you can see by the PUSH N900 examples.

tz1
09-30-2009, 04:33 PM
SPP is NOT listed as a supported profile. If it was supported I would expect it to be listed in the official documentation as supported.

Quindor
09-30-2009, 05:24 PM
What I (and a lot of people with me) are interested in is if rSAP is supported, this is also called "remote sim" in some devices or just SAP (Sim Access Profile).

It is used for mainly nokia carkits (in most VAG (VW, Seat, Skoda, etc.) cars). The carkit connects to the phone, copies the sim data, then puts the phones own transmitter into offline mode and uses the data from the sim to bring online it's own transmitter. For increased reception, lower battery usage on the phone and great voice quality.

Normally this is available in nokia telephones running S60, or rather in symbian phones running S60.

Since this is also a nokia phone, I am really wondering if the profile is in there, or, if not, if it can be added!

Any insight appreciated. :)

allnameswereout
09-30-2009, 05:25 PM
SPP is NOT listed as a supported profile. If it was supported I would expect it to be listed in the official documentation as supported.DUN and HSP require SPP support.

This profile is based on the ETSI TS 07.10 specification and uses the RFCOMM protocol. It emulates a serial cable to provide a simply implemented wireless replacement for existing RS-232 based serial communications applications, including familiar control signals. It provides the basis for DUN, FAX, HSP and AVRCP profiles. [quote=http://en.wikipedia.org/wiki/Serial_Port_Profile#Serial_Port_Profile_.28SPP.29]SPP[/url]

lma
09-30-2009, 07:12 PM
What I (and a lot of people with me) are interested in is if rSAP is supported, this is also called "remote sim" in some devices or just SAP (Sim Access Profile).

Previous tablets did support it, but in the opposite direction. I think it was only used for EAP-SIM WiFi authentication, but I could be wrong. Interestingly it is still listed in http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Using_Connectivity_Components/Maemo_Connectivity.

Quindor
10-01-2009, 03:59 AM
Previous tablets did support it, but in the opposite direction. I think it was only used for EAP-SIM WiFi authentication, but I could be wrong. Interestingly it is still listed in http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Using_Connectivity_Components/Maemo_Connectivity.
Hmm, now that is interesting. I also have been reading up on bluez and what kind of implementation that would support. And from what I have been able to gather, bluez does have support for it, both in client and in server mode.

http://wiki.bluez.org/wiki/GSoC2009/Proposals/SAP-Server is a good one. It says that someone is trying to make this work it seems.

And also this http://gitorious.org/~nehulstudent/bluez-sap/nehulmalhotra/commits/sap would indicate that someone started the project and has begun writing code for it.

Now I'm not really at home yet with how all this stuff works, but learning quickly. If we could get this thread to actually figure out how to get it working (or if it's in there allready or not) that would be great I think! :D

Flandry
10-03-2009, 05:49 PM
A pet project I'd like to see is the ICP (Intercom) profile on the N900 so it could be part of a biker-to-biker comm. Seeing this thread is encouraging...

Quindor
10-11-2009, 07:02 PM
Anyone whom has been to the summit, have you maybe been able to garther some more information about this? I know there was a special session about bluetooth and the hacking/adding of/to it.

As always, interested in the rSAP plans if there are any official plans. Just trying to keep the topic alive! :)

--- update
Found also this : https://bugs.maemo.org/show_bug.cgi?id=5204 so more people have been searching for it.

From what I can see, currently it is not listed yet in brainstorm. I will try to register it as a feature request as soon as I can.

intecofreds
01-20-2010, 09:31 AM
For me the N900 is unusable without RSAP as I spend so much time in my car. I need this to work otherwise I will go back a step to my N97.

Andre Klapper
01-20-2010, 09:56 AM
So, voted already for http://maemo.org/community/brainstorm/view/rsap-remote_sim-support_for_n900 ? :)

special circumstances
03-28-2010, 05:02 AM
For me the N900 is unusable without RSAP as I spend so much time in my car. I need this to work otherwise I will go back a step to my N97.

Please please - those who can - do extend the BT profiles so that the in car functions will work...

There are many of us here, and on the Nokia forums needing this...

I would be happy to test - but the coding would be beyond me I think...

raverpol
04-02-2010, 07:09 AM
I wonder if there are any changes with those BT profiles :)

blagojg
05-02-2010, 04:01 AM
Hi I use nokia Nseries fo 4 years, and this is firs time I'm dissapointed !!!!

Why the hell Nokia turns on Maemo without test and see taht all MAJOR things are missing.

I buy N900 and noe I can not use my premium Bluetotth instalation in my Tiguan that costs 45,000 EUR ????? Before I use it almost a year with HTC diamond.

First Time I see Microsoft so far ahead than Linux !!!!

Please help me find a solution for it ASAP !

N.Howell
05-07-2010, 06:53 PM
Any Updates on this subject?

caryb
08-02-2010, 06:21 PM
I must confess to being surprised that the N900 will connect to a Nokia CK15W but not download contacts. I have to pair my iphone (which I hate) when on the road to have access to the phonebook.:mad: