Linux bluetooth development
 help / color / mirror / Atom feed
* bluez patch : Modify OPUSH sdp record when use sdptool for GOEP v2.0
@ 2011-05-18  9:03 hui li
  2011-05-20 18:42 ` Marcel Holtmann
  0 siblings, 1 reply; 6+ messages in thread
From: hui li @ 2011-05-18  9:03 UTC (permalink / raw)
  To: linux-bluetooth
  Cc: haijun.liu, steven.li, ruiyi.zhang, yang.wu, costa.yao, nami.li

Hi, all
 Since GOEP v2.0 has some changes in sdp record, I`d like to add the
two changes in bluez for backwards compatibility with GOEP v1.x:
• The profile version number in the BluetoothProfileDescriptorList
attribute shall be incremented to match the version number of the
enhanced profile specification. If earlier versions of the profile do
not include this SDP attribute it shall be included in revised
versions.
• The SDP records shall include the GoepL2capPsm attribute.

The upper text references Generic Object Exchange Profile v2.0.
The GoepL2capPsm attribute value can be found in Bluetooth SIG
Assigned Numbers – Service Discovery, and this value is 0x0200.

My patch only define GoepL2capPsm and change OPUSH sdp record in
sdptool. I didn`t assign a new variable in svc_info_t struct to
indicate the new l2cap psm value, I used its original psm member to
indicate l2cap psm value.
Also, I didn`t found OPUSH l2cap psm default value in Bluetooth SIG
Assigned Numbers or its spec, so I just choose 0x1015 as its default
value.

I will send my patch later.

Best wishes.
Nami

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-05-24  3:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-18  9:03 bluez patch : Modify OPUSH sdp record when use sdptool for GOEP v2.0 hui li
2011-05-20 18:42 ` Marcel Holtmann
2011-05-20 19:40   ` Luiz Augusto von Dentz
2011-05-23  7:05     ` hui li
2011-05-23 18:14       ` Marcel Holtmann
2011-05-24  3:54         ` hui li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox