Pairing DA14580 on Win8.1

7 posts / 0 new
Last post
NScherdin
Offline
Last seen:1 year 4 months ago
加入: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 5 months ago
Guru
加入: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.
I don't really understand why you support Win 8.1 and not the newer Win 10. Microsoft kind of tries to force everyone that uses Win 8 to upgrade to Win 10, and it's a free upgrade anyway.
赢得10只支持工作s pairing.

NScherdin
Offline
Last seen:1 year 4 months ago
加入: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.

I dont develope on Win10 yet because I have to develope software for the least common denominator system. Many/Most of my customers are still on Win8.1(even Win7 for some of my non-bluetooth applications) so I have to develope and test on the systems they are using. Switching to Win10 wont happen until atleast 90% of my customer base is on Win10. I dont expect that to happen for a couple more years.

MT_dialog
Offline
Last seen:2 months 5 days ago
Staff
加入:2015-06-08 11:34
Hi NScherdin,

Hi 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.

Thanks MT_dialog

NScherdin
Offline
Last seen:1 year 4 months ago
加入: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).

我有接近记者和临时测试late examples(fresh unzipped versions of the 5.0.3 SDK). In both cases the devices show up in the Bluetooth device list(PC Setttings/PC and Devices/Bluetooth window on Win8.1). I then select the device and click Pair. Three seconds later the list resets and the DA14580 device never comes back. No error messages are shown. Just the list resets and thats it. I have to go into the registery and manually remove the device so Win8.1 will even show the device again(or change the BDAddress to something else).

MT_dialog
Offline
Last seen:2 months 5 days ago
Staff
加入:2015-06-08 11:34
Hi NScherdin,

Hi 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-semiconductor.com/sdk-5-and-basic-board-problem.

Thanks MT_dialog

NScherdin
Offline
Last seen:1 year 4 months ago
加入: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.