|
|
před 2 roky | |
|---|---|---|
| .. | ||
| docs | před 2 roky | |
| platform | před 2 roky | |
| README.md | před 2 roky | |
#AIROC™ BT STack porting layer for PSoC6 BLESS
The btstack-integration/COMPONENT_BLESS-IPC is the adaptation layer (porting layer) between AIROC™ BT STack and Cypress Abstraction Layers (CYHAL and CYOSAL). This porting layer is to be used in conjunction with Cypress PSOC 6 BLE platform where the application and host stack are running on the CM4 core of PSOC and BLESS controller FW is running on CM0 core of PSOC. The porting layer implements routines to provide OS and memory services from platform and facilitates communication with controller.
Application shall call cybt_platform_config_init( ) API to initialize the porting layer before calling any stack API. IPC Pipe is used to communicate with the controller running on CM0 processor, hence the member variable hci_config.hci_transport of input argument cybt_platform_config_t shall be set to CYBT_HCI_IPC. Other parameters are ignored by the porting layer.
Please refer to cybt_platform_config.h
The UART on PSOC can be configured for capturing application and HCI traces by calling cybt_debug_uart_init() with appropriate configuration in cybt_debug_uart_config_t. Passing a valid function pointer to cybt_debug_uart_data_handler_t allows application to handle any data received over UART. However, it can be set to NULL if the application is not required to handle any data. Please refer to cybt_debug_uart.h.
© Infineon Technologies, 2022.