iOS Question BLE filter peripherals with Id instead of Name?

Discussion in 'iOS Questions' started by megaB4x, Jun 13, 2015.

  1. megaB4x

    megaB4x Member Licensed User

    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
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Put a breakpoint on that line and check the value of Id.
     
Loading...