M megaB4x Member Licensed User Longtime User Jun 13, 2015 #1 Hello, In Manager_DeviceFound event I can't filter down BLE device with Id: If Name = "TestName" Then manager.StopScan manager.connect(Id) End If Above code works fine but conditional statement with Id doesn't work If Id = "TestID" Then manager.StopScan manager.connect(Id) End If Any ideas? Thanks
Hello, In Manager_DeviceFound event I can't filter down BLE device with Id: If Name = "TestName" Then manager.StopScan manager.connect(Id) End If Above code works fine but conditional statement with Id doesn't work If Id = "TestID" Then manager.StopScan manager.connect(Id) End If Any ideas? Thanks
Erel B4X founder Staff member Licensed User Longtime User Jun 14, 2015 #2 Put a breakpoint on that line and check the value of Id. Upvote 0