Home
last modified time | relevance | path

Searched refs:bt_dev (Results 1 – 11 of 11) sorted by relevance

/AliOS-Things-master/components/ble_host/bt_host/host/
A Dsettings.c136 len = read_cb(cb_arg, &bt_dev.id_addr, sizeof(bt_dev.id_addr)); in set()
148 bt_dev.id_count = 0U; in set()
152 bt_dev.id_count = len / sizeof(bt_dev.id_addr[0]); in set()
164 len = read_cb(cb_arg, &bt_dev.name, sizeof(bt_dev.name) - 1); in set()
169 bt_dev.name[len] = '\0'; in set()
179 len = read_cb(cb_arg, bt_dev.irk, sizeof(bt_dev.irk)); in set()
186 (void)memset(bt_dev.irk, 0, sizeof(bt_dev.irk)); in set()
218 err = settings_save_one("bt/irk", bt_dev.irk, ID_DATA_LEN(bt_dev.irk)); in save_id()
238 if (bt_dev.name[0] == '\0') { in commit()
242 if (!bt_dev.id_count) { in commit()
[all …]
A Dhci_core.c77 struct bt_dev bt_dev; variable
1649 bt_dev.le.rl_entries > bt_dev.le.rl_size) { in bt_le_create_conn_ext()
1722 bt_dev.le.rl_entries > bt_dev.le.rl_size) { in bt_le_create_conn_ext()
1804 bt_dev.le.rl_entries > bt_dev.le.rl_size) { in bt_le_create_conn_legacy()
1850 bt_dev.le.rl_entries > bt_dev.le.rl_size) { in bt_le_create_conn_legacy()
4221 if (!bt_dev.le.rl_size || bt_dev.le.rl_entries > bt_dev.le.rl_size) { in bt_id_add()
4271 if (bt_dev.le.rl_entries == bt_dev.le.rl_size) { in bt_id_add()
4413 if (bt_dev.le.rl_entries > bt_dev.le.rl_size) { in bt_id_del()
5968 bt_dev.le.mtu_init = bt_dev.le.mtu; in le_read_buffer_size_complete()
6430 bt_dev.le.mtu_init = bt_dev.le.mtu; in le_init()
[all …]
A Dconn.c104 return &bt_dev.br.pkts; in bt_conn_get_pkts()
108 return &bt_dev.le.pkts; in bt_conn_get_pkts()
1445 return bt_dev.br.mtu; in conn_mtu()
1449 return bt_dev.le.mtu; in conn_mtu()
1719 bt_dev.le.mtu = bt_dev.le.mtu_init; in bt_conn_set_state()
2257 bt_dev.create_param = *param; in create_param_setup()
2259 bt_dev.create_param.timeout = in create_param_setup()
2261 bt_dev.create_param.timeout : in create_param_setup()
2267 bt_dev.create_param.interval; in create_param_setup()
2272 bt_dev.create_param.window; in create_param_setup()
[all …]
A Dhci_raw.c44 struct bt_dev_raw bt_dev; variable
50 if (bt_dev.drv) { in bt_hci_driver_register()
58 bt_dev.drv = drv; in bt_hci_driver_register()
283 return bt_dev.drv->send(buf); in bt_send()
321 const struct bt_hci_driver *drv = bt_dev.drv; in bt_enable_raw()
328 if (!bt_dev.drv) { in bt_enable_raw()
A Dhci_core.h171 struct bt_dev { struct
251 extern struct bt_dev bt_dev; argument
A Dhci_raw_internal.h18 extern struct bt_dev_raw bt_dev;
A Dhci_api.c417 cp->filter_dup = atomic_test_bit(bt_dev.flags, in hci_api_le_scan_enable()
1019 (bt_dev.hci_version < BT_HCI_VERSION_5_0 || in hci_vs_init()
1020 (!atomic_test_bit(bt_dev.flags, BT_DEV_USER_ID_ADDR) && in hci_vs_init()
1021 bt_addr_le_cmp(&bt_dev.id_addr[0], BT_ADDR_LE_ANY)))) { in hci_vs_init()
1059 memcpy(bt_dev.vs_commands, rp.cmds->commands, BT_DEV_VS_CMDS_MAX); in hci_vs_init()
1071 memcpy(bt_dev.vs_features, rp.feat->features, BT_DEV_VS_FEAT_MAX); in hci_vs_init()
1887 cmd_state_set_init(&state, bt_dev.flags, BT_DEV_SCANNING, enable == BT_HCI_LE_SCAN_ENABLE); in hci_api_le_ext_scan_enable()
1998 cmd_state_set_init(&state, bt_dev.flags, BT_DEV_INITIATING, true); in hci_api_le_create_conn_ext()
A Dhci_ecc.c326 return bt_dev.drv->send(buf); in bt_hci_ecc_send()
A Dsmp.c1218 memcpy(id_info->irk, bt_dev.irk[conn->id], 16); in smp_br_distribute_keys()
1230 bt_addr_le_copy(&id_addr_info->addr, &bt_dev.id_addr[conn->id]); in smp_br_distribute_keys()
1652 return BT_FEAT_SC(bt_dev.features); in br_sc_supported()
2126 memcpy(id_info->irk, bt_dev.irk[conn->id], 16); in bt_smp_distribute_keys()
2138 bt_addr_le_copy(&id_addr_info->addr, &bt_dev.id_addr[conn->id]); in bt_smp_distribute_keys()
5547 return BT_CMD_TEST(bt_dev.supported_commands, 34, 1) && in le_sc_supported()
5548 BT_CMD_TEST(bt_dev.supported_commands, 34, 2); in le_sc_supported()
A Dgatt.c189 read_name, write_name, bt_dev.name),
2012 if (!atomic_test_bit(bt_dev.flags, BT_DEV_READY)) { in bt_gatt_notify_cb()
2099 if (!atomic_test_bit(bt_dev.flags, BT_DEV_READY)) { in bt_gatt_indicate()
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/bt_if_enhanced/inc/
A Ddip_api.h25 void btif_dip_clear(btif_remote_device_t *bt_dev);

Completed in 61 milliseconds