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
f58bcaecf1
commit
1431f91281
1 changed files with 3 additions and 0 deletions
|
|
@ -538,6 +538,9 @@ int driver_process_usb_packet_hid(uint16_t read) {
|
|||
}
|
||||
|
||||
void send_keepalive() {
|
||||
if (thread_type == 1) {
|
||||
return;
|
||||
}
|
||||
CTAPHID_FRAME *resp = (CTAPHID_FRAME *) (hid_tx[ITF_HID_CTAP].buffer + sizeof(hid_tx[ITF_HID_CTAP].buffer) - 64);
|
||||
//memset(ctap_resp, 0, sizeof(CTAPHID_FRAME));
|
||||
resp->cid = ctap_req->cid;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue