Searched refs:conn_count (Results 1 – 8 of 8) sorted by relevance
/Zephyr-Core-3.4.0/samples/bluetooth/peripheral_identity/src/ |
D | peripheral_identity.c | 17 static uint8_t volatile conn_count; variable 83 conn_count++; in connected() 84 if (conn_count < CONFIG_BT_MAX_CONN) { in connected() 90 printk("Connected (%u): %s\n", conn_count, addr); in connected() 101 if ((conn_count == 1U) && is_disconnecting) { in disconnected() 105 conn_count--; in disconnected() 269 uint8_t prev_count = conn_count; in init_peripheral() 274 if (conn_count == CONFIG_BT_MAX_CONN) { in init_peripheral() 294 if (prev_count != conn_count) { in init_peripheral() 295 prev_count = conn_count; in init_peripheral() [all …]
|
/Zephyr-Core-3.4.0/samples/bluetooth/central_multilink/src/ |
D | central_multilink.c | 35 static uint8_t volatile conn_count; variable 159 conn_count++; in connected() 160 if (conn_count < CONFIG_BT_MAX_CONN) { in connected() 164 printk("Connected (%u): %s\n", conn_count, addr); in connected() 189 if ((conn_count == 1U) && is_disconnecting) { in disconnected() 193 conn_count--; in disconnected() 315 while (conn_count < CONFIG_BT_MAX_CONN) { in init_central()
|
/Zephyr-Core-3.4.0/tests/net/conn_mgr/src/ |
D | main.c | 70 int conn_count; member 89 global_stats.conn_count = 0; in reset_stats() 121 global_stats.conn_count += 1; in l4_handler() 197 zassert_equal(stats.conn_count, 1, in cycle_ready_ifaces() 303 zassert_equal(stats.conn_count, 1, in cycle_ignored_iface() 377 zassert_equal(stats.conn_count, 1, in cycle_ignored_iface() 504 zassert_equal(stats.conn_count, 1, in cycle_iface_states() 530 zassert_equal(stats.conn_count, 1, in cycle_iface_states() 654 zassert_equal(stats.conn_count, 1, in cycle_iface_states() 793 zassert_equal(stats.conn_count, 1, in ZTEST() [all …]
|
/Zephyr-Core-3.4.0/subsys/bluetooth/mesh/ |
D | proxy_msg.c | 58 static int conn_count; variable 260 conn_count++; in bt_mesh_proxy_role_setup() 282 conn_count--; in bt_mesh_proxy_role_cleanup() 289 return conn_count < CONFIG_BT_MESH_MAX_CONN; in bt_mesh_proxy_has_avail_conn()
|
/Zephyr-Core-3.4.0/subsys/bluetooth/audio/shell/ |
D | csip_set_coordinator.c | 337 int conn_count = 0; in cmd_csip_set_coordinator_lock_set() local 346 locked_members[conn_count++] = set_members[i]; in cmd_csip_set_coordinator_lock_set() 350 err = bt_csip_set_coordinator_lock(locked_members, conn_count, in cmd_csip_set_coordinator_lock_set() 363 int conn_count = 0; in cmd_csip_set_coordinator_release_set() local 372 locked_members[conn_count++] = set_members[i]; in cmd_csip_set_coordinator_release_set() 376 err = bt_csip_set_coordinator_release(locked_members, conn_count, in cmd_csip_set_coordinator_release_set()
|
/Zephyr-Core-3.4.0/tests/bsim/bluetooth/ll/cis/src/ |
D | main.c | 346 uint8_t conn_count; local 395 conn_count = 0U; 448 conn_list[conn_count] = conn; 449 conn_index = chan = conn_count; 450 conn_count++; 456 (conn_index < conn_count) && (chan < CONFIG_BT_ISO_MAX_CHAN);
|
/Zephyr-Core-3.4.0/subsys/bluetooth/shell/ |
D | bt.c | 3224 int *conn_count = user_data; in connection_info() local 3253 (*conn_count)++; in connection_info() 3258 int conn_count = 0; in cmd_connections() local 3261 bt_conn_foreach(BT_CONN_TYPE_ALL, connection_info, &conn_count); in cmd_connections() 3262 shell_print(sh, "Total %d", conn_count); in cmd_connections()
|
/Zephyr-Core-3.4.0/subsys/bluetooth/controller/hci/ |
D | hci.c | 195 static uint32_t conn_count; variable 461 conn_count = 0U; in reset() 494 if (!hci_hbuf_total || conn_count) { in set_ctl_to_host_flow() 562 } else if (!conn_count) { in host_num_completed_packets() 7890 conn_count++; 7981 conn_count--;
|