mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-01 09:08:06 +00:00
test/le_audio: add .gatt
This commit is contained in:
parent
3b5af3f943
commit
08fd760771
@ -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)
|
||||
|
8
test/le_audio/le_audio_broadcast_sink.gatt
Normal file
8
test/le_audio/le_audio_broadcast_sink.gatt
Normal file
@ -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 <broadcast_audio_scan_service.gatt>
|
Loading…
Reference in New Issue
Block a user