import Foundation protocol DeviceManagerDelegate: AnyObject { func deviceManager(shouldConnectToDevice: Bool) func deviceManager(didReceive data: Data) func deviceManager(didChangeState state: DeviceState) }