Home
last modified time | relevance | path

Searched refs:T2T_BLOCK_SIZE (Results 1 – 3 of 3) sorted by relevance

/external/libnfc-nci/src/nfc/tags/
Drw_t2t_ndef.c365 offset = (UINT8) (lock_offset - (p_t2t->block_read * T2T_BLOCK_SIZE)); in rw_t2t_handle_lock_read_rsp()
473 index = (offset % T2T_BLOCK_SIZE); in rw_t2t_handle_tlv_detect_rsp()
506 index = (offset % T2T_BLOCK_SIZE); in rw_t2t_handle_tlv_detect_rsp()
975 p_t2t->ndef_last_block_num = (UINT16) ((last_ndef_byte_offset - 1) / T2T_BLOCK_SIZE); in rw_t2t_read_ndef_last_block()
1024 block = p_t2t->terminator_byte_index / T2T_BLOCK_SIZE; in rw_t2t_read_terminator_tlv_block()
1086 if (block == p_t2t->ndef_header_offset / T2T_BLOCK_SIZE) in rw_t2t_is_read_before_write_block()
1090 memcpy (p_t2t->ndef_read_block,p_t2t->ndef_first_block,T2T_BLOCK_SIZE); in rw_t2t_is_read_before_write_block()
1096 memcpy (p_t2t->ndef_read_block,p_t2t->ndef_last_block,T2T_BLOCK_SIZE); in rw_t2t_is_read_before_write_block()
1098 else if (block == p_t2t->terminator_byte_index / T2T_BLOCK_SIZE) in rw_t2t_is_read_before_write_block()
1102 memcpy (p_t2t->ndef_read_block,p_t2t->terminator_tlv_block,T2T_BLOCK_SIZE); in rw_t2t_is_read_before_write_block()
[all …]
/external/libnfc-nci/src/nfc/include/
Dtags_defs.h139 #define T2T_BLOCK_SIZE 4 macro
/external/libnfc-nci/src/nfc/int/
Drw_int.h323 …UINT8 ndef_final_block[T2T_BLOCK_SIZE]; /* Buffer for ndef last block …