MCPcopy Create free account
hub / github.com/acidanthera/BrcmPatchRAM / hciCommand

Method hciCommand

BrcmPatchRAM/USBDeviceShim.cpp:214–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212}
213
214IOReturn USBInterfaceShim::hciCommand(void* command, UInt16 length)
215{
216 IOUSBDevRequest request =
217 {
218 .bmRequestType = USBmakebmRequestType(kUSBOut, kUSBClass, kUSBDevice),
219 .bRequest = 0,
220 .wValue = 0,
221 .wIndex = 0,
222 .wLength = length,
223 .pData = command
224 };
225 return m_pInterface->DeviceRequest(&request);
226}
227
228USBPipeShim::USBPipeShim()
229{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected