qmi.core.rpc.make_interface_descriptor

qmi.core.rpc.make_interface_descriptor(rpc_object_class: Type[QMI_RpcObject], signal_declaration_class: Type[QMI_RpcObject] | None = None) RpcInterfaceDescriptor

Create a description of the (subset of the) interface of the specified QMI_RpcObject subclass that can be accessed via RPC. Signal declarations are taken from the specified signal declaration class, which may be a different class than that from which the RPC methods are extracted.