Documentation
¶
Index ¶
- Constants
- type Operations
- func (o *Operations) Alive(ctx context.Context) (bool, error)
- func (o *Operations) ApplyConfiguration(ctx context.Context, config *model.Configuration) (string, *model.Configuration, error)
- func (o *Operations) AveragePosition(ctx context.Context) (*protocol.TaskMessage[protocol.AveragePositionPayload], error)
- func (o *Operations) Close(ctx context.Context) error
- func (o *Operations) Configuration(ctx context.Context) (any, error)
- func (o *Operations) Connect(ctx context.Context) error
- func (o *Operations) Emit(ctx context.Context, mType string, message any) error
- func (o *Operations) GetBaseInfo(ctx context.Context) (*protocol.BaseInfo, error)
- func (o *Operations) GetModemAuthentication(ctx context.Context) (any, error)
- func (o *Operations) GetModemConfiguration(ctx context.Context) (any, error)
- func (o *Operations) GetNTRIPMountPoint(ctx context.Context) (*protocol.TaskMessage[protocol.NTRIPPayload], error)
- func (o *Operations) On(ctx context.Context, event string) (chan any, error)
- func (o *Operations) Reboot(ctx context.Context) error
- func (o *Operations) ReqResp(ctx context.Context, requestEvent string, requestData any, ...) error
- func (o *Operations) RequestConfiguration(ctx context.Context) (*model.Configuration, error)
- func (o *Operations) SetBase(ctx context.Context, funcs ...protocol.SetBaseOptionFunc) error
- func (o *Operations) SetBaseCorrections(ctx context.Context, funcs ...protocol.SetBaseCorrectionsFunc) error
- func (o *Operations) SetDeviceAntennaHeight(ctx context.Context, funcs ...protocol.SetBaseOptionFunc) error
- func (o *Operations) SetModem(ctx context.Context, funcs ...protocol.SetModemOptionsFunc) error
- func (o *Operations) Version(ctx context.Context) (string, bool, error)
- type Protocol
Constants ¶
const Identifier protocol.Identifier = "v1"
Deprecated : is no longer maintained for modules in V1
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Operations ¶
type Operations struct {
// contains filtered or unexported fields
}
Deprecated : is no longer maintained for modules in V1
func (*Operations) Alive ¶
func (o *Operations) Alive(ctx context.Context) (bool, error)
Deprecated : is no longer maintained for modules in V1 Alive implements protocol.Operations.
func (*Operations) ApplyConfiguration ¶
func (o *Operations) ApplyConfiguration(ctx context.Context, config *model.Configuration) (string, *model.Configuration, error)
Deprecated : is no longer maintained for modules in V1
func (*Operations) AveragePosition ¶
func (o *Operations) AveragePosition(ctx context.Context) (*protocol.TaskMessage[protocol.AveragePositionPayload], error)
Deprecated : is no longer maintained for modules in V1
func (*Operations) Close ¶
func (o *Operations) Close(ctx context.Context) error
Deprecated : is no longer maintained for modules in V1 Close implements protocol.Operations.
func (*Operations) Configuration ¶
func (o *Operations) Configuration(ctx context.Context) (any, error)
Deprecated : is no longer maintained for modules in V1 Configuration implements protocol.Operations.
func (*Operations) Connect ¶
func (o *Operations) Connect(ctx context.Context) error
Deprecated : is no longer maintained for modules in V1 Connect implements protocol.Operations.
func (*Operations) Emit ¶
Deprecated : is no longer maintained for modules in V1 Emit implements protocol.Operations.
func (*Operations) GetBaseInfo ¶
Deprecated : is no longer maintained for modules in V1 GetBaseInfo implements protocol.Operations.
func (*Operations) GetModemAuthentication ¶
func (o *Operations) GetModemAuthentication(ctx context.Context) (any, error)
Deprecated : is no longer maintained for modules in V1
func (*Operations) GetModemConfiguration ¶
func (o *Operations) GetModemConfiguration(ctx context.Context) (any, error)
Deprecated : is no longer maintained for modules in V1
func (*Operations) GetNTRIPMountPoint ¶
func (o *Operations) GetNTRIPMountPoint(ctx context.Context) (*protocol.TaskMessage[protocol.NTRIPPayload], error)
Deprecated : is no longer maintained for modules in V1
func (*Operations) On ¶
Deprecated : is no longer maintained for modules in V1 On implements protocol.Operations.
func (*Operations) Reboot ¶
func (o *Operations) Reboot(ctx context.Context) error
Deprecated : is no longer maintained for modules in V1 Reboot implements protocol.Operations.
func (*Operations) ReqResp ¶
func (o *Operations) ReqResp(ctx context.Context, requestEvent string, requestData any, responseEvent string, res any) error
Deprecated : is no longer maintained for modules in V1 ReqResp emits an event with the given data and waits for a response
func (*Operations) RequestConfiguration ¶
func (o *Operations) RequestConfiguration(ctx context.Context) (*model.Configuration, error)
Deprecated : is no longer maintained for modules in V1
func (*Operations) SetBase ¶
func (o *Operations) SetBase(ctx context.Context, funcs ...protocol.SetBaseOptionFunc) error
Deprecated : is no longer maintained for modules in V1 SetBase implements protocol.Operations.
func (*Operations) SetBaseCorrections ¶
func (o *Operations) SetBaseCorrections(ctx context.Context, funcs ...protocol.SetBaseCorrectionsFunc) error
Deprecated : is no longer maintained for modules in V1
func (*Operations) SetDeviceAntennaHeight ¶
func (o *Operations) SetDeviceAntennaHeight(ctx context.Context, funcs ...protocol.SetBaseOptionFunc) error
Deprecated : is no longer maintained for modules in V1
func (*Operations) SetModem ¶
func (o *Operations) SetModem(ctx context.Context, funcs ...protocol.SetModemOptionsFunc) error
Deprecated : is no longer maintained for modules in V1
type Protocol ¶
type Protocol struct {
// contains filtered or unexported fields
}
func (*Protocol) Available ¶
Deprecated : is no longer maintained for modules in V1 Available implements protocol.Protocol.
func (*Protocol) Identifier ¶
func (p *Protocol) Identifier() protocol.Identifier
Deprecated : is no longer maintained for modules in V1 Identifier implements protocol.Protocol.
func (*Protocol) Operations ¶
func (p *Protocol) Operations(addr string) protocol.Operations
Deprecated : is no longer maintained for modules in V1 Operations implements protocol.Protocol.