delete files in directory bin, create a service for device connect between host and client