Fixed connection bug for some devices. Release 1.0.2