ENUM NFC_VENDOR_CMDS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

enum nfc_vendor_cmds β€” supported nfc vendor commands. This is the enum nfc_vendor_cmds(9) page from the Kernel API Manual, bestie, and it’s literally all about the vendor command glow-up. ✨


✨ SYNOPSIS ✨

okay so here’s the enum, exactly as it shows up β€” no cap, no edits:

enum nfc_vendor_cmds {
    FACTORY_MODE ,
    HCI_CLEAR_ALL_PIPES ,
    HCI_DM_PUT_DATA ,
    HCI_DM_UPDATE_AID ,
    HCI_DM_GET_INFO ,
    HCI_DM_GET_DATA ,
    HCI_DM_LOAD ,
    HCI_DM_RESET ,
    HCI_GET_PARAM ,
    HCI_DM_FIELD_GENERATOR ,
    HCI_LOOPBACK

};

πŸ”§ Constants πŸ”§

  • FACTORY_MODE β€” lets you set the driver into a mode where no secure element are activated. It does not consider any NFC_ATTR_VENDOR_DATA. πŸ’…
  • HCI_CLEAR_ALL_PIPES β€” lets you execute a HCI clear all pipes command. It does not consider any NFC_ATTR_VENDOR_DATA. ✨
  • HCI_DM_PUT_DATA β€” lets you configure specific CLF registry as for example RF trimmings or low level drivers configurations (I2C, SPI, SWP). πŸŽ€
  • HCI_DM_UPDATE_AID β€” lets you configure an AID routing into the CLF routing table following RF technology, CLF mode or protocol. πŸ¦‹
  • HCI_DM_GET_INFO β€” lets you retrieve CLF information. 🌸
  • HCI_DM_GET_DATA β€” lets you retrieve CLF configurable data such as low level drivers configurations or RF trimmings. 🫢
  • HCI_DM_LOAD β€” lets you load a firmware into the CLF. A complete packet can be more than 8KB. 😭
  • HCI_DM_RESET β€” lets you run a CLF reset in order to "commit" CLF configuration changes without CLF power off. πŸ”₯
  • HCI_GET_PARAM β€” lets you retrieve an HCI CLF parameter (for example the white list). πŸ‘‘
  • HCI_DM_FIELD_GENERATOR β€” lets you generate different kind of RF technology. When using this command to anti-collision is done. 🌈
  • HCI_LOOPBACK β€” lets you echo a command and test the Dh to CLF connectivity. ⭐

πŸ‘€ SEE ALSO πŸ‘€

Kernel file ./drivers/nfc/st21nfca/st21nfca.h β€” that’s the one, bestie. 🧚

πŸ’– source/version: ./drivers/nfc/st21nfca Β· date: October 2026 Β· from the Kernel API Manual Β· bye bestie, slay responsibly πŸ’…

πŸ“¦ where this page comes from