7#ifndef NFC_T4T_HL_PROCEDURE_
8#define NFC_T4T_HL_PROCEDURE_
21#include <zephyr/types.h>
70 void (*
ndef_read)(uint16_t file_id,
const uint8_t *data,
size_t len);
152 uint8_t *ndef_buff, uint16_t ndef_len);
167 uint8_t *ndef_data, uint16_t ndef_len);
int nfc_t4t_hl_procedure_cc_read(struct nfc_t4t_cc_file *cc)
Perform Capability Container Read Procedure.
int nfc_t4t_hl_procedure_ndef_update(struct nfc_t4t_cc_file *cc, uint8_t *ndef_data, uint16_t ndef_len)
Perform NDEF Update Procedure.
int nfc_t4t_hl_procedure_cb_register(const struct nfc_t4t_hl_procedure_cb *cb)
Register High Level Procedure callback.
int nfc_t4t_hl_procedure_on_data_received(const uint8_t *data, size_t len)
Handle High Level Procedure received data.
nfc_t4t_hl_procedure_select
Type of selection procedure.
Definition hl_procedure.h:25
@ NFC_T4T_HL_PROCEDURE_NDEF_FILE_SELECT
Definition hl_procedure.h:33
@ NFC_T4T_HL_PROCEDURE_NDEF_APP_SELECT
Definition hl_procedure.h:27
@ NFC_T4T_HL_PROCEDURE_CC_SELECT
Definition hl_procedure.h:30
int nfc_t4t_hl_procedure_cc_select(void)
Perform NDEF Tag Capability Container Select Procedure.
int nfc_t4t_hl_procedure_ndef_read(struct nfc_t4t_cc_file *cc, uint8_t *ndef_buff, uint16_t ndef_len)
Perform NDEF Read Procedure.
int nfc_t4t_hl_procedure_ndef_tag_app_select(void)
Perform NDEF Tag Application Select Procedure.
int nfc_t4t_hl_procedure_ndef_file_select(uint16_t id)
Perform NDEF file Select Procedure.
uint16_t len
Definition cc_file.h:37
Descriptor for the Capability Container (CC) file of Type 4 Tag.
Definition cc_file.h:26
void(* ndef_updated)(uint16_t file_id)
HL Procedure NDEF file updated callback.
Definition hl_procedure.h:79
void(* cc_read)(struct nfc_t4t_cc_file *cc)
HL Procedure CC file read callback.
Definition hl_procedure.h:57
void(* ndef_read)(uint16_t file_id, const uint8_t *data, size_t len)
HL Procedure NDEF file read callback.
Definition hl_procedure.h:70
void(* selected)(enum nfc_t4t_hl_procedure_select type)
HL Procedure selected callback.
Definition hl_procedure.h:48
NFC T4T High Level Procedure callback structure.
Definition hl_procedure.h:41