nfc_start_poll(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– nfc_start_poll(9) β€” a Kernel API Manual moment πŸ’–

okay so bestie, welcome to the Kernel API Manual, where today's main character is nfc_start_poll(9) ✨ lowkey iconic of you to be reading kernel docs, fr fr 🫢


🌸 NAME 🌸

nfc_start_poll β€” start polling for nfc targets πŸ’…


✨ SYNOPSIS ✨

int nfc_start_poll (struct nfc_dev *dev , u32 im_protocols , u32
tm_protocols );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the nfc device that must start polling. yes, that one, she's the one doing the work πŸ¦‹
  • im_protocols β€” bitset of nfc initiator protocols to be used for polling ✨ literally a little bitset of vibes (protocol vibes)
  • tm_protocols β€” bitset of nfc transport protocols to be used for polling 🌈 also a bitset, also important, don't skip her

πŸ’œ DESCRIPTION πŸ’œ

so the way this works is: the device just stays polling for targets 😌 like she's posted up in the group chat waiting for someone to reply.

  • she keeps polling until a target is found 🎯
  • OR until the nfc_stop_poll function is called πŸ›‘

that's it, that's the whole behavior. no cap. periodt πŸ’…


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./net/nfc/core.c β€” go read her, she ate πŸ”₯


ngl bestie, that's a whole lot of sibling functions, but they're all family 🫢

k bye, this page came to you from ./net/nfc and it's dated October 2026 β€” mwah, stay polling πŸ’‹πŸŽ€πŸŒΈ

πŸ“¦ where this page comes from