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

@ -183,3 +183,13 @@ func (o *Operations) GetModem(ctx context.Context) (*model.ModemConfiguration, e
return config, nil
}
func (o *Operations) PostBaseMode(ctx context.Context, base *model.Base) (*model.Base, error) {
var updated model.Base
if err := o.PostJSON("/configuration/base_mode", base, &updated); err != nil {
return nil, errors.WithStack(err)
}
return &updated, nil
}