based on hardware status.
now connect and run its thread.
approach and support more devices and multiple devices at the same time.