Home
last modified time | relevance | path

Searched refs:nbr (Results 1 – 5 of 5) sorted by relevance

/system/nfc/src/nfc/tags/
Dce_t3t.cc73 ce_cb.mem.t3t.ndef_info.nbr = CE_T3T_DEFAULT_CHECK_MAXBLOCKS; in ce_t3t_init()
414 if (p_cb->cur_cmd.num_blocks > p_cb->ndef_info.nbr) { in ce_t3t_handle_check_cmd()
418 p_cb->cur_cmd.num_blocks, p_cb->ndef_info.nbr); in ce_t3t_handle_check_cmd()
440 UINT8_TO_STREAM(p_dst, p_cb->ndef_info.nbr); in ce_t3t_handle_check_cmd()
918 tNFC_STATUS CE_T3tSetLocalNDefParams(uint8_t nbr, uint8_t nbw) { in CE_T3tSetLocalNDefParams() argument
922 << StringPrintf("CE_T3tSetLocalNDefParams: nbr=%i, nbw=%i", nbr, nbw); in CE_T3tSetLocalNDefParams()
925 if ((nbr > T3T_MSG_NUM_BLOCKS_CHECK_MAX) || in CE_T3tSetLocalNDefParams()
926 (nbw > T3T_MSG_NUM_BLOCKS_UPDATE_MAX) || (nbr < 1) || (nbw < 1)) { in CE_T3tSetLocalNDefParams()
931 p_cb->ndef_info.nbr = nbr; in CE_T3tSetLocalNDefParams()
Drw_t3t.cc458 p_cb->ndef_attrib.nbr = RW_T3T_DEFAULT_FELICALITE_NBR; in rw_t3t_format_cplt()
708 UINT8_TO_STREAM(p, p_cb->ndef_attrib.nbr); in rw_t3t_send_update_ndef_attribute_cmd()
939 if (ndef_blocks_remaining <= p_cb->ndef_attrib.nbr) { in rw_t3t_send_next_ndef_check_cmd()
948 .nbr; /* Read maximum number of blocks allowed by the peer */ in rw_t3t_send_next_ndef_check_cmd()
949 p_cb->ndef_rx_readlen = ((uint32_t)p_cb->ndef_attrib.nbr * 16); in rw_t3t_send_next_ndef_check_cmd()
1348 STREAM_TO_UINT8(p_cb->ndef_attrib.nbr, p); in rw_t3t_act_handle_ndef_detect_rsp()
1370 p_cb->ndef_attrib.nbr, p_cb->ndef_attrib.nbw, in rw_t3t_act_handle_ndef_detect_rsp()
1373 if (p_cb->ndef_attrib.nbr > T3T_MSG_NUM_BLOCKS_CHECK_MAX || in rw_t3t_act_handle_ndef_detect_rsp()
1380 p_cb->ndef_attrib.nbr, p_cb->ndef_attrib.nbw, in rw_t3t_act_handle_ndef_detect_rsp()
2049 p, p_cb->ndef_attrib.nbr); /* NBr: number of blocks that can be read in rw_t3t_handle_sro_poll_rsp()
[all …]
/system/nfc/src/nfc/include/
Dce_api.h102 extern tNFC_STATUS CE_T3tSetLocalNDefParams(uint8_t nbr, uint8_t nbw);
Dce_int.h46 nbr; /* NBr: number of blocks that can be read using one Check command */ member
Drw_int.h471 nbr; /* NBr: number of blocks that can be read using one Check command */ member