18 #ifndef _switch_pro_bt_h_
19 #define _switch_pro_bt_h_
87 memcpy(&buf[1], data, len);
void L2CAP_Command(uint16_t handle, uint8_t *data, uint8_t nbytes, uint8_t channelLow=0x01, uint8_t channelHigh=0x00)
uint8_t interrupt_scid[2]
void(* pFuncOnInit)(void)
virtual void ResetBTHID()
virtual void ParseBTHIDData(uint8_t len, uint8_t *buf)
virtual void sendOutputReport(uint8_t *data, uint8_t len)
SwitchProBT(BTD *p, bool pair=false, const char *pin="0000")
virtual void OnInitBTHID()
void Parse(uint8_t len, uint8_t *buf)