callbox: Auto detect callbox type
Some tests can be used with either CMX or CMW, this adds a utility to
query the type of callbox when the hardware type isn't explicitly
provided so the same test can be run on both CMW and CMX callboxes.
BUG=b:262286938
TEST=tast run '(cellular_cmw_callbox)'
Change-Id: I61c75e542cbc0d181ccc156d25f0a246e6aeedd4
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/dev-util/+/4435769
Reviewed-by: Eric Caruso <ejcaruso@chromium.org>
Commit-Queue: Jason Stanko <jstanko@google.com>
Reviewed-by: Madhav <madhavadas@google.com>
Tested-by: Jason Stanko <jstanko@google.com>
2 files changed