mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-19 04:44:47 -07:00
NFC: Support creating NDEF AID on DESFire
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user