Hi,
The Application Family Identifier (AFI) represents the type of application targeted by the device and is used to extract from all the tags present only the tags meeting the required application.
The ISO 15693 provides the tag decision tree for the AFI. If the inventory contains AFI value=0, all tags supporting the AFI feature reply else (inventory with AFI value different from 0) only tags matching the AFI value reply.
Regarding the flags, WriteAFI and LockAFI can use the same flags as other API (e.g. read single block or write single block). Our demos use RFAL_NFCV_REQ_FLAG_DEFAULT (eventually in conjunction with RFAL_NFCV_REQ_FLAG_SELECT when Selected mode is used by the application).
Rgds
BT