RFID/NFC on Windows 10

Hello everyone! I have device with (Fieldbook K80 Rugged 8" Tablet) with RFID/NFC on board and installed Win10 OS. Please, help me understand, how work with this RFID in user application? Win10 already exists drivers and all needed services for RFID/NFC ?
Thanx for much!

Have you looked at windows.devices.sensors.proximitysensor?

Bent from my phone


From: xxxxx@lists.osr.com on behalf of xxxxx@gmail.com
Sent: Monday, January 29, 2018 10:26:23 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] RFID/NFC on Windows 10

Hello everyone! I have device with (Fieldbook K80 Rugged 8" Tablet) with RFID/NFC on board and installed Win10 OS. Please, help me understand, how work with this RFID in user application? Win10 already exists drivers and all needed services for RFID/NFC ?
Thanx for much!


NTDEV is sponsored by OSR

Visit the list online at: https:

MONTHLY seminars on crash dump analysis, WDF, Windows internals and software drivers!
Details at https:

To unsubscribe, visit the List Server section of OSR Online at https:</https:></https:></https:>

Doron, thank you for a quick reply! Do you mean this https:? I already know about this articles, but for me it still unclearly, my understanding of how it works and how using it in user mode is still poorly ((</https:>

That is for implementing a driver. It sounds like you need to write an app, so this is more appropriate

https://docs.microsoft.com/en-us/uwp/api/Windows.Devices.Sensors.ProximitySensor

the object can be used in a win32 or store application

d

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Monday, January 29, 2018 10:58 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] RFID/NFC on Windows 10

Doron, thank you for a quick reply! Do you mean this https:? I already know about this articles, but for me it still unclearly, my understanding of how it works and how using it in user mode is still poorly ((


NTDEV is sponsored by OSR

Visit the list online at: https:

MONTHLY seminars on crash dump analysis, WDF, Windows internals and software drivers!
Details at https:

To unsubscribe, visit the List Server section of OSR Online at https:</https:></https:></https:></https:>

And there is also Windows.Networking.Proximity which abstracts the underlying PHY for how to communicate and lets you find devices near you generically

https://docs.microsoft.com/en-us/uwp/api/windows.networking.proximity

d

-----Original Message-----
From: Doron Holan
Sent: Monday, January 29, 2018 11:11 PM
To: ‘Windows System Software Devs Interest List’
Subject: RE: RE:[ntdev] RFID/NFC on Windows 10

That is for implementing a driver. It sounds like you need to write an app, so this is more appropriate

https://docs.microsoft.com/en-us/uwp/api/Windows.Devices.Sensors.ProximitySensor

the object can be used in a win32 or store application

d

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Monday, January 29, 2018 10:58 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] RFID/NFC on Windows 10

Doron, thank you for a quick reply! Do you mean this https:? I already know about this articles, but for me it still unclearly, my understanding of how it works and how using it in user mode is still poorly ((


NTDEV is sponsored by OSR

Visit the list online at: https:

MONTHLY seminars on crash dump analysis, WDF, Windows internals and software drivers!
Details at https:

To unsubscribe, visit the List Server section of OSR Online at https:</https:></https:></https:></https:>

Ok, Doran, please, explain how I can read/write data from/to device? For it purpose used some socket or other interfaces? And this steps right? :
1)Find device (PeerFinder or something else)
2)Connect to the device (HOW?)
3)Read/write data (HOW?)

Thank you for your time!

Have you looked at https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/ProximitySensor ?

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Monday, January 29, 2018 11:30 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] RFID/NFC on Windows 10

Ok, Doran, please, explain how I can read/write data from/to device? For it purpose used some socket or other interfaces? And this steps right? :
1)Find device (PeerFinder or something else) 2)Connect to the device (HOW?) 3)Read/write data (HOW?)

Thank you for your time!


NTDEV is sponsored by OSR

Visit the list online at: https:

MONTHLY seminars on crash dump analysis, WDF, Windows internals and software drivers!
Details at https:

To unsubscribe, visit the List Server section of OSR Online at https:</https:></https:></https:>

Yes, I looked at https://github.com/Microsoft/Windows-universal-samples/t=
ree/master/Samples/ProximitySensor
but Scenario2_Polling.xaml.cpp IMHO very basic, what about intensive read/write and other customs interactions?

xxxxx@gmail.com wrote:

Ok, Doran, please, explain how I can read/write data from/to device? For it purpose used some socket or other interfaces? And this steps right? :
1)Find device (PeerFinder or something else)
2)Connect to the device (HOW?)
3)Read/write data (HOW?)

With NFC, you don’t go “find a device”, since most of the time there is
no device.  Instead, a driver sits in the background listening.  When it
detects a client, it sends a notification, which starts a flurry of
activity.

The proximity sensor API lets you register for a ReadingChanged event to
tell you that some state change occurred (like “a card was presented” or
“a card was removed”), but they don’t have anything to do with card data
or communication protocols.  You will have to construct and send the
APDUs yourself.  One of the ugly things about working in the NFC world
is that there are a number of competing and incompatible standards.

All of my NFC/RFID experience has been on embedded systems with Linux
and Windows CE, but the standard library for doing NFC data management
in that world is the PC/SC library.  NFC devices are mostly derived from
the old PCMCIA Smart Cards, so the protocol works.  That is the
low-level API for enumerating NFC-capable devices, monitoring for state
changes, and sending and receiving APDUs.  You might take a look at

    https://github.com/danm-de/pcsc-sharp


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.