Remove NFC references.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
@@ -94,9 +94,6 @@ int man_get_config() {
|
|||||||
res_APDU[res_APDU_size++] = PICO_FIDO_VERSION_MAJOR;
|
res_APDU[res_APDU_size++] = PICO_FIDO_VERSION_MAJOR;
|
||||||
res_APDU[res_APDU_size++] = PICO_FIDO_VERSION_MINOR;
|
res_APDU[res_APDU_size++] = PICO_FIDO_VERSION_MINOR;
|
||||||
res_APDU[res_APDU_size++] = 0;
|
res_APDU[res_APDU_size++] = 0;
|
||||||
res_APDU[res_APDU_size++] = TAG_NFC_SUPPORTED;
|
|
||||||
res_APDU[res_APDU_size++] = 1;
|
|
||||||
res_APDU[res_APDU_size++] = 0x00;
|
|
||||||
if (!file_has_data(ef)) {
|
if (!file_has_data(ef)) {
|
||||||
res_APDU[res_APDU_size++] = TAG_USB_ENABLED;
|
res_APDU[res_APDU_size++] = TAG_USB_ENABLED;
|
||||||
res_APDU[res_APDU_size++] = 2;
|
res_APDU[res_APDU_size++] = 2;
|
||||||
@@ -108,9 +105,6 @@ int man_get_config() {
|
|||||||
res_APDU[res_APDU_size++] = TAG_CONFIG_LOCK;
|
res_APDU[res_APDU_size++] = TAG_CONFIG_LOCK;
|
||||||
res_APDU[res_APDU_size++] = 1;
|
res_APDU[res_APDU_size++] = 1;
|
||||||
res_APDU[res_APDU_size++] = 0x00;
|
res_APDU[res_APDU_size++] = 0x00;
|
||||||
res_APDU[res_APDU_size++] = TAG_NFC_ENABLED;
|
|
||||||
res_APDU[res_APDU_size++] = 1;
|
|
||||||
res_APDU[res_APDU_size++] = 0x00;
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
memcpy(res_APDU + res_APDU_size, file_get_data(ef), file_get_size(ef));
|
memcpy(res_APDU + res_APDU_size, file_get_data(ef), file_get_size(ef));
|
||||||
|
|||||||
Reference in New Issue
Block a user