Home
last modified time | relevance | path

Searched refs:example (Results 1 – 25 of 144) sorted by relevance

123456

/btstack/port/samv71-xplained-atwilc3000/scripts/
H A Dcreate_examples.py72 example = file[:-2] variable
73 examples.append(example)
76 project_folder = projects_path + example + "/"
81 gatt_path = examples_embedded + example + ".gatt"
84 gatt_h = example+'.h'
94 fout.write('flash write_image erase %s_flash.elf\n' % example)
103 fout.write('%s.h: ${BTSTACK_ROOT}/example/%s.gatt\n' % (example,example))
107 fout.write("all: %s.h wilc3000_ble_firmware.h\n" % example)
118 fout.write('TARGET_FLASH=%s_flash.elf\n' % example)
121 fout.write('TARGET_SRAM=%s_sram.elf\n' % example)
[all …]
H A Ddelete_examples.py26 example = file[:-2] variable
27 apps_folder = apps_btstack + example + "/"
30 print("- %s" % example)
/btstack/port/renesas-tb-s1ja-cc256x/
H A Dcreate_examples.py70 example = file[:-2]
71 gatt_path = examples_embedded + example + ".gatt"
74 project_folder = example_folder + example + "/"
101 shutil.copyfile(examples_embedded + example + '.c', src_folder + example + ".c")
115 file = file.replace('btstack_example',example)
117 template = template.replace("btstack_example", example)
121 …shutil.copy(project_template + 'btstack_example Debug.jlink', project_folder + example + ' Debug.…
122 …shutil.copy(project_template + 'btstack_example Debug.launch', project_folder + example + ' Debug.…
125 gatt_path = examples_embedded + example + ".gatt"
130 fout.write(gatt_update_sh_template.replace("EXAMPLE", example))
[all …]
/btstack/port/daemon/
H A Dclean.sh14 rm -rf example/*.dSYM
15 rm -f example/le_scan
16 rm -f example/l2cap_server
17 rm -f example/l2cap_throughput
18 rm -f example/rfcomm_cat
19 rm -f example/rfcomm_echo
20 rm -f example/rfcomm_test
21 rm -f example/inquiry
22 rm -f example/test
23 rm -f example/Makefile
/btstack/port/esp32/
H A Dcreate_examples.py66 example = file[:-2]
67 gatt_path = examples_embedded + example + ".gatt"
70 apps_folder = example_folder + example + "/"
85 …fout.write(example_cmake_template.replace("EXAMPLE", example).replace("TOOL", script_path).replace…
96 main_files = '"main.c" "' + example + '.c"'
97 shutil.copyfile(examples_embedded + file, apps_folder + "/main/" + example + ".c")
100 if example in ['hfp_ag_demo','hfp_hf_demo', 'hsp_ag_demo', 'hsp_hs_demo']:
111 gatt_path = examples_embedded + example + ".gatt"
113 shutil.copy(gatt_path, apps_folder + "/main/" + example + ".gatt")
115 fout.write(main_cmake_gatt_add_on.replace("EXAMPLE", example))
[all …]
H A Ddelete_examples.py24 example = file[:-2] variable
25 apps_folder = apps_btstack + "example/" + example + "/"
28 print("- %s" % example)
/btstack/port/archive/wiced-h5/
H A Dcreate_examples.py115 example = file[:-2] variable
118 apps_folder = apps_btstack + example + "/"
123 with open(apps_folder + example + ".mk", "wt") as fout:
124 fout.write(mk_template.replace("EXAMPLE", example)
132 gatt_path = examples_embedded + example + ".gatt"
136 fout.write(gatt_update_template.replace("EXAMPLE", example))
139 print("- %s including compiled GATT DB" % example)
141 print("- %s" % example)
/btstack/port/wiced-h4/
H A Dcreate_examples.py112 example = file[:-2] variable
115 apps_folder = apps_btstack + example + "/"
120 with open(apps_folder + example + ".mk", "wt") as fout:
121 fout.write(mk_template.replace("EXAMPLE", example)
129 gatt_path = examples_embedded + example + ".gatt"
133 fout.write(gatt_update_template.replace("EXAMPLE", example))
136 print("- %s including compiled GATT DB" % example)
138 print("- %s" % example)
/btstack/port/max32630-fthr/scripts/
H A Dcreate_examples.py69 example = file[:-2] variable
70 examples.append(example)
73 project_folder = projects_path + example + "/"
78 gatt_path = examples_embedded + example + ".gatt"
81 gatt_h = example+'.h'
88 fout.write('PROJECT=%s\n' % example)
96 print("- %s" % example)
H A Ddelete_examples.py26 example = file[:-2] variable
27 apps_folder = apps_btstack + example + "/"
30 print("- %s" % example)
/btstack/port/archive/pic32-harmony/
H A Dcreate_examples.py57 example = file[:-2] variable
60 apps_folder = apps_btstack + example + "/"
65 gatt_path = examples_embedded + example + ".gatt"
69 fout.write(gatt_update_template.replace("EXAMPLE", example))
72 print("- %s including compiled GATT DB" % example)
74 print("- %s" % example)
78 appX_folder = apps_folder + example + ".X/"
100 …/../../example/spp_counter.c", "<itemPath>../../../../framework/btstack/example/" + example + ".c")
109 template = template.replace("app.X", example+".X")
136 …eplace("../../../example/spp_counter.c", "../../../../framework/btstack/example/" + example + ".c")
/btstack/port/apollo2-em9304/
H A Dcreate_examples.py49 for example in LE_EXAMPLES:
52 apps_folder = apps_btstack + "btstack_" + example + "/"
65 gatt_path = examples_embedded + example + ".gatt"
78 fout.write(line.replace('TARGET := EXAMPLE', 'TARGET := ' + example))
80 fout.write(makefile_gatt_add_on.replace("EXAMPLE",example))
88 print("- %s" % example)
/btstack/port/arduino/docs/
H A Dupdate_listings.py277 for example in examples:
278 example_path = examples_folder + example[0] + "/" + example[0] + ".ino"
280 example.append(example_title)
295 for example in examples:
296 ref_prefix = example[0].replace("_", "")
297 title = latexText(example[0], ref_prefix)
298 desc = latexText(example[1], ref_prefix)
307 for example in examples:
308 file_name = examples_folder + example[0] + "/" + example[0] + ".ino"
309 writeListings(aout, file_name, example[0].replace("_",""))
H A Dgenerated.md4 - iBeacon example:
8 - ANCS example:
12 - LE Central example:
16 - LE Peripheral example:
/btstack/doc/manual/
H A Dmarkdown_create_examples.py306 for example in examples:
307 example_path = examples_folder + example[0] + ".c"
309 example.append(example_title)
324 for example in examples:
325 ref_prefix = example[0].replace("_", "")
326 title = latexText(example[0], ref_prefix)
327 desc = latexText(example[1], ref_prefix)
336 for example in examples:
337 file_name = examples_folder + example[0] + ".c"
338 writeListings(aout, file_name, example[0].replace("_",""), git_branch_name)
/btstack/test/mesh/
H A DCMakeLists.txt33 …./../src/*.c" "../../src/*.h" "../../example/sco_demo_util.c" "../../example/s…
71 message("example ${EXAMPLE} -- with GATT DB")
78 message("example ${EXAMPLE}")
93 message("example mesh_message_test")
120 message("example provisioning_device_test")
137 message("example provisioning_provisioner_test")
154 message("example mesh_configuration_composition_data_message_test")
/btstack/port/libusb/
H A DCMakeLists.txt50 file(GLOB SOURCES_SRC "../../src/*.c" "../../example/sco_demo_util.c")
165 file(GLOB EXAMPLES_C "../../example/*.c")
167 file(GLOB EXAMPLES_GATT "../../example/*.gatt")
170 file(GLOB EXAMPLES_OFF "../../example/*demo_util*.c" "../../example/ant_test.c" "../../example/avr…
185 set (SOURCES_EXAMPLE ${BTSTACK_ROOT}/example/${EXAMPLE}.c)
194 message("example ${EXAMPLE} -- with GATT DB")
197 DEPENDS ${BTSTACK_ROOT}/example/${EXAMPLE}.gatt ${GATT_FILES}
199 …ARGS ${BTSTACK_ROOT}/tool/compile_gatt.py ${BTSTACK_ROOT}/example/${EXAMPLE}.gatt ${CMAKE_CURRENT_…
203 message("example ${EXAMPLE}")
/btstack/port/libusb-intel/
H A DCMakeLists.txt49 file(GLOB SOURCES_SRC "../../src/*.c" "../../example/sco_demo_util.c")
162 file(GLOB EXAMPLES_C "../../example/*.c")
164 file(GLOB EXAMPLES_GATT "../../example/*.gatt")
167 file(GLOB EXAMPLES_OFF "../../example/*demo_util*.c" "../../example/ant_test.c" "../../example/avr…
179 set (SOURCES_EXAMPLE ${BTSTACK_ROOT}/example/${EXAMPLE}.c)
188 message("example ${EXAMPLE} -- with GATT DB")
191 DEPENDS ${BTSTACK_ROOT}/example/${EXAMPLE}.gatt
193 …ARGS ${BTSTACK_ROOT}/tool/compile_gatt.py ${BTSTACK_ROOT}/example/${EXAMPLE}.gatt ${CMAKE_CURRENT_…
197 message("example ${EXAMPLE}")
/btstack/port/windows-winusb/
H A DCMakeLists.txt43 file(GLOB SOURCES_SRC "../../src/*.c" "../../example/sco_demo_util.c" "../../platform/posix/w…
97 include(../../example/CMakeLists.txt)
105 set (SOURCES_EXAMPLE ${BTSTACK_ROOT}/example/${EXAMPLE}.c)
109 message("example ${EXAMPLE} -- with GATT DB")
112 DEPENDS ${BTSTACK_ROOT}/example/${EXAMPLE}.gatt
114 …ARGS ${BTSTACK_ROOT}/tool/compile_gatt.py ${BTSTACK_ROOT}/example/${EXAMPLE}.gatt ${CMAKE_CURRENT_…
118 message("example ${EXAMPLE}")
/btstack/port/windows-winusb-intel/
H A DCMakeLists.txt46 file(GLOB SOURCES_SRC "../../src/*.c" "../../example/sco_demo_util.c" "../../platform/posix/w…
105 include(../../example/CMakeLists.txt)
113 set (SOURCES_EXAMPLE ${BTSTACK_ROOT}/example/${EXAMPLE}.c)
117 message("example ${EXAMPLE} -- with GATT DB")
120 DEPENDS ${BTSTACK_ROOT}/example/${EXAMPLE}.gatt
122 …ARGS ${BTSTACK_ROOT}/tool/compile_gatt.py ${BTSTACK_ROOT}/example/${EXAMPLE}.gatt ${CMAKE_CURRENT_…
126 message("example ${EXAMPLE}")
/btstack/port/windows-h4-zephyr/
H A DCMakeLists.txt88 include(../../example/CMakeLists.txt)
95 set (SOURCES_EXAMPLE ${BTSTACK_ROOT}/example/${EXAMPLE}.c)
99 message("example ${EXAMPLE} -- with GATT DB")
102 DEPENDS ${BTSTACK_ROOT}/example/${EXAMPLE}.gatt
104 …ARGS ${BTSTACK_ROOT}/tool/compile_gatt.py ${BTSTACK_ROOT}/example/${EXAMPLE}.gatt ${CMAKE_CURRENT_…
108 message("example ${EXAMPLE}")
/btstack/port/windows-h4-da14585/
H A DCMakeLists.txt88 include(../../example/CMakeLists.txt)
95 set (SOURCES_EXAMPLE ${BTSTACK_ROOT}/example/${EXAMPLE}.c)
99 message("example ${EXAMPLE} -- with GATT DB")
102 DEPENDS ${BTSTACK_ROOT}/example/${EXAMPLE}.gatt
104 …ARGS ${BTSTACK_ROOT}/tool/compile_gatt.py ${BTSTACK_ROOT}/example/${EXAMPLE}.gatt ${CMAKE_CURRENT_…
108 message("example ${EXAMPLE}")
/btstack/port/posix-h4-zephyr/
H A DCMakeLists.txt98 include(../../example/CMakeLists.txt)
104 set (SOURCES_EXAMPLE ${BTSTACK_ROOT}/example/${EXAMPLE}.c)
108 message("example ${EXAMPLE} -- with GATT DB")
111 DEPENDS ${BTSTACK_ROOT}/example/${EXAMPLE}.gatt
113 …ARGS ${BTSTACK_ROOT}/tool/compile_gatt.py ${BTSTACK_ROOT}/example/${EXAMPLE}.gatt ${CMAKE_CURRENT_…
117 message("example ${EXAMPLE}")
/btstack/port/renesas-ek-ra6m4a-da14531/
H A DCMakeLists.txt147 message("example ${EXAMPLE}")
149 message("example ${EXAMPLE} -- with GATT DB")
184 include(${BTSTACK_ROOT}/example/CMakeLists.txt)
192 set (SOURCES_EXAMPLE ${BTSTACK_ROOT}/example/${EXAMPLE}.c)
196 set(GATT_PATH ${BTSTACK_ROOT}/example/${EXAMPLE}.gatt)
201 # create example
205 # create gatt_rgb example
206 create_target(gatt_rgb ${CMAKE_SOURCE_DIR}/example/gatt_rgb.c ${CMAKE_SOURCE_DIR}/example/gatt_rgb.…
/btstack/port/qt-usb/
H A DCMakeLists.txt60 file(GLOB SOURCES_SRC "${BTSTACK_ROOT}/src/*.c" "${BTSTACK_ROOT}/example/sco_demo_util.c")
172 file(GLOB EXAMPLES_C "${BTSTACK_ROOT}/example/*.c")
174 file(GLOB EXAMPLES_GATT "${BTSTACK_ROOT}/example/*.gatt")
177 …{BTSTACK_ROOT}/example/panu_demo.c" "${BTSTACK_ROOT}/example/*demo_util*.c" "${BTSTACK_ROOT}/examp…
199 message("example ${EXAMPLE} -- with GATT DB")
203 …ARGS ${BTSTACK_ROOT}/tool/compile_gatt.py ${BTSTACK_ROOT}/example/${EXAMPLE}.gatt ${CMAKE_CURRENT_…
210 message("example ${EXAMPLE}")

123456