register HID with SDP error
Iain Hibbert
plunky at ogmig.net
Mon Mar 30 14:35:46 UTC 2015
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
More information about the freebsd-bluetooth
mailing list