.. | ||
.gitignore | ||
a2dp_sink.md | ||
a2dp_source.md | ||
avctp_test.md | ||
avdtp_sink.md | ||
avdtp_sink_test.c | ||
avdtp_source.md | ||
avdtp_source_test.c | ||
avrcp_test.c | ||
avrcp_test.md | ||
bnep_test.c | ||
btstack_config.h | ||
btstack_stdin_pts.c | ||
btstack_stdin_pts.h | ||
classic_test.c | ||
CMakeLists.txt | ||
csc_client_test.c | ||
csc_server_test.c | ||
csc_server_test.gatt | ||
cycling_power_server_test.c | ||
cycling_power_server_test.gatt | ||
gap_central_test.c | ||
gap_central_test.gatt | ||
gap_central_test.md | ||
gap_peripheral_test.c | ||
gap_peripheral_test.gatt | ||
gap_peripheral_test.md | ||
gatt_client_test.c | ||
gatt_client_test.gatt | ||
gatt_client_test.md | ||
gatt_profiles.c | ||
gatt_profiles.gatt | ||
gatt_server_test.c | ||
gatt_server_test.gatt | ||
gatt_server_test.md | ||
gavdp.md | ||
hfp_ag.md | ||
hfp_ag_test.c | ||
hfp_hf.md | ||
hfp_hf_test.c | ||
hid_device.md | ||
hid_device_test.c | ||
hid_host.md | ||
hid_host_test.c | ||
hog_device_test.c | ||
hog_device_test.gatt | ||
hog_host.md | ||
hog_host_test.c | ||
hrp_col_test.c | ||
hrp_server_test.c | ||
hrp_server_test.gatt | ||
hsp_ag.md | ||
hsp_ag_test.c | ||
hsp_hf.md | ||
hsp_hs_test.c | ||
iopt.c | ||
l2cap_test.c | ||
l2cap_test.md | ||
le_data_channel.c | ||
Makefile | ||
packetlogger.sh | ||
pbab_pce_test.c | ||
pbap_pce_test.md | ||
README.md | ||
Sc_PP_client.md | ||
Sc_PP_server.md | ||
sco_loopback.c | ||
sm_test.c | ||
sm_test.md |
Testing tools
The provide Makefile and CMakeLists.txt create various tools used to test BTstack. The test tools run on Linux and Mac systems with a USB Bluetooth Controller.
The Audio tests (avdtp_source_test.c
and avdtp_sink_test
) support the folowing audio codecs: SBC, AAC, aptX, and LDAC.
Support for non-mandatory codecs is only included in the CMake build.
These audio codecs are provided by the open-source projects below, but cannot be used for products without licensing/testing by the respective owners.
Dependencies
- libusb
- AAC: A2DP Sind + Source
- Debian package: libfdk-aac-dev
- [Mac Homebrew: fdk-aac]
- aptX (HD): A2DP Sink + Source
- Github: libopenaptx
- CMake project
mkdir build; cd build; cmake ..; make install
- LDAC Encoder: A2DP Source
- Github: ldacBT
- CMake project
mkdir build; cd build; cmake ..; make install
- LDAC Decoder: A2DP Sink
- Github: ldacdec
- Automake project
./bootstrap.sh; ./configure; make install