more on builtin bluetooth

so the external bluetooth dongle is now working for PAN.

But lets look @ the built-in one a bit more.

I see that it usesĀ /system/bin/sdptool to configure.

And that in init.rc, it does somethings like setup HFAG (Handsfree audio gateway), HSAG (Headset), OPUSH (share business cards and such), PBAP (Phone book profile).

So it should be possible to extend this with DUN (Dial-up networking), NAP (for networking), PANU (personal area network).

Sure enough, after doing the sdptool adds for the new services, they show up. I’m not sure if this is sufficient or not.

# sdptool browse local
Browsing FF:FF:FF:00:00:00 ...
Service RecHandle: 0x10000
Service Class ID List:
 "PnP Information" (0x1200)
Profile Descriptor List:
 "PnP Information" (0x1200)
 Version: 0x0102
Service Name: Audio Source
Service RecHandle: 0x10001
Service Class ID List:
 "Audio Source" (0x110a)
Protocol Descriptor List:
 "L2CAP" (0x0100)
 PSM: 25
 "AVDTP" (0x0019)
 uint16: 0x102
Profile Descriptor List:
 "Advanced Audio" (0x110d)
 Version: 0x0102
Service Name: AVRCP TG
Service RecHandle: 0x10002
Service Class ID List:
 "AV Remote Target" (0x110c)
Protocol Descriptor List:
 "L2CAP" (0x0100)
 PSM: 23
 "AVCTP" (0x0017)
 uint16: 0x103
Profile Descriptor List:
 "AV Remote" (0x110e)
 Version: 0x0100
Service Name: Voice Gateway
Service RecHandle: 0x10003
Service Class ID List:
 "Handsfree Audio Gateway" (0x111f)
 "Generic Audio" (0x1203)
Protocol Descriptor List:
 "L2CAP" (0x0100)
 "RFCOMM" (0x0003)
 Channel: 10
Profile Descriptor List:
 "Handsfree" (0x111e)
 Version: 0x0105
Service Name: Voice Gateway
Service RecHandle: 0x10004
Service Class ID List:
 "Headset Audio Gateway" (0x1112)
 "Generic Audio" (0x1203)
Protocol Descriptor List:
 "L2CAP" (0x0100)
 "RFCOMM" (0x0003)
 Channel: 11
Profile Descriptor List:
 "Headset" (0x1108)
 Version: 0x0100
Service Name: OBEX Phonebook Access Server
Service RecHandle: 0x10005
Service Class ID List:
 "Phonebook Access - PSE" (0x112f)
Protocol Descriptor List:
 "L2CAP" (0x0100)
 "RFCOMM" (0x0003)
 Channel: 19
 "OBEX" (0x0008)
Profile Descriptor List:
 "Phonebook Access" (0x1130)
 Version: 0x0100
Service Name: OBEX Object Push
Service RecHandle: 0x10006
Service Class ID List:
 "OBEX Object Push" (0x1105)
Protocol Descriptor List:
 "L2CAP" (0x0100)
 "RFCOMM" (0x0003)
 Channel: 12
 "OBEX" (0x0008)
Profile Descriptor List:
 "OBEX Object Push" (0x1105)
 Version: 0x0100
Service Name: PAN User
Service RecHandle: 0x10007
Service Class ID List:
 "PAN User" (0x1115)
Protocol Descriptor List:
 "L2CAP" (0x0100)
 PSM: 15
 "BNEP" (0x000f)
 Version: 0x0100
Profile Descriptor List:
 "PAN User" (0x1115)
 Version: 0x0100
Service Name: Dial-Up Networking
Service RecHandle: 0x10008
Service Class ID List:
 "Dialup Networking" (0x1103)
 "Generic Networking" (0x1201)
Protocol Descriptor List:
 "L2CAP" (0x0100)
 "RFCOMM" (0x0003)
 Channel: 2
Profile Descriptor List:
 "Dialup Networking" (0x1103)
 Version: 0x0100
Service Name: Network Access Point Service
Service RecHandle: 0x10009
Service Class ID List:
 "Network Access Point" (0x1116)
Protocol Descriptor List:
 "L2CAP" (0x0100)
 PSM: 15
 "BNEP" (0x000f)
 Version: 0x0100
 SEQ16: 10 20 30 40
Profile Descriptor List:
 "Network Access Point" (0x1116)
 Version: 0x0100

Posted

in

by

Tags:

Comments

2 Responses to “more on builtin bluetooth”

  1. So i’m wonderign what you are up too? i got this one:
    http://dx.com/p/landnavi-sl-9800t-2gen-2-din-android-7-0-capacitive-car-dvd-player-w-wi-fi-analog-tv-bluetooth-197328
    which seems to be a bit newer.. but i’m hoping your work will be transferable to that model..

    1. Don Bowman

      So i’m just finishing a nexus-7-in-dash.
      I was not overwhelmed w/ the other one.
      THe complexity of the nexus-7 has been getting the single-wire can working, and the bluetooth as a ‘headset’ going. I have the rest (audio, backup-camera, radio via SDR). I’ve got the method sorted for the GMLAN (single-wire-can) for the steering-wheel-controls, but i need to implement it.

Leave a Reply to Roeland Kindt Cancel reply

Your email address will not be published. Required fields are marked *