template <>

class WireWeakAsyncBufferClientImpl

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

Public Methods

::fidl::internal::WireBufferThenable< ::fuchsia_tpm::TpmDevice::GetDeviceId> GetDeviceId ()

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

Caller provides the backing storage for FIDL message.

::fidl::internal::WireBufferThenable< ::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.

Caller provides the backing storage for FIDL message.

::fidl::internal::WireBufferThenable< ::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.

Caller provides the backing storage for FIDL message.