0

Not getting the pairing pop up when trying to connect to the device.rin

And value also is some random data which i am not able to read.

zombie
  • 59
  • 1
  • 10
  • You should have the pairing pop-up when you try to read a characteristic which is protected (encrypted). Else, it's "open bar". For the value, what is it supposed to be? a String, a custom struct? – Larme Mar 24 '20 at 11:22
  • @Larme-If you can see the attached screenshot, on top characteristics i am getting the data of the value.I need to display the bytes data.But in Values parameter i am getting {""""""""""""""""""""""""""""""""""""""""""""""""} – zombie Mar 24 '20 at 11:26
  • I'm not familiar with Xamarain, but in Swift, you need to "force" a read on the characteric value, and then it's not necessary a valid "String". Now, is the value "empty" (full double quotes) because you need a pairing first? If so, find a characteristic which is encrypted to pair (and it might reveal the value of this one). – Larme Mar 24 '20 at 11:28
  • @LarmeThanks for the answer but how can i get the encrypted characteristic – zombie Mar 24 '20 at 11:30
  • @Larme-After pairing also i am getting empty.But in CBCharacteristics i can see the data – zombie Apr 01 '20 at 05:47

0 Answers0