QUERY · ISSUE
[NRF] Are there any plans to support the NFC functionality of the nRF52..
port-nrf
The nRF52 series have an embedded NFC slave that can function as a pairing method, activation from sleep, and even as an alternative way to configure a device.
@glennrub Are there any plans to expose this part of the chip?
CANDIDATE · PULL REQUEST
nrf/nfc: Add basic support for NFC tag 2.
port-nrf
This patch adds a new submodule nrfxlib which contains a static
library for NFC on nRF52 devices. Currently, only Tag2 library has
been targeted.
The patch also introduce a basic NFC machine module which expose API for
starting and stopping the NFC library/peripheral and an API to
to set raw payload.
Example:
from machine import NFC
n = NFC()
payload = bytearray([0x03, 0x0F, 0xD1, 0x01, 0x0B, 0x55, 0x02]
payload += [ord(i) for i in "google.com"])
n.payload_raw_set(payload)
n.start()
...
n.stop()