24 #define KEYBOARD_PARSER_ID 0
25 #define MOUSE_PARSER_ID 1
37 BTHID(
BTD *p,
bool pair =
false,
const char *pin =
"0000");
62 return pRptParser[id];
106 pFuncOnInit = funcOnInit;
116 uint8_t protocolMode;
127 void (*pFuncOnInit)(void);
133 bool activeConnection;
137 uint32_t l2cap_event_flag;
140 uint8_t control_scid[2];
141 uint8_t control_dcid[2];
142 uint8_t interrupt_scid[2];
143 uint8_t interrupt_dcid[2];
virtual void ACLData(uint8_t *ACLData)
void attachOnInit(void(*funcOnInit)(void))
virtual void disconnect()
HIDReportParser * GetReportParser(uint8_t id)
void setLeds(uint8_t data)
void setProtocolMode(uint8_t mode)
BTHID(BTD *p, bool pair=false, const char *pin="0000")
bool SetReportParser(uint8_t id, HIDReportParser *prs)