Go to the documentation of this file.00001
00024 #ifndef _EXAMPLES_NFC_UTILS_H_
00025 # define _EXAMPLES_NFC_UTILS_H_
00026
00027 # include <stdlib.h>
00028 # include <string.h>
00029
00030 byte_t oddparity (const byte_t bt);
00031 void oddparity_byte_ts (const byte_t * pbtData, const size_t szLen, byte_t * pbtPar);
00032
00033 void print_hex (const byte_t * pbtData, const size_t szLen);
00034 void print_hex_bits (const byte_t * pbtData, const size_t szBits);
00035 void print_hex_par (const byte_t * pbtData, const size_t szBits, const byte_t * pbtDataPar);
00036
00037 void print_nfc_iso14443a_info (const nfc_iso14443a_info_t nai);
00038 void print_nfc_iso14443b_info (const nfc_iso14443b_info_t nbi);
00039 void print_nfc_felica_info (const nfc_felica_info_t nfi);
00040
00041 nfc_device_desc_t *parse_device_desc (int argc, const char *argv[], size_t * szFound);
00042
00043 #endif