Pairing DA14580 on Win8.1

7 posts / 0 new
Last post
NScherdin
Offline
Last seen:1年3个月前
加入:2015-08-15 19:34
Pairing DA14580 on Win8.1

Using SDK 5.0.3 and a DA14580 Basic DK

I have been tearing my hair out for the past 3 days trying to get a project(template project) to succesfully pair with Win8.1. I can get to the point where it at least gives me the option of pairing but when I click the pairing button shortly after that the list of devices resets and the DA board will never show up again(Im assumign the pairing is failing an windows is not handling it gracefully). After that happens I have to manually edit the Win8.1 registry to remove the partially installed device or I have to change the BDADDRESS for the board so I can get back to the point where I can try to pair with it again.

Yes, I have enabled security(CFG_APP_SECURITY) and yes I have set the other requirements(from information I have pieced together from other forum posts). But I apparently I am missing something. So please provide a simple step by step of how to change the Template project so it will successfully pair with a Win8.1 machine completely. I should allow me to unpair from the Bluetooth devices screen and I should be able to successfully read the Device Name from a Windows Store App(I already have the code to do that as well).

Note I can pair and unpair with Android and iOS without issue. This is stricktly a Win8.1 problem(probably a Win10 problem as well but we arent supporting that yet). I assume Windows is requiring a very specific set of settings to get it to work and doesnt handle anything outside that properly.

Device:
Joacimwe
Offline
Last seen:1 year 4 months ago
格鲁鲁
加入:2014-01-14 06:45
When I tried last, Win 8.1

When I tried last, Win 8.1 needs passkey pairing, so you have to enable that if you only use Just Works pairing right now.
我真的不明白为什么你支持赢8.1,而不是较新的胜利10.微软有点试图强迫使用胜利8升级到赢取10的人,而且无论如何都是免费升级。
赢得10只支持工作s pairing.

NScherdin
Offline
Last seen:1年3个月前
加入:2015-08-15 19:34
Yes, I beleive Win8.1 did

Yes, I beleive Win8.1 did need a passcode and assumed that was why I was having problems so I followed one of the tutorials and built a verion of the bare bones app that requires a passcode. Again, Win8.1 would ask me for the passcode when I click Pair in the Bluetooth device list window and then the list would reset and the DA14580 device would never come back.

我不在Win10上发展,因为我必须为最不公共​​位定子系统设计软件。许多/大多数客户仍然在Win8.1(即使是我的一些非蓝牙应用程序的Win7),所以我必须在他们使用的系统上开放和测试。雷竞技安卓下载切换到Win10不会发生,直到最高90%的客户群在Win10上。我不希望这会发生几年。

MT_dialog
Offline
Last seen:1 month 3 days ago
Staff
加入:2015-06-08 11:34
嗨nscherdin,

嗨nscherdin,

You should be able to connect with the template project, please give a try with the proximity reporter as well. I was able to connect on both the template and the proximity reporter without any modifications in the security configuration or any pass key entry.

谢谢mt_dialog.

NScherdin
Offline
Last seen:1年3个月前
加入:2015-08-15 19:34
MT_dialog,

MT_dialog,
I think you may be missing what I said. I can connect to the DA14580(ie I can click Pairing on Win8.1) but the device then disappears from the list of devices and will not come back. I dont beleive this is correct behavior. Note, the driver is installed for the device characteristics(looked in Device manager and found them). However if I then write a program on Win8.1 to try to access the device it will not allow me to access the characteristics(I get a null back from GattDeviceService.FromIdAsync).

我已经测试了邻近记者和模板示例(5.0.3 SDK的新鲜窃取版本)。在这两种情况下,设备在蓝牙设备列表(Win8.1上的PC Settings / PC和设备/蓝牙窗口)中显示。然后,我选择设备并单击“对”。三秒钟后,列表重置和DA14580设备永远不会回来。没有显示错误消息。只是列表重置并且它。我必须进入注册表并手动删除设备,如此win8.1甚至将再次显示设备(或将bdaddress更改为其他东西)。

MT_dialog
Offline
Last seen:1 month 3 days ago
Staff
加入:2015-06-08 11:34
嗨nscherdin,

嗨nscherdin,

I understand what you mean, and i ve tested yesterday the proximity and the template project with a windows 8.1 laptop, i couldn't see any of the behaviour you are describing. I could normally pair with both of the projects without the list of devices reseting. I could connect and pair in both projects. The fact that when you hit pairing the device the list resets might be a windows issue and not related to the appropriate security of the 580. You can also have a look at the following posthttp://support.dialog-semicondiondiondiondum/sdk-5-and-basic-board-problem..

谢谢mt_dialog.

NScherdin
Offline
Last seen:1年3个月前
加入:2015-08-15 19:34
yes, I am suspicious it is a

yes, I am suspicious it is a windows 8.1/driver problem, maybe specific to my pc(Dell XPS 8700). I am trying to get access to another Win8.1 PC with bluetooth to test with. I will let you know if the second machine works or not.