Re: bluez patch : Modify OPUSH sdp record when use sdptool for GOEP v2.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Fri, May 20, 2011 at 9:42 PM, Marcel Holtmann <marcel@xxxxxxxxxxxx> wrote:
> Hi Hui,
>
>>  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.
>
> please do not update opush record details since we are using that one
> for qualification and I don't wanna redo all my SDP data.
>
> Just add an opush2 command to sdptool to add a GOEP 2.0 SDP record.

Btw, GoepL2capPsm seems to be random/user defined like RFCOMM
channels, maybe we could adopt the non-reserved psm base + original
RFCOMM channel in pre 2.0?

-- 
Luiz Augusto von Dentz
Computer Engineer
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux