Home
last modified time | relevance | path

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

/external/libnfc-nci/src/nfc/tags/
Drw_t1t_ndef.c1802 p_t1t->max_ndef_msg_len = 0; in rw_t1t_get_ndef_max_size()
1814 …p_t1t->max_ndef_msg_len = ((p_ret->tms +1)* T1T_BLOCK_SIZE) - T1T_OTP_LOCK_RES_BYTES - T1T_UID_LEN… in rw_t1t_get_ndef_max_size()
1817 …p_t1t->max_ndef_msg_len -= (T1T_TLV_TYPE_LEN + T1T_DEFAULT_TLV_LEN_FIELD_LEN + T1T_DEFAULT_TLV_LEN… in rw_t1t_get_ndef_max_size()
1818 p_t1t->max_ndef_msg_len -= T1T_DYNAMIC_LOCK_BYTES; in rw_t1t_get_ndef_max_size()
1825 return p_t1t->max_ndef_msg_len; in rw_t1t_get_ndef_max_size()
1836 p_t1t->max_ndef_msg_len++; in rw_t1t_get_ndef_max_size()
1845 if ( (p_t1t->max_ndef_msg_len >= T1T_LONG_NDEF_LEN_FIELD_BYTE0) in rw_t1t_get_ndef_max_size()
1848 …p_t1t->max_ndef_msg_len -= (p_t1t->max_ndef_msg_len == T1T_LONG_NDEF_LEN_FIELD_BYTE0)? 1 : (T1T_L… in rw_t1t_get_ndef_max_size()
1852 return p_t1t->max_ndef_msg_len; in rw_t1t_get_ndef_max_size()
2625 if (msg_len > p_t1t->max_ndef_msg_len) in RW_T1tWriteNDef()
[all …]
Drw_t2t_ndef.c982 if ((p_t2t->new_ndef_msg_len + 1) <= p_t2t->max_ndef_msg_len) in rw_t2t_read_ndef_last_block()
1504 p_t2t->max_ndef_msg_len = 0; in rw_t2t_get_ndef_max_size()
1511 …p_t2t->max_ndef_msg_len = T2T_STATIC_SIZE - T2T_HEADER_SIZE - T2T_TLV_TYPE_LEN - T2T_SHORT_NDEF_LE… in rw_t2t_get_ndef_max_size()
1512 return p_t2t->max_ndef_msg_len; in rw_t2t_get_ndef_max_size()
1522 p_t2t->max_ndef_msg_len++; in rw_t2t_get_ndef_max_size()
1527 if ( (p_t2t->max_ndef_msg_len >= T2T_LONG_NDEF_LEN_FIELD_BYTE0) in rw_t2t_get_ndef_max_size()
1530 …p_t2t->max_ndef_msg_len -= (p_t2t->max_ndef_msg_len == T2T_LONG_NDEF_LEN_FIELD_BYTE0) ? 1: (T2T_L… in rw_t2t_get_ndef_max_size()
1532 return p_t2t->max_ndef_msg_len; in rw_t2t_get_ndef_max_size()
3088 if (msg_len > p_t2t->max_ndef_msg_len) in RW_T2tWriteNDef()
3090 …OR1 ("RW_T2tWriteNDef - Cannot write NDEF of size greater than %u bytes", p_t2t->max_ndef_msg_len); in RW_T2tWriteNDef()
/external/libnfc-nci/src/nfc/int/
Drw_int.h163 …UINT16 max_ndef_msg_len; /* Maximum size of NDEF that can be writte… member
341 …UINT16 max_ndef_msg_len; /* Maximum size of NDEF that can be writte… member