Home
last modified time | relevance | path

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

/system/nfc/src/nfc/tags/
Drw_t2t_ndef.cc359 block = (uint16_t)(lock_offset / T2T_BLOCK_LEN); in rw_t2t_handle_lock_read_rsp()
373 rw_t2t_read((uint16_t)(lock_offset / T2T_BLOCK_LEN))) { in rw_t2t_handle_lock_read_rsp()
416 p_t2t->work_offset = T2T_FIRST_DATA_BLOCK * T2T_BLOCK_LEN; in rw_t2t_handle_tlv_detect_rsp()
730 … (p_t2t->tag_hdr[T2T_CC2_TMS_BYTE] * T2T_TMS_TAG_FACTOR + T2T_FIRST_DATA_BLOCK * T2T_BLOCK_LEN)) { in rw_t2t_handle_tlv_detect_rsp()
738 if (rw_t2t_read((uint16_t)(p_t2t->work_offset / T2T_BLOCK_LEN) ) != NFC_STATUS_OK) in rw_t2t_handle_tlv_detect_rsp()
815 block = (uint16_t)(offset / T2T_BLOCK_LEN); in rw_t2t_read_locks()
884 (T2T_FIRST_DATA_BLOCK * T2T_BLOCK_LEN); in rw_t2t_extract_default_locks_info()
1335 memcpy(p_t2t->terminator_tlv_block, p_write_block, T2T_BLOCK_LEN); in rw_t2t_update_cb()
1416 (T2T_FIRST_DATA_BLOCK * T2T_BLOCK_LEN) + in rw_t2t_get_ndef_max_size()
1471 p_t2t->terminator_tlv_block[p_t2t->terminator_byte_index % T2T_BLOCK_LEN] = in rw_t2t_add_terminator_tlv()
[all …]
/system/nfc/src/nfc/include/
Dtags_defs.h223 #define T2T_BLOCK_LEN 4 macro
224 #define T2T_READ_DATA_LEN (T2T_BLOCK_LEN * T2T_READ_BLOCKS)
Drw_int.h429 uint8_t ndef_first_block[T2T_BLOCK_LEN]; /* NDEF TLV Header block */
430 uint8_t ndef_read_block[T2T_BLOCK_LEN]; /* Buffer to hold read before write
432 uint8_t ndef_last_block[T2T_BLOCK_LEN]; /* Terminator TLV block after NDEF
434 uint8_t terminator_tlv_block[T2T_BLOCK_LEN]; /* Terminator TLV Block */