Popup pin on connection vs writing to a characteristic as in the Dev Academy lesson

I was following this lesson on paring and passkey authentication:

Exercise 1 - Nordic Developer Academy (nordicsemi.com)

Is there a way to get the popup for the pin to appear on connection vs trying to write to a characteristic?

Parents Reply
  • I read the link. Thank you. It doesn't make sense to me that "To be able to trigger the phone to pair with your device you would need to read/write a characteristic that requires encryption/pairing." Why doesn't this happen on a connection? Also, what if I want all characteristics to require identity, does the passkey just happen once for all of them? What if there are multiple services each with multiple characteristics, can the passkey be added once?

    It somehow doesn't make sense for me that an unauthorized central can connect at all.

Children
No Data
Related