template <>

class WireSyncClientImpl

Defined at line 2030 of file fidling/gen/sdk/fidl/fuchsia.tpm/fuchsia.tpm/cpp/fidl/fuchsia.tpm/cpp/wire_messaging.h

Methods to make a sync FIDL call directly on an unowned handle or a

const reference to a |::fidl::ClientEnd

<

::fuchsia_tpm::TpmDevice>|,

avoiding setting up a client.

Public Methods

::fidl::WireResult< ::fuchsia_tpm::TpmDevice::GetDeviceId> GetDeviceId ()

Get the TPM's device ID, vendor ID, and revision ID.

Allocates 56 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_tpm::TpmDevice::ExecuteVendorCommand> ExecuteVendorCommand (uint16_t command_code, ::fidl::VectorView<uint8_t> data)

Execute a vendor command.

This method will construct a header for the TPM command from the

command_code. The data section should just contain the body of

the command and not the header.

Returns ZX_ERR_BUFFER_TOO_SMALL if the TPM responded with data that

wouldn't fit in the response buffer.

Request is heap-allocated. Response is heap-allocated.

::fidl::WireResult< ::fuchsia_tpm::TpmDevice::ExecuteCommand> ExecuteCommand (::fidl::VectorView<uint8_t> data)

Execute a complete command.

This method expects a complete command passed in data including

any header required.

Returns ZX_ERR_BUFFER_TOO_SMALL if the TPM responded with data that

wouldn't fit in the response buffer.

Request is heap-allocated. Response is heap-allocated.