18 #ifndef _xboxonesbt_h_ 19 #define _xboxonesbt_h_ 78 uint8_t buf[nbytes + 2];
81 memcpy(buf + 2, data, nbytes);
virtual void ParseBTHIDData(uint8_t len, uint8_t *buf)
uint8_t interrupt_scid[2]
virtual void sendOutputReport(uint8_t *data, uint8_t nbytes)
virtual void ResetBTHID()
void Parse(uint8_t len, uint8_t *buf)
XBOXONESBT(BTD *p, bool pair=false)
void L2CAP_Command(uint16_t handle, uint8_t *data, uint8_t nbytes, uint8_t channelLow=0x01, uint8_t channelHigh=0x00)
virtual void OnInitBTHID()