Lines Matching refs:conn

210 struct bt_conn *bt_conn_ref(struct bt_conn *conn);
218 void bt_conn_unref(struct bt_conn *conn);
226 void bt_conn_foreach(int type, void (*func)(struct bt_conn *conn, void *data),
249 const bt_addr_le_t *bt_conn_get_dst(const struct bt_conn *conn);
261 u8_t bt_conn_index(struct bt_conn *conn);
380 int bt_conn_get_info(const struct bt_conn *conn, struct bt_conn_info *info);
397 int bt_conn_get_remote_info(struct bt_conn *conn,
407 int bt_conn_le_param_update(struct bt_conn *conn,
417 int bt_conn_le_data_len_update(struct bt_conn *conn,
427 int bt_conn_le_phy_update(struct bt_conn *conn,
440 int bt_conn_disconnect(struct bt_conn *conn, u8_t reason);
557 struct bt_conn **conn);
563 struct bt_conn *conn; in bt_conn_create_le() local
570 &conn)) { in bt_conn_create_le()
574 return conn; in bt_conn_create_le()
716 int bt_conn_set_security(struct bt_conn *conn, bt_security_t sec);
722 bt_security_t bt_conn_get_security(struct bt_conn *conn);
724 static inline int __deprecated bt_conn_security(struct bt_conn *conn, in bt_conn_security() argument
727 return bt_conn_set_security(conn, sec); in bt_conn_security()
739 u8_t bt_conn_enc_key_size(struct bt_conn *conn);
800 void (*connected)(struct bt_conn *conn, u8_t err);
819 void (*disconnected)(struct bt_conn *conn, u8_t reason);
842 bool (*le_param_req)(struct bt_conn *conn,
855 void (*le_param_updated)(struct bt_conn *conn, u16_t interval,
867 void (*identity_resolved)(struct bt_conn *conn,
881 void (*security_changed)(struct bt_conn *conn, bt_security_t level,
894 void (*remote_info_available)(struct bt_conn *conn,
907 void (*le_phy_updated)(struct bt_conn *conn,
920 void (*le_data_len_updated)(struct bt_conn *conn,
968 int bt_le_oob_set_legacy_tk(struct bt_conn *conn, const u8_t *tk);
988 int bt_le_oob_set_sc_data(struct bt_conn *conn,
1007 int bt_le_oob_get_sc_data(struct bt_conn *conn,
1127 enum bt_security_err (*pairing_accept)(struct bt_conn *conn,
1149 void (*passkey_display)(struct bt_conn *conn, unsigned int passkey);
1169 void (*passkey_entry)(struct bt_conn *conn);
1192 void (*passkey_confirm)(struct bt_conn *conn, unsigned int passkey);
1210 void (*oob_data_request)(struct bt_conn *conn,
1225 void (*cancel)(struct bt_conn *conn);
1245 void (*pairing_confirm)(struct bt_conn *conn);
1266 void (*pincode_entry)(struct bt_conn *conn, bool highsec);
1277 void (*pairing_complete)(struct bt_conn *conn, bool bonded);
1284 void (*pairing_failed)(struct bt_conn *conn,
1309 int bt_conn_auth_passkey_entry(struct bt_conn *conn, unsigned int passkey);
1319 int bt_conn_auth_cancel(struct bt_conn *conn);
1330 int bt_conn_auth_passkey_confirm(struct bt_conn *conn);
1341 int bt_conn_auth_pairing_confirm(struct bt_conn *conn);
1353 int bt_conn_auth_pincode_entry(struct bt_conn *conn, const char *pin);