Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Mar 2015 15:35:29 +0100 (BST)
From:      Iain Hibbert <plunky@ogmig.net>
To:        "freebsd-bluetooth@freebsd.org" <freebsd-bluetooth@freebsd.org>
Subject:   Re: register HID with SDP error
Message-ID:  <alpine.NEB.2.11.1503301517330.9258@galant.ogmig.net>
In-Reply-To: <CAFuo_fyYyoX6rNwN6_TfB01_xp5EQHFu-CJG=_dab_Qe7x1hkA@mail.gmail.com>
References:  <CAFuo_fy9xRU2T3GUPY8116yZCUd8sL9pBQ9ixXnMwO56niJFog@mail.gmail.com> <CAFPOs6r_D7bcGCMP_bP%2BQtZgKt7Oj5jRJ2v872RODekn%2B6xv1Q@mail.gmail.com> <CAFuo_fwPuaD4bYwfZou0RBswZsTmdtVZA1B2GqUdo3ZJJiWRQg@mail.gmail.com> <0AD7A2F7-37BE-4F6A-9FD6-F6C81B2CAF36@gmail.com> <CAFuo_fye5RWNtjsutHa%2BbXL0AYHYRpJxW-b=48o0iMwX227wdA@mail.gmail.com> <alpine.NEB.2.11.1503170658130.4414@galant.ogmig.net> <CAFuo_fx47uRC-eKD_KtsSsrMCQZauyHyCOgRxGbtp_WEZ49o_Q@mail.gmail.com> <alpine.NEB.2.11.1503171759510.4792@galant.ogmig.net> <CAFPOs6omaOOOumNk2Zg=YBgK9cy7JumOZ6k-89oTbVw-3PgAvg@mail.gmail.com> <CAFuo_fy%2BdmpcswwLMV3LaGGkN6VyQ%2B=ieEzYUT=omSLkhS8=EA@mail.gmail.com> <CAFuo_fwBcBQOZzFNntBSP0AwyAkGq=s-eeKJ1CCgjPp5tWdG=A@mail.gmail.com> <CAFPOs6rJJW2BC3rru%2Bvb5dAE0yaHGvr=0s8K9FZ1ee0rf-ML-w@mail.gmail.com> <CAFuo_fzRGc0_yrHYyqcfLrWX7q3AuLwA3v%2B9_QRTirU-Bx4xkw@mail.gmail.com> <CAFuo_fyYyoX6rNwN6_TfB01_xp5EQHFu-CJG=_dab_Qe7x1hkA@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

On Sun, 29 Mar 2015, Waitman Gobble wrote:

> I'm not sure I'm getting it right..
>
> in ssar.c, if the uuid query is L2CAP 0x0100 i set dol2capquery = 1;

probably not, if you do it like that :)

> if (memcmp(&uuid, &puuid, sizeof(uuid)) != 0 &&
> memcmp(&uuid, &uuid_public_browse_group, sizeof(uuid)) != 0)

my advice is to change this match (in ssr.c and ssar.c), to use an array
of profile UUIDs, so that you can add all the UUIDs for the indivudal
profiles.

> My client is still connecting to PSM channels, but I'm seeing syntax errors
>
> https://gist.github.com/waitman/811e4dde41bfefd32054
>
> So I'm wondering if i'm supposed to send the whole record or maybe
> just matching aids...

you are only supposed to send requested AIDs

but I don't think your syntax error is that.. perhaps you got the length
of the string wrong, or the sequence?  Without the raw data its difficult
to tell..

regards,
iain


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.NEB.2.11.1503301517330.9258>