nfs-list: drop outdated examples superseeded by connection string
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
This commit is contained in:
parent
0b9fe52b2b
commit
34bf7b3089
1 changed files with 3 additions and 13 deletions
|
@ -98,22 +98,12 @@ main(int argc, const char *argv[])
|
||||||
pnd = nfc_open(context, NULL);
|
pnd = nfc_open(context, NULL);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* If specific device is wanted, i.e. an ARYGON device on /dev/ttyUSB0 */
|
/* Use connection string if specific device is wanted,
|
||||||
|
* i.e. PN532 UART device on /dev/ttyUSB1 */
|
||||||
#if 0
|
#if 0
|
||||||
nfc_device_desc_t ndd;
|
pnd = nfc_open(context, "pn532_uart:/dev/ttyUSB1");
|
||||||
ndd.pcDriver = "ARYGON";
|
|
||||||
ndd.pcPort = "/dev/ttyUSB0";
|
|
||||||
ndd.uiSpeed = 115200;
|
|
||||||
pnd = nfc_open(context, &ndd);
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* If specific device is wanted, i.e. a SCL3711 on USB */
|
|
||||||
#if 0
|
|
||||||
nfc_device_desc_t ndd;
|
|
||||||
ndd.pcDriver = "PN533_USB";
|
|
||||||
strcpy(ndd.acDevice, "SCM Micro / SCL3711-NFC&RW");
|
|
||||||
pnd = nfc_open(context, &ndd);
|
|
||||||
#endif
|
|
||||||
nfc_connstring connstrings[MAX_DEVICE_COUNT];
|
nfc_connstring connstrings[MAX_DEVICE_COUNT];
|
||||||
size_t szDeviceFound = nfc_list_devices(context, connstrings, MAX_DEVICE_COUNT);
|
size_t szDeviceFound = nfc_list_devices(context, connstrings, MAX_DEVICE_COUNT);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue