Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/stack/rfcomm/
Dport_utils.cc69 uint8_t port_index = rfc_cb.rfc.last_port_index + static_cast<uint8_t>(1); in port_allocate_port() local
72 loop_counter++, port_index++) { in port_allocate_port()
73 if (port_index >= MAX_RFC_PORTS) { in port_allocate_port()
74 port_index = 0; in port_allocate_port()
76 tPORT* p_port = &rfc_cb.port.port[port_index]; in port_allocate_port()
82 p_port->handle = port_index + static_cast<uint8_t>(1); in port_allocate_port()
88 rfc_cb.rfc.last_port_index = port_index; in port_allocate_port()
91 port_index, fmt::ptr(p_port), rfc_cb.rfc.last_port_index, bd_addr); in port_allocate_port()