iOS Question iBLE question

megaB4x

Member
Licensed User
Hi,

I have three characteristics and all three values are all displayed whenever I read only one char or on Notify event.

How can I filter to log the value of a specific characteristic?

For example:

B4X:
Sub Manager_DataAvailable (Service As String, Characteristics As Map)
Dim ch = "H01383AB-493A-7160-0123-84ABE4AABD12" As String
    For Each id As String In Characteristics.Keys
             'Pseudocode - not sure how to filter to a single uuid
             If Characteristics.uuid = ch then
             Log(Characteristics.Get(id))
             end if    
    Next
End Sub
 
Top