NFC: Support creating NDEF AID on DESFire

This commit is contained in:
Willy-JL
2025-03-19 06:37:13 +00:00
parent 27c977b7c2
commit f7198c6105
8 changed files with 160 additions and 16 deletions

View File

@@ -187,6 +187,27 @@ MfDesfireError mf_desfire_poller_read_file_settings_multi(
const SimpleArray* file_ids,
SimpleArray* data);
/**
* @brief Create Application on MfDesfire card.
*
* Must ONLY be used inside the callback function.
*
* @param[in, out] instance pointer to the instance to be used in the transaction.
* @param[in] id pointer to the application id for the new application.
* @param[in] key_settings pointer to the key settings for the new application.
* @param[in] iso_df_id optional identifier for the new application.
* @param[in] iso_df_name optional name for the new application.
* @param[in] iso_df_name_len length of the optional application name.
* @return MfDesfireErrorNone on success, an error code on failure.
*/
MfDesfireError mf_desfire_poller_create_application(
MfDesfirePoller* instance,
const MfDesfireApplicationId* id,
const MfDesfireKeySettings* key_settings,
uint16_t iso_df_id,
const uint8_t* iso_df_name,
uint8_t iso_df_name_len);
/**
* @brief Read file data on MfDesfire card.
*