diff --git a/test/le_audio/CMakeLists.txt b/test/le_audio/CMakeLists.txt index f87d710e9..7580a81c5 100644 --- a/test/le_audio/CMakeLists.txt +++ b/test/le_audio/CMakeLists.txt @@ -144,6 +144,7 @@ file(GLOB EXAMPLES_GATT "*.gatt") # create targets foreach(EXAMPLE_FILE ${EXAMPLES_C}) get_filename_component(EXAMPLE ${EXAMPLE_FILE} NAME_WE) + set(SOURCE_FILES ${EXAMPLE_FILE}) # add GATT DB creation if ( "${EXAMPLES_GATT}" MATCHES ${EXAMPLE} ) @@ -158,6 +159,6 @@ foreach(EXAMPLE_FILE ${EXAMPLES_C}) else() message("LE Audio Tool: ${EXAMPLE}") endif() - add_executable(${EXAMPLE} ${EXAMPLE_FILE} ) + add_executable(${EXAMPLE} ${SOURCE_FILES} ) target_link_libraries(${EXAMPLE} btstack m pthread) endforeach(EXAMPLE_FILE) diff --git a/test/le_audio/le_audio_broadcast_sink.gatt b/test/le_audio/le_audio_broadcast_sink.gatt new file mode 100644 index 000000000..454805e7d --- /dev/null +++ b/test/le_audio/le_audio_broadcast_sink.gatt @@ -0,0 +1,8 @@ +PRIMARY_SERVICE, GAP_SERVICE +CHARACTERISTIC, GAP_DEVICE_NAME, READ, "LE Broadcast Sink" + +PRIMARY_SERVICE, GATT_SERVICE +CHARACTERISTIC, GATT_DATABASE_HASH, READ, + +// add BASS Server +#import \ No newline at end of file