<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.3.0 -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CarKey",
  "identifier" : "/documentation/CarKey/CarKeyRemoteControlSession/sendPassthroughData(_:toVehicle:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "CarKey"
    ],
    "preciseIdentifier" : "s:6CarKey0aB20RemoteControlSessionC19sendPassthroughData_9toVehicley10Foundation0H0V_SStKF"
  },
  "title" : "sendPassthroughData(_:toVehicle:)"
}
-->

# sendPassthroughData(_:toVehicle:)

Sends the specified custom data to the vehicle.

```
func sendPassthroughData(_ passthroughData: Data, toVehicle vehicleID: String) throws
```

## Parameters

`passthroughData`

The custom data to send to the vehicle. Make
sure the size of your data object doesn’t exceed 65 kilobytes.

`vehicleID`

The target vehicle for the request. Choose the vehicle
from one of the session’s vehicle reports. Specify the string in the
[`identifier`](/documentation/CarKey/VehicleReport/identifier) property of the corresponding report.

## Discussion

Use this method to send data that is custom to your specific vehicle.
This method passes the data unmodified directly to the vehicle, and
it is up to you to format the data exactly how the vehicle needs it.

If the vehicle sends a custom response, the system delivers it to
the [`remoteControlSession(_:didReceivePassthroughData:fromVehicle:)`](/documentation/CarKey/CarKeyRemoteControlSessionDelegate/remoteControlSession(_:didReceivePassthroughData:fromVehicle:))
method of your session’s delegate object.

---

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)