register HID with SDP error
Maksim Yevmenkin
maksim.yevmenkin at gmail.com
Mon Mar 16 17:42:10 UTC 2015
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
More information about the freebsd-bluetooth
mailing list