Name Date Size #Lines LOC

..--

.gitignoreH A D25-Apr-202517 11

CMakeLists.txtH A D25-Apr-20257.1 KiB186164

README.mdH A D25-Apr-20251.3 KiB4233

btstack_config.hH A D25-Apr-20251.8 KiB6645

main.cH A D25-Apr-20257.5 KiB231131

README.md

1# BTstack Port for POSIX Systems with modern Infineon (CYW) H4 Bluetooth Controller
2
3## Configuration
4Newer Infineon Airoc (tm) Controllers like the CYW5557x series accept PatchRAM upload only in a so-called
5'auto-baud mode' which is entered by asserting CTS (low) and starting/resetting the controller via BT_REG_EN.
6This port currently only supports the CYW5557x Controllers.
7
8## Compilation
9
10BTstack's posix-h4-bcm port does not have additional dependencies. You can directly run cmake and then your default
11build system. E.g. with Ninja:
12
13	mkdir build
14    cd build
15    cmake -G Ninja ..
16    ninja
17
18## Running the examples
19
20On start, BTstack opens the serial port, which asserts CTS, and requests you to reset the Controller with a countdown.
21
22	$ ./gatt_counter
23    Packet Log: /tmp/hci_dump.pklg
24    Phase 1: Download firmware
25    Please reset Bluetooth Controller, e.g. via RESET button. Firmware download starts in:
26    3
27    2
28    1
29    Firmware download started
30    Local version information:
31    - HCI Version    0x000a
32    - HCI Revision   0x0b73
33    - LMP Version    0x000a
34    - LMP Subversion 0x2257
35    - Manufacturer 0x0009
36    Phase 2: Main app
37    BTstack up and running at 55:56:0A:0A:76:93
38    ...
39
40## ToDo
41- select PatchRAM file based on HCI Read Local Version Information
42