A peripheral advertises to a central and a connection is established as the peripheral's callback function is executed with parameter struct bt_conn *conn.
- Will this particular connection object remain the same through disconnects and reconnections of the central?
- Can I save the address of this object as an identifier of this particular connection and compare it with the conn parameter passed to connect and disconnect callbacks?
- What impact does a call to bt_conn_ref() or bt_conn_unref() have on how this works?
Thanks,
Ken