bluez/client
Pauli Virtanen e453a336c4 client: fix ISO send data rate
We are sending data to controller at wrong average rate not equal to
1 packet / SDU interval, if Transport_Latency is not an integer multiple
of SDU_Interval.  The calculation currently may also give zero, so no
data gets sent.

We are sending data in bursts of num ~= Transport_Latency/SDU_Interval
packets, in hopes that possibly larger timer interval makes things more
efficient.

Fix the data rate by sending num packets every num*SDU_Interval, so that
the average data rate is correct.

Also fix use of itimerspect.it_value with TFD_TIMER_ABSTIME.  The value
set previously is going to always be in the past in CLOCK_MONOTONIC so
just set it to 1.
2024-05-13 10:02:36 -04:00
..
scripts client: Add scripts to start broadcast source/sink 2024-03-08 11:11:49 -05:00
admin.c client: Move admin submenu 2022-08-15 16:28:14 -07:00
admin.h client: Move admin submenu 2022-08-15 16:28:14 -07:00
adv_monitor.c client/adv_monitor: Remove shell quit from adv_monitor_register_app 2024-03-08 11:11:49 -05:00
adv_monitor.h bluetoothctl: advmon rssi support for mgmt 2021-01-15 11:55:06 -08:00
advertising.c client/advertising: Add flag to mark if data is valid 2024-04-19 15:35:10 -04:00
advertising.h client/advertising: Add support for advertise.rsi command 2023-04-05 17:00:00 -07:00
agent.c mgmt: Fix crash after pair command 2024-01-03 15:59:23 -05:00
agent.h client: Add SPDX License Identifier 2020-09-21 16:19:33 -07:00
bluetoothctl-admin.rst client: Add bluetoothctl-admin.1 man page 2023-11-13 14:33:47 -05:00
bluetoothctl-advertise.rst client: Add bluetoothctl-advertise.1 man page 2023-11-14 10:56:57 -05:00
bluetoothctl-endpoint.rst client: Add bluetoothctl-endpoint.1 man page 2023-11-14 11:06:04 -05:00
bluetoothctl-gatt.rst client: Add bluetoothctl-gatt.1 man page 2023-11-14 12:37:53 -05:00
bluetoothctl-mgmt.rst client: Add bluetoothctl-mgmt.1 man page 2023-07-20 11:14:31 -07:00
bluetoothctl-monitor.rst client: Add bluetoothctl-monitor.1 man page 2023-07-20 11:14:42 -07:00
bluetoothctl-player.rst client: Add bluetoothctl-player.1 man page 2023-11-14 13:04:22 -05:00
bluetoothctl-scan.rst client: Add bluetoothctl-scan.1 man page 2023-11-14 13:21:44 -05:00
bluetoothctl-transport.rst client: Add bluetoothctl-transport.1 man page 2023-11-14 13:29:19 -05:00
bluetoothctl.rst client: Remove Pygments dependency from manpage 2024-03-04 11:45:29 -05:00
display.c client: Add SPDX License Identifier 2020-09-21 16:19:33 -07:00
display.h client: Add SPDX License Identifier 2020-09-21 16:19:33 -07:00
gatt.c client/gatt: Check write_value() retval 2024-05-10 11:26:48 -04:00
gatt.h client: Allow gatt.select-attribute to work with local attributes 2022-12-06 13:01:28 -08:00
main.c client/main: Fix mismatched free 2024-05-10 11:27:36 -04:00
mgmt.c client/mgmt: Add missing settings strings 2024-02-02 10:10:38 -05:00
mgmt.h client: Add support for mgmt submenu 2023-07-14 15:14:02 -07:00
player.c client: fix ISO send data rate 2024-05-13 10:02:36 -04:00
player.h client: Add support for player submenu 2022-03-30 12:54:29 -07:00
print.c client: Make Endpoint.SelectProperties reply properly 2023-09-28 17:25:43 -07:00
print.h client: Move common print_* functions to its own file 2022-12-02 11:20:26 -08:00