ESP-IDF
ble_l2cap_coc_endpoint::credits
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ble_l2cap_coc_endpoint::credits
ble_l2cap_coc_endpoint::credits field
Syntax
Show:
Summary
Declaration
from
ble_l2cap_coc_priv.h:49
uint16_t
credits
;
Examples
References
from
examples
Code
Location
Referrer
uint16_t
credits
;
ble_l2cap_coc_priv.h:49
sdu_len
,
om_total
,
rx
->
credits
,
chan
->
coc_rx
.
current_sdu_idx
)
;
ble_l2cap_coc.c:238
ble_l2cap_coc_rx_fn()
rx
->
credits
--
;
ble_l2cap_coc.c:274
ble_l2cap_coc_rx_fn()
OS_MBUF_PKTLEN
(
rx_sdu
)
,
rx
->
credits
)
;
ble_l2cap_coc.c:280
ble_l2cap_coc_rx_fn()
if
(
chan
->
disable_auto_credit_update
==
false
&&
rx
->
credits
==
0
)
{
ble_l2cap_coc.c:301
ble_l2cap_coc_rx_fn()
rx
->
credits
=
1
;
ble_l2cap_coc.c:305
ble_l2cap_coc_rx_fn()
ble_l2cap_sig_le_credits
(
chan
->
conn_handle
,
chan
->
scid
,
rx
->
credits
)
;
ble_l2cap_coc.c:306
ble_l2cap_coc_rx_fn()
OS_MBUF_PKTLEN
(
rx_sdu
)
,
rx
->
credits
,
chan
->
coc_rx
.
current_sdu_idx
)
;
ble_l2cap_coc.c:311
ble_l2cap_coc_rx_fn()
chan
->
coc_rx
.
credits
=
mtu
/
chan
->
my_coc_mps
;
ble_l2cap_coc.c:362
ble_l2cap_coc_chan_alloc()
chan
->
coc_rx
.
credits
++
;
ble_l2cap_coc.c:364
ble_l2cap_coc_chan_alloc()
chan
->
initial_credits
=
chan
->
coc_rx
.
credits
;
ble_l2cap_coc.c:367
ble_l2cap_coc_chan_alloc()
while
(
tx
->
credits
)
{
ble_l2cap_coc.c:467
ble_l2cap_coc_continue_tx()
BLE_HS_LOG
(
DEBUG
,
"Available credits %d\n"
,
tx
->
credits
)
;
ble_l2cap_coc.c:470
ble_l2cap_coc_continue_tx()
tx
->
credits
--
;
ble_l2cap_coc.c:525
ble_l2cap_coc_continue_tx()
len
,
tx
->
credits
,
ble_l2cap_coc.c:530
ble_l2cap_coc_continue_tx()
if
(
chan
->
coc_tx
.
credits
+
credits
>
0xFFFF
)
{
ble_l2cap_coc.c:596
ble_l2cap_coc_le_credits_update()
chan
->
coc_tx
.
credits
+=
credits
;
ble_l2cap_coc.c:603
ble_l2cap_coc_le_credits_update()
if
(
chan
->
disable_auto_credit_update
==
false
&&
chan
->
coc_rx
.
credits
<
c
->
initial_credits
)
{
ble_l2cap_coc.c:640
ble_l2cap_coc_recv_ready()
c
->
initial_credits
-
chan
->
coc_rx
.
credits
)
;
ble_l2cap_coc.c:643
ble_l2cap_coc_recv_ready()
chan
->
coc_rx
.
credits
=
c
->
initial_credits
;
ble_l2cap_coc.c:645
ble_l2cap_coc_recv_ready()
chan
->
coc_tx
.
credits
=
le16toh
(
req
->
credits
)
;
ble_l2cap_sig.c:1231
ble_l2cap_sig_coc_req_rx()
rsp
->
credits
=
htole16
(
chan
->
coc_rx
.
credits
)
;
ble_l2cap_sig.c:1253
ble_l2cap_sig_coc_req_rx()
chan
->
coc_tx
.
credits
=
le16toh
(
rsp
->
credits
)
;
ble_l2cap_sig.c:1318
ble_l2cap_sig_coc_rsp_rx()
req
->
credits
=
htole16
(
chan
->
coc_rx
.
credits
)
;
ble_l2cap_sig.c:1393
ble_l2cap_sig_coc_connect()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
ble_l2cap_coc_endpoint::credits
is written by 7 functions and is read by 7 functions:
ble_l2cap_coc_rx_fn()
ble_l2cap_coc_chan_alloc()
ble_l2cap_coc_continue_tx()
ble_l2cap_coc_le_credits_update()
ble_l2cap_coc_recv_ready()
ble_l2cap_sig_coc_req_rx()
ble_l2cap_sig_coc_rsp_rx()
All items filtered out
ble_l2cap_coc_endpoint::credits
ble_l2cap_coc_rx_fn()
ble_l2cap_coc_chan_alloc()
ble_l2cap_coc_continue_tx()
ble_l2cap_coc_le_credits_update()
ble_l2cap_coc_recv_ready()
ble_l2cap_sig_coc_req_rx()
ble_l2cap_sig_coc_connect()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out