Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.
Home › Forums › Ask the Flomies › ScardControl error
Hi all,
I get a FloBLE plus reader and am playing around with the js sdk. When launching example.js, I encounter the following error:
[adm1@flomio flomio-js-sdk-example-master]$ node examples/example.js
(node:78784) UnhandledPromiseRejectionWarning: Error: SCardControl error: Feature not supported.(0x8010001f)
(node:78784) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3)
(node:78784) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Does anyone have idea on the problem? Below is my test configuration:
CentOS 7.9.2009 on esxi 6.7
reader mapped to VM using remote console
npm v8.17.0
Rgds.
Martin
Hi Martin, sorry for the late reply. We haven’t been able to update the dependencies for the JS SDK and it’s likely throwing errors because of that. You could try the ACS driver directly available here: https://www.acs.com.hk/en/products/403/acr1255u-j1-acs-secure-bluetooth%C2%AE-nfc-reader/
best,
Richard
Hi Richard,
Thanks for the update. I’ve switched to a real PC and it works fine.
I’ll try out your suggestion later. If it works, it’ll definitely help my development work.
Rgds.
Martin
You must be logged in to reply to this topic.