I have notice searching for Bluetooth will display numerous duplicates anywhere from 2 to 5 same name and ID.
Is this a bug with Serial library?
Is this a bug with Serial library?
B4X:
Sub Admin_DeviceFound (Name As String, MacAddress As String)
Log(Name & ":" & MacAddress)
Dim nm As NameAndMac
nm.Initialize
nm.Name = Name
nm.Mac = MacAddress
If foundDevices.IsInitialized = False Then foundDevices.Initialize
foundDevices.Add(nm)
ProgressDialogShow2("Searching for devices (~ device found)...".Replace("~", foundDevices.Size), False)
End Sub