mirror of
https://github.com/polhenarejos/pico-keys-sdk
synced 2026-05-25 23:55:11 +02:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user