This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

GATT without bonding

How do I use the NRF51 or 52 to create a GATT server with read only service without requiring bonding? Basically I want to be able to provide more data than advertising allows. Another alternative that would work would be to allow a temporary bonding that did not require user interaction and would be forgotten when the connection was lost.

Thanks for your help

Parents
  • There's no requirement for bonding or pairing unless you add that requirement to the characteristics. So just add a service, add read-only characteristic(s) which have open permissions, which is pretty much the default, and you're done. Anyone can connect and read the data.

    Most of the simple peripheral examples in the SDK don't use bonding or pairing, they make open services anyone can use.

Reply
  • There's no requirement for bonding or pairing unless you add that requirement to the characteristics. So just add a service, add read-only characteristic(s) which have open permissions, which is pretty much the default, and you're done. Anyone can connect and read the data.

    Most of the simple peripheral examples in the SDK don't use bonding or pairing, they make open services anyone can use.

Children
No Data
Related