CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
Loading...
Searching...
No Matches
cdc::core::UsbHidCallbacks Struct Reference

#include <UsbManager.h>

Public Attributes

uint16_t(* onGetReport )(uint8_t report_id, uint8_t report_type, uint8_t *buffer, uint16_t reqlen) = nullptr
void(* onSetReport )(uint8_t report_id, uint8_t report_type, uint8_t const *buffer, uint16_t bufsize) = nullptr
void(* onReportComplete )(uint8_t const *report, uint16_t len) = nullptr

Detailed Description

Definition at line 19 of file UsbManager.h.

Member Data Documentation

◆ onGetReport

uint16_t(* cdc::core::UsbHidCallbacks::onGetReport) (uint8_t report_id, uint8_t report_type, uint8_t *buffer, uint16_t reqlen) = nullptr

Definition at line 20 of file UsbManager.h.

Referenced by cdc::mod_fido2::Fido2Module::start().

◆ onReportComplete

void(* cdc::core::UsbHidCallbacks::onReportComplete) (uint8_t const *report, uint16_t len) = nullptr

Definition at line 24 of file UsbManager.h.

Referenced by cdc::mod_fido2::Fido2Module::start().

◆ onSetReport

void(* cdc::core::UsbHidCallbacks::onSetReport) (uint8_t report_id, uint8_t report_type, uint8_t const *buffer, uint16_t bufsize) = nullptr

Definition at line 22 of file UsbManager.h.

Referenced by cdc::mod_fido2::Fido2Module::start().


The documentation for this struct was generated from the following file: