Discover Smart Phone type under Bluetooth

Posted: 02-18-2004, 03:08 PM
Hello,

I want to discover if a Bluetooth-enabled phone is a smart phone or not,
because I want to be able to send all types of file to it. I have both the
Nokia 7650 and the Nokia 6310i, with the latter not being a smart phone and
the 7650 being one. I'm using the MS Bluetooth API
(http://msdn.microsoft.com/library/de...-us/bluetooth/
bluetooth/bluetooth_reference.asp) and I've dissected the COD's (Classes of
Device) for both devices, but there doesn't seem to be any relevant
difference between them in that. I was hoping the Smart Phone bit of the
Minor Device Class mask would be enabled for the 7650, but unfortunately
both phones return Cellular as Minor Device Class.
So does anyone know how to programatically determine whether a phone
supports all file types ?

Thanks in advance,

Michiel.


Reply With Quote

Responses to "Discover Smart Phone type under Bluetooth"

Collin R. Mulliner
Collin R. Mulliner's Avatar
Posts: n/a
 
Re: Discover Smart Phone type under Bluetooth
Posted: 02-18-2004, 05:43 PM
Hi,

> Device Class. So does anyone know how to programatically determine
> whether a phone supports all file types ?


You're using OBEX, just try to send the file and interpret the ERROR
code you get.

Also you could try to make a list with
phone_type/files_it_accepts/identification, for identification you could
use the manufacturer (BD_ADDR) and some entrys from the SDP database.
Upon discovery you just check your list and you have the phone type.

I would just use the OBEX error code plus the phone manufacturor
(BD_ADDR), in fact I'm right now trying to do the same stuff myself.

also see:

http://www.mulliner.org/bluetooth/#bjod
http://betaversion.net/btdsd/db/


.... Collin

--
Collin R. Mulliner <collin@betaversion.net>
BATAVERSiON Systems [www.betaversion.net]
info/pgp: finger collin@betaversion.net
Coding without coffee is like driving without gas!
Reply With Quote
Michiel
Michiel's Avatar
Posts: n/a
 
Re: Discover Smart Phone type under Bluetooth
Posted: 02-19-2004, 09:25 AM

"Collin R. Mulliner" <collin@betaversion.net> wrote in message
news:20040218184308.3e071685.collin@betaversion.ne t...
> Hi,
>
> > Device Class. So does anyone know how to programatically determine
> > whether a phone supports all file types ?

>
> You're using OBEX, just try to send the file and interpret the ERROR
> code you get.


Yes, I tried that, but these errors (return values you mean, right ?) aren't
very useful to me :
e.g. the Nokia 6310i gives me "Access Denied" (0x43) when I try to send any
file to it, and the 6600 gives me "Bad Command" (0x40). Or perhaps I'm
overseeing something ?

>
> Also you could try to make a list with
> phone_type/files_it_accepts/identification, for identification you could
> use the manufacturer (BD_ADDR) and some entrys from the SDP database.
> Upon discovery you just check your list and you have the phone type.
>
> I would just use the OBEX error code plus the phone manufacturor
> (BD_ADDR), in fact I'm right now trying to do the same stuff myself.
>


I found out how to retrieve this address, and I assume every manufacturer
and type has it's own NAP/SAP ? If so, where can I find which NAP/SAP
corresponds to which phone type ?
Thanks for your help.


Reply With Quote
Michiel
Michiel's Avatar
Posts: n/a
 
Re: Discover Smart Phone type under Bluetooth
Posted: 02-19-2004, 04:23 PM

> I found out how to retrieve this address, and I assume every manufacturer
> and type has it's own NAP/SAP ? If so, where can I find which NAP/SAP
> corresponds to which phone type ?
> Thanks for your help.
>


I found that you can retrieve the manufacturer from here
http://standards.ieee.org/regauth/oui/index.shtml by combining the NAP and
the first octet of the SAP (UAP). But still no info on how to determine the
phone type


Reply With Quote
 
Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Smart Com V1.02 lck5775 Symbian Series 60/80/90 Applications 12 10-20-2005 07:20 PM
How to discover current firmware version on R520m? David Wuertele Sony Ericsson 1 06-12-2004 02:46 AM
Explorer type programme? Ewan Villiers Nokia 6 11-21-2003 02:46 PM
File Type Unknown Scoot Nokia 1 08-28-2003 05:52 PM


All times are GMT. The time now is 03:44 AM.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33