delphi - WCN (connect to device using WPS) does not work under Windows 10 -
i have implemented delphi code connect device using wcn (wps) works on windows 7 & windows 8(.1).
first, code tries detect proper iwcndevice
, , once proper device has been found will:
- set password empty using
wcndevice.setpassword( )
- create object implements iwcnconnectnotify. (= wcnconnectionnotify )
- call
wcndevice.connect( wcnconnectionnotify )
under windows 10, wcndevice retrieved, wcnconnectnotify object can created , following sequence of msm / acm events received:
- source=0x10: 0x0010:msm / code=0x1: wlan_notification_msm_associating
- source=0x10: 0x0010:msm / code=0x39:
- source=0x10: 0x0010:msm / code=0x39:
- ...
- source=0x10: 0x0010:msm / code=0x2: wlan_notification_msm_associated
- source=0x10: 0x0010:msm / code=0x3: wlan_notification_msm_authenticating
- source=0x4: 0x0004:onex / code=0x1: onexnotificationtyperesultupdate
- 10 times: source=0x10: 0x0010:msm / code=0x39:
then iwcnconnectnotify.connectfailed( )
fires error code 0x80004005, without wps button being pressed on device (and way timeout).
- source=0x8: 0x0008:acm / code=0x14: wlan_notification_acm_disconnecting
processacmmessage: code=0x14 ssid= profile= reasoncode=0x0
source=0x8: 0x0008:acm / code=0xa: wlan_notification_acm_connection_complete
- processacmmessage: code=0xa ssid=wcn temporary profile profile=wcn temporary profile reasoncode=0x38001
i have found no new information on msdn documentation wcn indicate changed windows 10:
https://msdn.microsoft.com/en-us/library/windows/desktop/dd323260%28v=vs.85%29.aspx
has encountered same issue, , able find workaround?
Comments
Post a Comment