2014-12-02 12:03:56

by Jaganath Kanakkassery

[permalink] [raw]
Subject: Re: Re: [PATCH] Fix SPP connection to wrong uuid

SGkgTHVpeiwNCg0KPj4gVGhpcyBwYXRjaCBpdGVyYXRlcyB0aHJvdWdoIHRoZSByZWNvcmQgbGlz
dCwgZmluZHMgdGhlIHJlY29yZCB3aXRoIHRoZSB1dWlkDQo+PiBhbmQgZ2V0IHRoZSBjaGFubmVs
IGZyb20gdGhhdA0KPj4NCj5JIHN1c3BlY3QgdGhlcmUgaXMgc29tZXRoaW5nIGVsc2Ugd3Jvbmcg
aGVyZSwgd2Ugc2hvdWxkIGJlIGxvb2tpbmcgZm9yDQo+dGhlIHNwZWNpZmljIFVVSUQgbm90IDB4
MTEwMSwgcGVyaGFwcyB0aGF0IGlzIGhhcHBlbmluZyBiZWNhdXNlIHlvdQ0KPmhhdmUgYSBzaW5n
bGUgYWdlbnQgdGhhdCByZWdpc3RlciBmb3IgU1BQIGdlbmVyaWNhbGx5LCBhbmQgZG9uJ3Qgc2V0
DQo+YW55IFNlcnZpY2UgVVVJRCwgdGhlcmVmb3JlIGl0IHdpbGwgbG9vayBmb3IgYW55IFNQUCBy
YXRoZXIgdGhhbiB0aGUNCj5zZXJ2aWNlIFVVSUQuDQoNCk9rLCBJIHdpbGwgY2hlY2sgd2h5IHNl
YXJjaGluZyB1dWlkIGlzIDB4MTEwMSBhbmQgbm90IHRoZSBzcGVjaWZpYyB1dWlkLg0KQnV0IHdl
IGhhdmUgcmVnaXN0ZXJlZCBkaWZmZXJlbnQgYWdlbnRzIGZvciBlYWNoIHV1aWQsIGJ1dCBoYXMg
dG8gY2hlY2sNCndlIGFyZSBkb2luZyBzb21ldGhpbmcgd3Jvbmcgd2hpbGUgcmVnaXN0ZXJpbmcu
DQoNClRoYW5rcywNCkphZ2FuYXRo




2014-12-02 12:38:36

by Luiz Augusto von Dentz

[permalink] [raw]
Subject: Re: Re: [PATCH] Fix SPP connection to wrong uuid

Hi Jaganath,

On Tue, Dec 2, 2014 at 2:03 PM, JAGANATH KANAKKASSERY
<[email protected]> wrote:
> Hi Luiz,
>
>>> This patch iterates through the record list, finds the record with the uuid
>>> and get the channel from that
>>>
>>I suspect there is something else wrong here, we should be looking for
>>the specific UUID not 0x1101, perhaps that is happening because you
>>have a single agent that register for SPP generically, and don't set
>>any Service UUID, therefore it will look for any SPP rather than the
>>service UUID.
>
> Ok, I will check why searching uuid is 0x1101 and not the specific uuid.
> But we have registered different agents for each uuid, but has to check
> we are doing something wrong while registering.

You need to make sure you are setting the Service UUID properly:

string Service

The primary service class UUID
(if different from the actual
profile UUID)

--
Luiz Augusto von Dentz