In pure U2F mode, no keepalive is sent by authenticator. Instead, client sends commands to know the status.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
parent
cb4e2ba0eb
commit
f58bcaecf1
1 changed files with 1 additions and 0 deletions
|
|
@ -246,6 +246,7 @@ int driver_write_hid(uint8_t itf, const uint8_t *buffer, uint16_t buffer_size) {
|
|||
return 0;
|
||||
}
|
||||
bool r = tud_hid_n_report(itf, 0, buffer, buffer_size);
|
||||
DEBUG_PAYLOAD(buffer, buffer_size);
|
||||
last_write_result[itf] = r ? WRITE_PENDING : WRITE_FAILED;
|
||||
if (last_write_result[itf] == WRITE_FAILED) {
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue