This PR fixes an issue with handling devices that are out of range. Previously, although such devices didn't show up on scan results, connection was possible. Now it has been fixed. Connection will be in pending state until disconnect() is called, or the device is brought into range again.
A unit test has been added for this scenario.
This PR fixes an issue with handling devices that are out of range. Previously, although such devices didn't show up on scan results, connection was possible. Now it has been fixed. Connection will be in pending state until
disconnect()
is called, or the device is brought into range again. A unit test has been added for this scenario.