I’m trying to connect from Windows 10 to the Duo with BLE. When I use one of the example programs, (Periphal or Simple Chat), I can see the duo in the devices list in Bluetooth settings but when I press “pair” it results in a failure.
As far as I know Windows apps need a paired device so I can develop with it.
Do I have to implement the pairing on the duo? Has anybody already connected a duo to windows 10 via BLE?
I tried with several Windows 10 devices and checked the EVENTLOG where I found a BTHUSB id 29 message indicating a timeout.
I was able to read the debug messages via serial:
LE Connection_complete (status=0) type 0, C0:33:5E:29:77:22 create_connection_for_addr C0:33:5E:29:77:22, type 0 New connection: handle 64, C0:33:5E:29:77:22 BTSTACK_EVENT_NR_CONNECTIONS_CHANGED 1 Connection complete, handle 0x0040 Device connected! sm: connected New sm_conn, role slave SM_EVENT_IDENTITY_RESOLVING_STARTED LE Device Lookup: device 0/0 LE Device Lookup: not found SM_EVENT_IDENTITY_RESOLVING_FAILED sm_setup_tk: master io cap: 4, slave io cap: 3 -> method 0 SMP: generation method 0 sm: connection 0x0040 locked setup context as responder L2CAP_EVENT_CHANNEL_CAN_SEND_NOW local_cid 0x4 L2CAP_EVENT_CHANNEL_CAN_SEND_NOW local_cid 0x6 sm_run: state 41 L2CAP_EVENT_CHANNEL_CAN_SEND_NOW local_cid 0x4 sm_run: state 42 sm_run: state 42 sm_run: state 42 sm_run: state 42 sm_run: state 42 sm_run: state 42 sm_run: state 42 sm_run: state 3 sm_run: state 3 SM timeout sm: connection 0x40 released setup context Disconnected. Write value handler: 0 GATT Client: HCI_EVENT_DISCONNECTION_COMPLETE Connection closed: handle 0x40, C0:33:5E:29:77:22 BTSTACK_EVENT_NR_CONNECTIONS_CHANGED 0 hci_run: gap_le: adv todo: 8
Thanks for help,