LE Audio throughput calculation & Audio Qos setting.

Using nrf5340 audio DK & ncs v2.60

I modify this function to print this information when the number of packages reaches 100.

packet_count++;
	if(packet_count ==100)
	{
		printk("Packet %d received: data_size=%d, bad_count=%d, sdu_ref=%d, channel_index=%d, recevied_frame_ts = %d\n",
		packet_count, data_size, bad_count, sdu_ref, channel_index,recv_frame_ts);
		packet_count =0;
		bad_count = 0;
	}
\

Part of the result:

Packet 100 received: data_size=120, bad_count=0, sdu_ref=136985719, channel_index=0, recevied_frame_ts = 136974165
Packet 100 received: data_size=120, bad_count=0, sdu_ref=137985719, channel_index=0, recevied_frame_ts = 137974155

120*100*8/((137985719-136985719)*10^-6) = 96kbps

Q1:Is this method reasonable?

Q2:By the way, I want to change the audio qos configuration in LE Audio application( sdk-nrf/applications/nrf5340_audio ) like this ticket, how to change?

Because these two questions are somewhat related, they were asked together.

Appreciate your help.

Parents
  • Hi,

    Q1:Is this method reasonable?

    Your calculation seems reasonable for the audio data rate used by the system. Please note that this is not actual throughput over the air as there might be retransmissions.

    Q2:By the way, I want to change the audio qos configuration in LE Audio application( sdk-nrf/applications/nrf5340_audio ) like this ticket, how to change?

    What exactly are you interested in changing regarding QoS? What are you trying to achieve? Can you elaborate on this?

    Best regards,
    Dejan

Reply
  • Hi,

    Q1:Is this method reasonable?

    Your calculation seems reasonable for the audio data rate used by the system. Please note that this is not actual throughput over the air as there might be retransmissions.

    Q2:By the way, I want to change the audio qos configuration in LE Audio application( sdk-nrf/applications/nrf5340_audio ) like this ticket, how to change?

    What exactly are you interested in changing regarding QoS? What are you trying to achieve? Can you elaborate on this?

    Best regards,
    Dejan

Children
Related