zephyr/subsys/bluetooth/services/ots
Abe Kohandel 3a03d9c50d bluetooth: ots: reduce directory listing memory usage
Allocating a buffer to hold the entire directory listing consumes a very
large sum of memory when a large number of OTS objects are supported.

This implementation minimizes the memory footprint of the directory
listing by only allocating the minimum necessary buffer size to allow
for efficient over the air transfer. The contents of the transferred
buffer are built incrementally and upon request.

The directory listing manipulation upon object creation and deletion can
be removed since the directory listing content is never constructed
until it is requested.

Signed-off-by: Abe Kohandel <abe.kohandel@gmail.com>
2022-03-28 12:45:51 +02:00
..
CMakeLists.txt Bluetooth: OTS - rename client files 2022-03-07 10:47:43 +01:00
Kconfig kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
ots_client_internal.h Bluetooth: OTS - rename client files 2022-03-07 10:47:43 +01:00
ots_client.c Bluetooth: OTS - rename client data receive callbacks 2022-03-07 10:47:43 +01:00
ots_dir_list_internal.h bluetooth: ots: reduce directory listing memory usage 2022-03-28 12:45:51 +02:00
ots_dir_list.c bluetooth: ots: reduce directory listing memory usage 2022-03-28 12:45:51 +02:00
ots_internal.h Bluetooth: OTS: Merge client and server metadata types 2022-03-07 10:47:43 +01:00
ots_l2cap_internal.h everywhere: fix typos 2022-03-18 13:24:08 -04:00
ots_l2cap.c Bluetooth: OTS - join Kconfig for OTS server and client 2022-03-07 10:47:43 +01:00
ots_oacp_internal.h bluetooth: ots: validate OTS procedure sizes 2022-01-12 15:47:20 +01:00
ots_oacp.c bluetooth: ots: reduce directory listing memory usage 2022-03-28 12:45:51 +02:00
ots_obj_manager_internal.h
ots_obj_manager.c Bluetooth: Object Transfer Service: Defines for allowed object ID values 2021-09-16 10:32:19 +02:00
ots_olcp_internal.h Bluetooth: OTC: Use OTS defines and types instead of separate ones 2022-03-07 10:47:43 +01:00
ots_olcp.c bluetooth: ots: validate OTS procedure sizes 2022-01-12 15:47:20 +01:00
ots.c bluetooth: ots: reduce directory listing memory usage 2022-03-28 12:45:51 +02:00