add pn531/pn533 _list_devices and _pick routines (plus minor fixes for acr122 and pn532_uart)

This commit is contained in:
Adam Laurie
2009-12-07 21:13:36 +00:00
parent 1909518572
commit b223ec5780
10 changed files with 186 additions and 83 deletions

View File

@@ -137,6 +137,7 @@ nfc_device_t* pn532_uart_connect(const nfc_device_desc_t* pndd)
if( pndd == NULL ) {
DBG("%s", "pn532_uart_connect() need an nfc_device_desc_t struct.");
return NULL;
} else {
DBG("Connecting to: %s at %d bauds.",pndd->pcPort, pndd->uiSpeed);
sp = uart_open(pndd->pcPort);