viam.components.board.service

Module Contents

Classes

BoardRPCService

gRPC Service for a Board

class viam.components.board.service.BoardRPCService(manager: viam.resource.manager.ResourceManager)[source]

Bases: viam.proto.component.board.BoardServiceBase, viam.resource.rpc_service_base.ResourceRPCServiceBase

gRPC Service for a Board

RESOURCE_TYPE
async Status(stream: grpclib.server.Stream[viam.proto.component.board.StatusRequest, viam.proto.component.board.StatusResponse]) None[source]
async SetGPIO(stream: grpclib.server.Stream[viam.proto.component.board.SetGPIORequest, viam.proto.component.board.SetGPIOResponse]) None[source]
async GetGPIO(stream: grpclib.server.Stream[viam.proto.component.board.GetGPIORequest, viam.proto.component.board.GetGPIOResponse]) None[source]
async PWM(stream: grpclib.server.Stream[viam.proto.component.board.PWMRequest, viam.proto.component.board.PWMResponse]) None[source]
async SetPWM(stream: grpclib.server.Stream[viam.proto.component.board.SetPWMRequest, viam.proto.component.board.SetPWMResponse]) None[source]
async PWMFrequency(stream: grpclib.server.Stream[viam.proto.component.board.PWMFrequencyRequest, viam.proto.component.board.PWMFrequencyResponse]) None[source]
async SetPWMFrequency(stream: grpclib.server.Stream[viam.proto.component.board.SetPWMFrequencyRequest, viam.proto.component.board.SetPWMFrequencyResponse]) None[source]
async ReadAnalogReader(stream: grpclib.server.Stream[viam.proto.component.board.ReadAnalogReaderRequest, viam.proto.component.board.ReadAnalogReaderResponse]) None[source]
async GetDigitalInterruptValue(stream: grpclib.server.Stream[viam.proto.component.board.GetDigitalInterruptValueRequest, viam.proto.component.board.GetDigitalInterruptValueResponse]) None[source]
async SetPowerMode(stream: grpclib.server.Stream[viam.proto.component.board.SetPowerModeRequest, viam.proto.component.board.SetPowerModeResponse]) None[source]
async WriteAnalog(stream: grpclib.server.Stream[viam.proto.component.board.WriteAnalogRequest, viam.proto.component.board.WriteAnalogResponse]) None[source]
async DoCommand(stream: grpclib.server.Stream[viam.proto.common.DoCommandRequest, viam.proto.common.DoCommandResponse]) None[source]
async GetGeometries(stream: grpclib.server.Stream[viam.proto.common.GetGeometriesRequest, viam.proto.common.GetGeometriesResponse]) None[source]