If only one midge is present the proximity test in test.py fails. The tests should instead:
This approach makes it that the scan test should always pass and also adds a test for the id and group, which is not tested as of now.
The last step requires expanding the returned data of the scanning function to include the id and group and not only the RSSI.
If only one midge is present the proximity test in test.py fails. The tests should instead:
This approach makes it that the scan test should always pass and also adds a test for the id and group, which is not tested as of now.
The last step requires expanding the returned data of the scanning function to include the id and group and not only the RSSI.