Results 1 to 4 of 4
  1. #1
    Michiel
    Guest
    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.





    See More: Discover Smart Phone type under Bluetooth




  2. #2
    Collin R. Mulliner
    Guest

    Re: Discover Smart Phone type under Bluetooth

    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 <[email protected]>
    BATAVERSiON Systems [www.betaversion.net]
    info/pgp: finger [email protected]
    Coding without coffee is like driving without gas!



  3. #3
    Michiel
    Guest

    Re: Discover Smart Phone type under Bluetooth


    "Collin R. Mulliner" <[email protected]> wrote in message
    news:[email protected]...
    > 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.





  4. #4
    Michiel
    Guest

    Re: Discover Smart Phone type under Bluetooth


    > 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





  • Similar Threads