iOS Question BLE clear names cache

Filippo

Expert
Licensed User
Longtime User
Try to find the name with this code:
B4X:
Private Sub btManager_DeviceFound (Name As String, Id As String, AdvertisingData As Map, RSSI As Double)
'    Log($"Device found: ${Name}"$)
    Dim NameAndMac1 As NameAndMac
    NameAndMac1.Initialize
    NameAndMac1.Mac = Id
    NameAndMac1.Name = AdvertisingData.Get("kCBAdvDataLocalName").As(String).Trim
    FoundDevices.Add(NameAndMac1)
End Sub
 
Upvote 0

Mike1970

Well-Known Member
Licensed User
Longtime User
It seems to make sense actually ?, thank you!

I will try tomorrow ?
 
Last edited:
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…