viam.components.board.service

Attributes

LOGGER

Classes

BoardRPCService

gRPC Service for a Board

Module Contents

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

Bases: viam.proto.component.board.BoardServiceBase, viam.resource.rpc_service_base.ResourceRPCServiceBase[viam.components.board.board.Board]

gRPC Service for a Board

RESOURCE_TYPE
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]
async StreamTicks(stream: grpclib.server.Stream[viam.proto.component.board.StreamTicksRequest, viam.proto.component.board.StreamTicksResponse]) None[source]