24 #define KEYBOARD_PARSER_ID 0
25 #define MOUSE_PARSER_ID 1
37 BTHID(
BTD *p,
bool pair =
false,
const char *pin =
"0000");
52 return pRptParser[id];
144 uint8_t protocolMode;
148 bool activeConnection;
151 uint8_t control_dcid[2];
152 uint8_t interrupt_dcid[2];
virtual void OnInitBTHID()
void ACLData(uint8_t *ACLData)
uint8_t interrupt_scid[2]
virtual void ResetBTHID()
HIDReportParser * GetReportParser(uint8_t id)
void setLeds(uint8_t data)
virtual void ParseBTHIDData(uint8_t len, uint8_t *buf)
void(* pFuncOnInit)(void)
void setProtocolMode(uint8_t mode)
BTHID(BTD *p, bool pair=false, const char *pin="0000")
bool SetReportParser(uint8_t id, HIDReportParser *prs)