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

/external/libnfc-nci/src/nfc/tags/
H A Drw_t1t_ndef.c1802 p_t1t->max_ndef_msg_len = 0;
1814 p_t1t->max_ndef_msg_len = ((p_ret->tms +1)* T1T_BLOCK_SIZE) - T1T_OTP_LOCK_RES_BYTES - T1T_UID_LEN - T1T_ADD_LEN - T1T_CC_LEN - T1T_TLV_TYPE_LEN - T1T_SHORT_NDEF_LEN_FIELD_LEN;
1817 p_t1t->max_ndef_msg_len -= (T1T_TLV_TYPE_LEN + T1T_DEFAULT_TLV_LEN_FIELD_LEN + T1T_DEFAULT_TLV_LEN + T1T_TLV_TYPE_LEN + T1T_DEFAULT_TLV_LEN_FIELD_LEN + T1T_DEFAULT_TLV_LEN);
1818 p_t1t->max_ndef_msg_len -= T1T_DYNAMIC_LOCK_BYTES;
1825 return p_t1t->max_ndef_msg_len;
1836 p_t1t->max_ndef_msg_len++;
1845 if ( (p_t1t->max_ndef_msg_len >= T1T_LONG_NDEF_LEN_FIELD_BYTE0)
1848 p_t1t->max_ndef_msg_len -= (p_t1t->max_ndef_msg_len == T1T_LONG_NDEF_LEN_FIELD_BYTE0)? 1 : (T1T_LONG_NDEF_LEN_FIELD_LEN - T1T_SHORT_NDEF_LEN_FIELD_LEN);
1852 return p_t1t->max_ndef_msg_len;
[all...]
H A Drw_t2t_ndef.c982 if ((p_t2t->new_ndef_msg_len + 1) <= p_t2t->max_ndef_msg_len)
1504 p_t2t->max_ndef_msg_len = 0;
1511 p_t2t->max_ndef_msg_len = T2T_STATIC_SIZE - T2T_HEADER_SIZE - T2T_TLV_TYPE_LEN - T2T_SHORT_NDEF_LEN_FIELD_LEN;
1512 return p_t2t->max_ndef_msg_len;
1522 p_t2t->max_ndef_msg_len++;
1527 if ( (p_t2t->max_ndef_msg_len >= T2T_LONG_NDEF_LEN_FIELD_BYTE0)
1530 p_t2t->max_ndef_msg_len -= (p_t2t->max_ndef_msg_len == T2T_LONG_NDEF_LEN_FIELD_BYTE0) ? 1: (T2T_LONG_NDEF_LEN_FIELD_LEN - T2T_SHORT_NDEF_LEN_FIELD_LEN);
1532 return p_t2t->max_ndef_msg_len;
3088 if (msg_len > p_t2t->max_ndef_msg_len)
[all...]
/external/libnfc-nci/src/nfc/int/
H A Drw_int.h163 UINT16 max_ndef_msg_len; /* Maximum size of NDEF that can be written on the tag */ member in struct:__anon10588
341 UINT16 max_ndef_msg_len; /* Maximum size of NDEF that can be written on the tag */ member in struct:__anon10592

Completed in 63 milliseconds