wip SetBaseMode

This commit is contained in:
2025-07-08 16:16:33 +02:00
parent daadb9b678
commit 08f12ab5cb
5 changed files with 77 additions and 0 deletions

View File

@ -222,4 +222,18 @@ func (c *Client) GetModemConfiguration(ctx context.Context) (any, error) {
return config, nil
}
// SetBase implements protocol.Operations.
func (c *Client) SetBaseMode(ctx context.Context, funcs ...protocol.SetBaseOptionFunc) error {
_, ops, err := c.getProtocol(ctx)
if err != nil {
return errors.WithStack(err)
}
if err := ops.SetBaseMode(ctx, funcs...); err != nil {
return errors.WithStack(err)
}
return nil
}
var _ protocol.Operations = &Client{}