Unable to connect Socket Mobile scanner(Model: CHS 7Pi) in windows 10 uwp

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-12 22:35:57

问题


I'm working in Socket Mobile scanner(Model: CHS 7Pi) integration with Windows 10 UWP application. I'm getting following exception "Value does not fall within the expected range." after successfully making contact with scanner via bluetooth

I using below sample for my testing.

https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/BarcodeScanner

below msdn url suggest, it will support my scanner.

https://msdn.microsoft.com/en-us/library/windows/apps/mt426649.aspx#Bluetooth

Issue recorder.

https://onedrive.live.com/redir?resid=89346CF5C45CEB8C!5726&authkey=!AAOPylWs7bEh39c&ithint=file%2czip


回答1:


Got the same issue in debug mode with breackpoints. If you run example without breackpoints everything is ok?




回答2:


Yes, I fixed it. You should refer your product manual and scan barcode based on you platform to switch mode



来源:https://stackoverflow.com/questions/36268370/unable-to-connect-socket-mobile-scannermodel-chs-7pi-in-windows-10-uwp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!