feat(reachview): GetModemConfiguration func

This commit is contained in:
2025-07-08 09:00:13 +02:00
parent 1fcf748310
commit daadb9b678
10 changed files with 160 additions and 17 deletions

View File

@ -377,6 +377,29 @@ var testCases = []operationTestCase{
t.Logf("Message : %+v", taskMsg)
},
},
{
Name: "GetModemConfiguration",
Run: func(t *testing.T, ops protocol.Operations) {
ctx := context.Background()
if err := ops.Connect(ctx); err != nil {
t.Errorf("%+v", errors.WithStack(err))
return
}
defer func() {
if err := ops.Close(ctx); err != nil {
t.Errorf("%+v", errors.WithStack(err))
}
}()
config, err := ops.GetModemConfiguration(ctx)
if err != nil {
t.Errorf("%+v", errors.WithStack(err))
return
}
t.Logf("Modem configuration : %+v", config)
},
},
}
func TestOperations(t *testing.T, opsFactory OperationsFactoryFunc) {