Home
last modified time | relevance | path

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

/packages/modules/Nfc/libnfc-nci/src/nfc/tags/
Drw_t1t_ndef.cc1633 p_t1t->max_ndef_msg_len = 0; in rw_t1t_get_ndef_max_size()
1644 p_t1t->max_ndef_msg_len = ((p_ret->tms + 1) * T1T_BLOCK_SIZE) - in rw_t1t_get_ndef_max_size()
1649 p_t1t->max_ndef_msg_len -= in rw_t1t_get_ndef_max_size()
1653 p_t1t->max_ndef_msg_len -= T1T_DYNAMIC_LOCK_BYTES; in rw_t1t_get_ndef_max_size()
1658 return p_t1t->max_ndef_msg_len; in rw_t1t_get_ndef_max_size()
1666 p_t1t->max_ndef_msg_len++; in rw_t1t_get_ndef_max_size()
1674 if ((p_t1t->max_ndef_msg_len >= T1T_LONG_NDEF_LEN_FIELD_BYTE0) && in rw_t1t_get_ndef_max_size()
1677 p_t1t->max_ndef_msg_len -= in rw_t1t_get_ndef_max_size()
1678 (p_t1t->max_ndef_msg_len == T1T_LONG_NDEF_LEN_FIELD_BYTE0) in rw_t1t_get_ndef_max_size()
1684 return p_t1t->max_ndef_msg_len; in rw_t1t_get_ndef_max_size()
[all …]
Drw_t2t_ndef.cc947 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()
1399 __func__, p_t2t->max_ndef_msg_len); in rw_t2t_get_ndef_max_size()
1400 return p_t2t->max_ndef_msg_len; in rw_t2t_get_ndef_max_size()
1406 p_t2t->max_ndef_msg_len++; in rw_t2t_get_ndef_max_size()
1412 if ((p_t2t->max_ndef_msg_len >= T2T_LONG_NDEF_LEN_FIELD_BYTE0) && in rw_t2t_get_ndef_max_size()
1415 p_t2t->max_ndef_msg_len -= in rw_t2t_get_ndef_max_size()
1420 __func__, p_t2t->max_ndef_msg_len); in rw_t2t_get_ndef_max_size()
1422 return p_t2t->max_ndef_msg_len; in rw_t2t_get_ndef_max_size()
[all …]
/packages/modules/Nfc/libnfc-nci/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