Lines Matching defs:Tnf
147 /* Check for Tnf bits 0x07 is reserved for future use */
151 /* TNF 07 Error */
159 /* Check the First Record(MB = 0) for TNF = 0x06(Unchanged) */
170 /* First Record i.e., MB = 1, TNF != 0x05 and TypeLength = 0 */
281 TNF of present record is not 0x06 */
286 /* CF or TNF Error */
293 TNF of present record is 0x06 */
298 /* CF or TNF Error */
393 FlagCheck=phFriNfc_NdefRecord_NdefFlag(Record->Tnf,PH_FRINFC_NDEFRECORD_TNFBYTE_MASK);
394 /* Type length is present only for following TNF
424 FlagCheck=phFriNfc_NdefRecord_NdefFlag(Record->Tnf,PH_FRINFC_NDEFRECORD_TNFBYTE_MASK);
472 Tnf = 0;
488 Tnf = phFriNfc_NdefRecord_TypeNameFormat( RawRecord);
489 if(Tnf != 0xFF)
491 Record->Tnf = Tnf;
564 if (Record->Tnf == PH_FRINFC_NDEFRECORD_TNF_RESERVED)
579 *Buffer = ( (Record->Flags & PH_FRINFC_NDEFRECORD_FLAG_MASK) | (Record->Tnf & PH_FRINFC_NDEFRECORD_TNFBYTE_MASK));
583 FlagCheck=phFriNfc_NdefRecord_NdefFlag(Record->Tnf,PH_FRINFC_NDEFRECORD_TNFBYTE_MASK);
596 /* TNF should not be reserved one*/
597 FlagCheck=phFriNfc_NdefRecord_NdefFlag(Record->Tnf,PH_FRINFC_NDEFRECORD_TNFBYTE_MASK);
603 /* check for TNF Unknown or Unchanged */
604 FlagCheck=phFriNfc_NdefRecord_NdefFlag(Record->Tnf,PH_FRINFC_NDEFRECORD_TNFBYTE_MASK);
646 /*check for TNF and fill the Type*/
715 uint8_t tnf = 0;
720 tnf = PH_FRINFC_NDEFRECORD_TNF_EMPTY;
724 tnf = PH_FRINFC_NDEFRECORD_TNF_NFCWELLKNOWN;
728 tnf = PH_FRINFC_NDEFRECORD_TNF_MEDIATYPE;
732 tnf = PH_FRINFC_NDEFRECORD_TNF_ABSURI;
736 tnf = PH_FRINFC_NDEFRECORD_TNF_NFCEXT;
740 tnf = PH_FRINFC_NDEFRECORD_TNF_UNKNOWN;
744 tnf = PH_FRINFC_NDEFRECORD_TNF_UNCHANGED;
748 tnf = PH_FRINFC_NDEFRECORD_TNF_RESERVED;
751 tnf = 0xFF;
755 return tnf;
769 /* Check for Tnf bits 0x07 is reserved for future use */
773 /* TNF 07 Error */
779 /* Check for Type Name Format depending on the TNF, Type Length value is set*/