mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-02 16:20:31 +00:00
nordic_spp_le_streamer: get context to track throughput
This commit is contained in:
parent
0d4e135319
commit
005e7bd2dd
@ -332,6 +332,8 @@ static void nordic_spp_packet_handler(uint8_t packet_type, uint16_t channel, uin
|
|||||||
case RFCOMM_DATA_PACKET:
|
case RFCOMM_DATA_PACKET:
|
||||||
printf("RECV: ");
|
printf("RECV: ");
|
||||||
printf_hexdump(packet, size);
|
printf_hexdump(packet, size);
|
||||||
|
context = connection_for_conn_handle((hci_con_handle_t) channel);
|
||||||
|
if (!context) break;
|
||||||
test_track_sent(context, size);
|
test_track_sent(context, size);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user