Lines Matching refs:bt_conn
36 struct bt_conn;
678 struct bt_conn *bt_conn_ref(struct bt_conn *conn);
686 void bt_conn_unref(struct bt_conn *conn);
705 void (*func)(struct bt_conn *conn, void *data),
720 struct bt_conn *bt_conn_lookup_addr_le(uint8_t id, const bt_addr_le_t *peer);
728 const bt_addr_le_t *bt_conn_get_dst(const struct bt_conn *conn);
740 uint8_t bt_conn_index(const struct bt_conn *conn);
1043 int bt_conn_get_info(const struct bt_conn *conn, struct bt_conn_info *info);
1054 bool bt_conn_is_type(const struct bt_conn *conn, enum bt_conn_type type);
1072 int bt_conn_get_remote_info(const struct bt_conn *conn, struct bt_conn_remote_info *remote_info);
1083 int bt_conn_le_get_tx_power_level(struct bt_conn *conn,
1095 int bt_conn_le_enhanced_get_tx_power_level(struct bt_conn *conn,
1107 int bt_conn_le_get_remote_tx_power_level(struct bt_conn *conn,
1120 int bt_conn_le_set_tx_power_report_enable(struct bt_conn *conn,
1136 int bt_conn_le_set_path_loss_mon_param(struct bt_conn *conn,
1152 int bt_conn_le_set_path_loss_mon_enable(struct bt_conn *conn, bool enable);
1182 int bt_conn_le_subrate_request(struct bt_conn *conn,
1197 int bt_conn_le_param_update(struct bt_conn *conn,
1208 int bt_conn_le_data_len_update(struct bt_conn *conn,
1222 int bt_conn_le_phy_update(struct bt_conn *conn,
1247 int bt_conn_disconnect(struct bt_conn *conn, uint8_t reason);
1384 struct bt_conn **conn);
1420 const struct bt_le_conn_param *conn_param, struct bt_conn **conn);
1500 int bt_conn_set_security(struct bt_conn *conn, bt_security_t sec);
1511 bt_security_t bt_conn_get_security(const struct bt_conn *conn);
1523 uint8_t bt_conn_enc_key_size(const struct bt_conn *conn);
1672 void (*connected)(struct bt_conn *conn, uint8_t err);
1691 void (*disconnected)(struct bt_conn *conn, uint8_t reason);
1731 bool (*le_param_req)(struct bt_conn *conn,
1744 void (*le_param_updated)(struct bt_conn *conn, uint16_t interval,
1756 void (*identity_resolved)(struct bt_conn *conn,
1777 void (*security_changed)(struct bt_conn *conn, bt_security_t level,
1790 void (*remote_info_available)(struct bt_conn *conn,
1803 void (*le_phy_updated)(struct bt_conn *conn,
1816 void (*le_data_len_updated)(struct bt_conn *conn,
1827 void (*cte_report_cb)(struct bt_conn *conn,
1843 void (*tx_power_report)(struct bt_conn *conn,
1857 void (*path_loss_threshold_report)(struct bt_conn *conn,
1872 void (*subrate_changed)(struct bt_conn *conn,
1885 void (*le_cs_remote_capabilities_available)(struct bt_conn *conn,
1896 void (*le_cs_remote_fae_table_available)(struct bt_conn *conn,
1907 void (*le_cs_config_created)(struct bt_conn *conn, struct bt_conn_le_cs_config *config);
1917 void (*le_cs_config_removed)(struct bt_conn *conn, uint8_t config_id);
1927 void (*le_cs_subevent_data_available)(struct bt_conn *conn,
1937 void (*le_cs_security_enabled)(struct bt_conn *conn);
1948 struct bt_conn *conn, struct bt_conn_le_cs_procedure_enable_complete *params);
2053 int bt_conn_set_bondable(struct bt_conn *conn, bool enable);
2084 int bt_le_oob_set_legacy_tk(struct bt_conn *conn, const uint8_t *tk);
2105 int bt_le_oob_set_sc_data(struct bt_conn *conn,
2125 int bt_le_oob_get_sc_data(struct bt_conn *conn,
2245 enum bt_security_err (*pairing_accept)(struct bt_conn *conn,
2267 void (*passkey_display)(struct bt_conn *conn, unsigned int passkey);
2291 void (*passkey_display_keypress)(struct bt_conn *conn,
2313 void (*passkey_entry)(struct bt_conn *conn);
2336 void (*passkey_confirm)(struct bt_conn *conn, unsigned int passkey);
2354 void (*oob_data_request)(struct bt_conn *conn,
2369 void (*cancel)(struct bt_conn *conn);
2389 void (*pairing_confirm)(struct bt_conn *conn);
2410 void (*pincode_entry)(struct bt_conn *conn, bool highsec);
2425 void (*pairing_complete)(struct bt_conn *conn, bool bonded);
2432 void (*pairing_failed)(struct bt_conn *conn,
2475 int bt_conn_auth_cb_overlay(struct bt_conn *conn, const struct bt_conn_auth_cb *cb);
2509 int bt_conn_auth_passkey_entry(struct bt_conn *conn, unsigned int passkey);
2527 int bt_conn_auth_keypress_notify(struct bt_conn *conn, enum bt_conn_auth_keypress type);
2538 int bt_conn_auth_cancel(struct bt_conn *conn);
2550 int bt_conn_auth_passkey_confirm(struct bt_conn *conn);
2562 int bt_conn_auth_pairing_confirm(struct bt_conn *conn);
2575 int bt_conn_auth_pincode_entry(struct bt_conn *conn, const char *pin);
2618 struct bt_conn *bt_conn_create_br(const bt_addr_t *peer,