public void TestStopDeviceCmd() { TestBluetoothSubtypeManager mgr = new TestBluetoothSubtypeManager(new ButtplugLogManager()); foreach (var devInfo in mgr.GetDefaultDeviceInfoList()) { GetInterfaceObj(devInfo).TestDeviceMessageNoop(new StopDeviceCmd(1)); } }
public void TestInfo() { TestBluetoothSubtypeManager mgr = new TestBluetoothSubtypeManager(new ButtplugLogManager()); foreach (var devInfo in mgr.GetDefaultDeviceInfoList()) { // If you fail on this, check any device types you've recently added to // BluetoothSubtypeManager to make sure they conform to expectations (have names or // nameprefixes to search on, have at least one service, etc.) GetInterfaceObj(devInfo).TestDeviceInfo(); } }