• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

boards/11-Mar-2024-12090

src/11-Mar-2024-20,11615,767

CMakeLists.txtD11-Mar-20241.4 KiB5844

KconfigD11-Mar-2024259 159

READMED11-Mar-20241.9 KiB5436

nrf5340_hci_rpmsg.confD11-Mar-2024172 64

nrf5340_hci_rpmsg_cpunet.confD11-Mar-2024209 64

overlay-le-audio.confD11-Mar-20242.3 KiB9056

overlay-mesh-v1d1.confD11-Mar-2024838 3126

overlay-mesh.confD11-Mar-2024721 2625

prj.confD11-Mar-2024951 4037

testcase.yamlD11-Mar-2024928 3736

README

1Title: Bluetooth tester application
2
3Description:
4
5Tester application uses binary protocol to control Zephyr stack and is aimed at
6automated testing. It requires two serial ports to operate.
7The first serial is used by Bluetooth Testing Protocol (BTP) to drive Bluetooth
8stack. BTP commands and events are received and buffered for further processing
9over the same serial.
10
11BTP specification can be found in auto-pts project repository:
12https://github.com/intel/auto-pts
13The auto-pts is an automation framework for PTS Bluetooth testing tool provided
14by Bluetooth SIG.
15
16See https://docs.zephyrproject.org/latest/guides/bluetooth/index.html for full
17documentation about how to use this test.
18
19--------------------------------------------------------------------------------
20
21Supported Profiles:
22
23GAP, GATT, SM
24--------------------------------------------------------------------------------
25
26Building and running on QEMU:
27
28QEMU should have connection with the external host Bluetooth hardware.
29The btproxy tool from BlueZ can be used to give access to a Bluetooth controller
30attached to the Linux host OS:
31
32$ sudo tools/btproxy -u
33Listening on /tmp/bt-server-bredr
34
35/tmp/bt-server-bredr option is already set in Makefile through QEMU_EXTRA_FLAGS.
36
37To build tester application for QEMU use BOARD=qemu_cortex_m3 and
38CONF_FILE=qemu.conf. After this qemu can be started through the "run"
39build target.
40
41Note: Target board have to support enough UARTs for BTP and controller.
42      We recommend using qemu_cortex_m3.
43
44'bt-stack-tester' UNIX socket (previously set in Makefile) can be used for now
45to control tester application.
46--------------------------------------------------------------------------------
47
48Next, build and flash tester application by employing the "flash" build
49target.
50
51Use serial client, e.g. PUTTY to communicate over the serial port
52(typically /dev/ttyUSBx) with the tester using BTP.
53
54