Closed TeeTrizZz closed 8 years ago
The type nfc_connstring is defined as typedef char nfc_connstring[NFC_BUFSIZE_CONNSTRING]; in nfc-types.h. Therefore, the pointer has to be moved by NFC_BUFSIZE_CONNSTRING (1024) bytes in order to get the next device name.
nfc_connstring
typedef char nfc_connstring[NFC_BUFSIZE_CONNSTRING];
NFC_BUFSIZE_CONNSTRING
@TeeTrizZz Thank's for the fix
The type
nfc_connstring
is defined astypedef char nfc_connstring[NFC_BUFSIZE_CONNSTRING];
in nfc-types.h. Therefore, the pointer has to be moved byNFC_BUFSIZE_CONNSTRING
(1024) bytes in order to get the next device name.