MTB CAT1 Peripheral driver library
IPC Bluetooth sub-system layer (IPC_BTSS)

General Description

All the HCI APIs are intended to be called by the stack interface layer, and not meant to be called by the application developers.

The BT IPC functions provide a method to transfer Host Controller Interface (HCI) and High Priority Controller (HPC) messages between the MCU and BT SS.

Include cy_ipc_bt.h. Alternatively include cy_pdl.h to get access to all functions and declarations in the PDL.

The data needs to be provided in an array along with the payload type indicator. Depending on the payload length, the message gets formatted in to short or long message. If the payload length is less than 7 bytes, then it is considered as a short message. Short messages are packed and sent using IPC channel DATA0 and DATA1 registers. Any payload length greater than 7 bytes will be sent using the buffers in the shared memory.

It supports callback function for notification on receiving the HCI messages from the BT SS HCI notification callback function is registered during the initialization of the driver. It also supports multiple callback registration for notification on receiving the HPC messages.

API Reference

 Macros
 Macro definitions are used in the driver.
 
 Functions
 Functions are used in the driver.
 
 Data Structures
 Data structures are used in the driver.
 
 Enumerated Types
 Enumerations are used in the driver.