mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-16 17:42:51 +00:00
treat 'no packets granted' as error, which will retried by BTdaemon/SocketConnetcion anyway
This commit is contained in:
parent
6fa9ff85dd
commit
b5d4f50db7
@ -1599,7 +1599,7 @@ int rfcomm_send_internal(uint8_t rfcomm_cid, uint8_t *data, uint16_t len){
|
|||||||
|
|
||||||
if (!channel->packets_granted){
|
if (!channel->packets_granted){
|
||||||
log_info("rfcomm_send_internal cid %u, no rfcomm credits granted!\n", rfcomm_cid);
|
log_info("rfcomm_send_internal cid %u, no rfcomm credits granted!\n", rfcomm_cid);
|
||||||
// return RFCOMM_NO_OUTGOING_CREDITS;
|
return RFCOMM_NO_OUTGOING_CREDITS;
|
||||||
}
|
}
|
||||||
|
|
||||||
// log_info("rfcomm_send_internal: len %u... outgoing credits %u, l2cap credit %us, granted %u\n",
|
// log_info("rfcomm_send_internal: len %u... outgoing credits %u, l2cap credit %us, granted %u\n",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user