mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-23 19:20:51 +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:
|
||||
printf("RECV: ");
|
||||
printf_hexdump(packet, size);
|
||||
context = connection_for_conn_handle((hci_con_handle_t) channel);
|
||||
if (!context) break;
|
||||
test_track_sent(context, size);
|
||||
break;
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user