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 and slowly uploads the firmware at 115200. 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 Phase 2: Main app 31 ... 32 BTstack up and running at 55:56:0A:0A:76:93 33 34## ToDo 35- increase baud rate for firmware upload 36- query controller to select correct PatchRAM file 37