template <>

class WireWeakAsyncClientImpl

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

Public Methods

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

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

Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.

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

The request and callback are allocated on the heap.

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

The request and callback are allocated on the heap.