Home
last modified time | relevance | path

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

/system/nfc/src/nfc/tags/
Drw_t1t_ndef.cc1634 p_t1t->max_ndef_msg_len = 0; in rw_t1t_get_ndef_max_size()
1645 p_t1t->max_ndef_msg_len = ((p_ret->tms + 1) * T1T_BLOCK_SIZE) - in rw_t1t_get_ndef_max_size()
1650 p_t1t->max_ndef_msg_len -= in rw_t1t_get_ndef_max_size()
1654 p_t1t->max_ndef_msg_len -= T1T_DYNAMIC_LOCK_BYTES; in rw_t1t_get_ndef_max_size()
1659 return p_t1t->max_ndef_msg_len; in rw_t1t_get_ndef_max_size()
1667 p_t1t->max_ndef_msg_len++; in rw_t1t_get_ndef_max_size()
1675 if ((p_t1t->max_ndef_msg_len >= T1T_LONG_NDEF_LEN_FIELD_BYTE0) && in rw_t1t_get_ndef_max_size()
1678 p_t1t->max_ndef_msg_len -= in rw_t1t_get_ndef_max_size()
1679 (p_t1t->max_ndef_msg_len == T1T_LONG_NDEF_LEN_FIELD_BYTE0) in rw_t1t_get_ndef_max_size()
1685 return p_t1t->max_ndef_msg_len; in rw_t1t_get_ndef_max_size()
[all …]
Drw_t2t_ndef.cc945 if ((p_t2t->new_ndef_msg_len + 1) <= p_t2t->max_ndef_msg_len) { in rw_t2t_read_ndef_last_block()
1390 p_t2t->max_ndef_msg_len = 0; in rw_t2t_get_ndef_max_size()
1396 p_t2t->max_ndef_msg_len = T2T_STATIC_SIZE - T2T_HEADER_SIZE - in rw_t2t_get_ndef_max_size()
1400 __func__, p_t2t->max_ndef_msg_len); in rw_t2t_get_ndef_max_size()
1401 return p_t2t->max_ndef_msg_len; in rw_t2t_get_ndef_max_size()
1408 p_t2t->max_ndef_msg_len++; in rw_t2t_get_ndef_max_size()
1414 if ((p_t2t->max_ndef_msg_len >= T2T_LONG_NDEF_LEN_FIELD_BYTE0) && in rw_t2t_get_ndef_max_size()
1417 p_t2t->max_ndef_msg_len -= in rw_t2t_get_ndef_max_size()
1423 __func__, p_t2t->max_ndef_msg_len); in rw_t2t_get_ndef_max_size()
1425 return p_t2t->max_ndef_msg_len; in rw_t2t_get_ndef_max_size()
[all …]
/system/nfc/src/nfc/include/
Drw_int.h204 max_ndef_msg_len; /* Maximum size of NDEF that can be written on the tag member
448 max_ndef_msg_len; /* Maximum size of NDEF that can be written on the tag member