<!--
{
  "availability" : [
    "DriverKit: 19.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "USBSerialDriverKit",
  "identifier" : "/documentation/USBSerialDriverKit/IOUserUSBSerial/handleInterruptPacket",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "USBSerialDriverKit"
    ],
    "preciseIdentifier" : "c:@S@IOUserUSBSerial@F@handleInterruptPacket#*1c#i#"
  },
  "title" : "handleInterruptPacket"
}
-->

# handleInterruptPacket

Processes an interrupt packet that originated from the device.

```
virtual void handleInterruptPacket(const uint8_t *packet, uint32_t size);
```

## Parameters

`packet`

A buffer containing the interrupt-related data.

`size`

The number of bytes in the `packet` buffer.

## Discussion

Override this method if you want to process interrupt packets sent by the device. The default implementation of this method does nothing.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)