Date: Mon, 16 Mar 2015 10:42:09 -0700 From: Maksim Yevmenkin <maksim.yevmenkin@gmail.com> To: Waitman Gobble <gobble.wa@gmail.com> Cc: "freebsd-bluetooth@freebsd.org" <freebsd-bluetooth@freebsd.org> Subject: Re: register HID with SDP error Message-ID: <CAFPOs6q3iVcNthF=S--UgTm=5wA0HM6coqB7AcmCKb=55OWdTQ@mail.gmail.com> In-Reply-To: <CAFuo_fzrk%2BWLXivZrnTsGQD%2BS7mq%2BUSXB7Mn6%2BJT=y64JakGSw@mail.gmail.com> References: <CAFuo_fy9xRU2T3GUPY8116yZCUd8sL9pBQ9ixXnMwO56niJFog@mail.gmail.com> <CAFuo_fzdmB79qdoH8P5EcO_ZZoa=_id6h=eqFBXvP_a%2B3WMkLw@mail.gmail.com> <CAFuo_fzB3A5L3vivH7Z80OEoBtVEHftEYE4LUkhnrkguzL5GDA@mail.gmail.com> <CAFuo_fzrk%2BWLXivZrnTsGQD%2BS7mq%2BUSXB7Mn6%2BJT=y64JakGSw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, > I cleaned some things up in the sdpd and pushed to github, also added > a simple example here: > > https://github.com/waitman/hid_sppd again, i does not look correct to me. please read all my previous emails. i assume you are trying to implement device side, i.e. your freebsd machine is going to act as hid device of some sort. am i correct? > if anyone is looking to run HID host services on their FreeBSD > machine, it's maybe a starting point. it would be, but it needs to be fixed first :) > ALSO, I don't see "Service Name" in the output of sdpcontrol.. is this > as intended? did you provide service name attribute? > and i don't see sdpcontrol listing the channel (if using rfcomm) or > PSM (hid). Maybe it's not so important. again, did you provide those attributes? rfcomm has nothing to do with bluetooth hid. bluetooth hid runs over l2cap. in fact it uses two l2cap psm: one for control channel and other for data (aka interrupt). bluetooth hid is modeled after usb hid, i.e. l2cap control channel is effectively usb control transfer, and, l2cap interrupt channel is effectively usb interrupt transfer. the rest, i.e. hid device descriptor, etc. etc. (that, again, comes from usb world) has to be provided (by device) via appropriate sdp attributes. thanks max
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFPOs6q3iVcNthF=S--UgTm=5wA0HM6coqB7AcmCKb=55OWdTQ>