Alse remove nfc_target_receive_dep_bytes() and nfc_target_send_dep_bytes().

Update issue 106
Implement what's described in comment 3, 7 and 8.
This commit is contained in:
Romain Tartiere 2010-09-03 16:45:24 +00:00
parent a5676ecd94
commit cbbe559f94
6 changed files with 20 additions and 73 deletions

View file

@ -49,7 +49,7 @@ int main(int argc, const char *argv[])
return 1;
}
if (!nfc_target_receive_dep_bytes(pnd, abtRecv, &szRecvBits)) {
if (!nfc_target_receive_bytes(pnd, abtRecv, &szRecvBits)) {
printf("unable to receive data\n");
return 1;
}
@ -57,7 +57,7 @@ int main(int argc, const char *argv[])
printf("Received: %s\n", abtRecv);
printf("Sending : %s\n", send);
if (!nfc_target_send_dep_bytes(pnd, send, 11)) {
if (!nfc_target_send_bytes(pnd, send, 11)) {
printf("unable to send data\n");
return 1;
}