On Sat, Mar 21, 2015 at 7:55 AM, maksim yevmenkin
<[email protected]> wrote:
>
> Hello!
>
>> Yes, thank you Max, that helps alot.
>>
>> One question, where is "Class" set? I believe this is causing me trouble
>
> You can set device class via hcicontrol. There is a command to do it. You can 
> also use configuration option that is going to be set when device attaches. 
> Please take a look at /etc/rc.d/Bluetooth and how it starts things. You can 
> create per-device configuration file that will set class, name etc.
>
> Thanks
> Max
>

Hey, that works! Thank you.

hccontrol Write_Class_Of_Device 02:50:40

so now I have to figure out how to send the PIN that the connecting
device demands to receive. I suppose it's sending 0000. But it appears
there has to be a human action in this case.

< HCI Command: Accept Connection Request(0x01|0x0009) plen 7
> HCI Event: Command Status(0x0f) plen 4
> HCI Event: Role Change(0x12) plen 8
> HCI Event: PIN Code Request(0x16) plen 6
< HCI Command: PIN Code Request Reply(0x01|0x000d) plen 23
> HCI Event: Command Complete(0x0e) plen 10
> HCI Event: Connect Complete(0x03) plen 11


-- 
Waitman Gobble
Los Altos California USA
510-830-7975
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bluetooth
To unsubscribe, send any mail to "[email protected]"

Reply via email to