Functions | |
uint8_t | LlSetCigParams (LlCisCigParams_t *pCigParam, uint16_t *pCisHandles) |
Used by a master host to set the parameters of all connected isochronous streams associated with a connected isochronous group in the controller. More... | |
uint8_t | LlSetCigParamsTest (LlCisCigParamsTest_t *pSetCigParamTest, uint16_t *pCisHandles) |
Used by a master Host to set the parameters of all connected isochronous streams associated with a connected isochronous group in the controller for testing purpose. More... | |
uint8_t | LlCreateCis (uint8_t numCis, LlCisCreateCisParams_t *pCreateCisParam) |
Used by the master host to establish one or more connected isochronous streams. More... | |
uint8_t | LlRemoveCig (uint8_t cigId) |
Removes all the connected isochronous streams which have previously been set up. More... | |
uint8_t | LlAcceptCisReq (uint16_t cisHandle) |
Used by the slave host to inform the controller to accept the request for the connected isochronous stream. More... | |
uint8_t | LlRejectCisReq (uint16_t cisHandle, uint8_t reason) |
Used by the slave host to inform the controller to reject the request for the connected isochronous stream. More... | |
uint8_t | LlCreateBig (LlCreateBig_t *pCreateBig) |
Used by a broadcaster host to command is used to create one or more BISes of a BIG in the controller. More... | |
uint8_t | LlCreateBigTest (LlCreateBigTest_t *pCreateBigTest) |
Used by a broadcaster host to command is used to create one or more BISes of a BIG in the ISO test mode. More... | |
uint8_t | LlTerminateBig (uint8_t bigHandle, uint8_t reason) |
Used to terminate the transmission of all BISes of a BIG, or to cancel the process of creating a BIG using the HCI_LE_Create_BIG command from the Isochronous Broadcaster. More... | |
uint8_t | LlBigCreateSync (LlBigCreateSync_t *pCreateSync) |
Used to synchronize and receive PDUs from one or more BISes within a BIG. More... | |
void | LlBigTerminateSync (uint8_t bigHandle) |
Used to stop synchronization with the BIG or to cancel the process of synchronizing to BISes invoked by the HCI_LE_BIG_Create_Sync command. More... | |
uint8_t | LlReadIsoTxSync (uint16_t handle, uint16_t *pPktSn, uint32_t *pTs, uint32_t *pTimeOffs) |
Read the Time_Stamp and Time_Offset of a transmitted ISO_SDU identified by the Packet_Sequence_Number on a CIS or BIS identified by the Connection_Handle. More... | |
uint8_t | LlSetupIsoDataPath (LlIsoSetupDataPath_t *pSetupDataPath) |
Used to identify and enable the isochronous data path between the host and the controller for each connected isochronous or broadcast isochronous stream. More... | |
uint8_t | LlRemoveIsoDataPath (uint16_t handle, uint8_t dpDir) |
Used to remove the isochronous data path associated with the connected isochronous or broadcast isochronous stream. More... | |
void | LlCisSlaveInit (void) |
Initialize LL subsystem for operation for slave connected isochronous stream. More... | |
void | LlCisMasterInit (void) |
Initialize LL subsystem for operation for master connected isochronous stream. More... | |
uint16_t | LlInitCisMem (uint8_t *pFreeMem, uint32_t freeMemSize) |
Initialize memory for CIS. More... | |
void | LlBisSlaveInit (void) |
Initialize LL subsystem for operation for slave broadcast isochronous stream. More... | |
void | LlBisMasterInit (void) |
Initialize LL subsystem for operation for master broadcast isochronous stream. More... | |
uint16_t | LlInitBisMem (uint8_t *pFreeMem, uint32_t freeMemSize) |
Initialize memory for BIS. More... | |
uint16_t | LlInitIsoMem (uint8_t *pFreeMem, uint32_t freeMemSize) |
Initialize memory for ISO. More... | |
void | LlInitCodec (void) |
Initialize LL for use with an audio codec. More... | |
void | LlSendIsoData (uint8_t *pData) |
Send an ISO data packet. More... | |
uint8_t * | LlRecvIsoData (void) |
Receive an ISO data packet. More... | |
void | LlRecvIsoDataComplete (uint8_t numBufs) |
Indicate that received ISO data buffer has been deallocated. More... | |
uint8_t LlAcceptCisReq | ( | uint16_t | cisHandle | ) |
Used by the slave host to inform the controller to accept the request for the connected isochronous stream.
cisHandle | Handle of the connected isochronous stream. |
uint8_t LlBigCreateSync | ( | LlBigCreateSync_t * | pCreateSync | ) |
Used to synchronize and receive PDUs from one or more BISes within a BIG.
pCreateSync | BIG Create Sync parameters. |
void LlBigTerminateSync | ( | uint8_t | bigHandle | ) |
Used to stop synchronization with the BIG or to cancel the process of synchronizing to BISes invoked by the HCI_LE_BIG_Create_Sync command.
bigHandle | Used to identify the BIG. |
void LlBisMasterInit | ( | void | ) |
Initialize LL subsystem for operation for master broadcast isochronous stream.
This function initializes the LL subsystem for use as a master broadcast isochronous stream.
void LlBisSlaveInit | ( | void | ) |
Initialize LL subsystem for operation for slave broadcast isochronous stream.
This function initializes the LL subsystem for use as a slave broadcast isochronous stream.
void LlCisMasterInit | ( | void | ) |
Initialize LL subsystem for operation for master connected isochronous stream.
This function initializes the LL subsystem for use as a master connected isochronous stream.
void LlCisSlaveInit | ( | void | ) |
Initialize LL subsystem for operation for slave connected isochronous stream.
This function initializes the LL subsystem for use as a slave connected isochronous stream.
uint8_t LlCreateBig | ( | LlCreateBig_t * | pCreateBig | ) |
Used by a broadcaster host to command is used to create one or more BISes of a BIG in the controller.
pCreateBig | Create BIG parameters. |
uint8_t LlCreateBigTest | ( | LlCreateBigTest_t * | pCreateBigTest | ) |
Used by a broadcaster host to command is used to create one or more BISes of a BIG in the ISO test mode.
pCreateBigTest | Create BIG Test parameters. |
uint8_t LlCreateCis | ( | uint8_t | numCis, |
LlCisCreateCisParams_t * | pCreateCisParam | ||
) |
Used by the master host to establish one or more connected isochronous streams.
numCis | Number of connected isochronous streams. |
pCreateCisParam | Parameters for create connected isochronous stream. |
uint16_t LlInitBisMem | ( | uint8_t * | pFreeMem, |
uint32_t | freeMemSize | ||
) |
Initialize memory for BIS.
pFreeMem | Pointer to free memory. |
freeMemSize | Size of pFreeMem. |
This function allocates memory for BIS.
uint16_t LlInitCisMem | ( | uint8_t * | pFreeMem, |
uint32_t | freeMemSize | ||
) |
Initialize memory for CIS.
pFreeMem | Pointer to free memory. |
freeMemSize | Size of pFreeMem. |
This function allocates memory for CIS.
void LlInitCodec | ( | void | ) |
Initialize LL for use with an audio codec.
Assign codec functions for direct LL audio streaming.
uint16_t LlInitIsoMem | ( | uint8_t * | pFreeMem, |
uint32_t | freeMemSize | ||
) |
Initialize memory for ISO.
pFreeMem | Pointer to free memory. |
freeMemSize | Size of pFreeMem. |
This function allocates memory for CIS.
uint8_t LlReadIsoTxSync | ( | uint16_t | handle, |
uint16_t * | pPktSn, | ||
uint32_t * | pTs, | ||
uint32_t * | pTimeOffs | ||
) |
Read the Time_Stamp and Time_Offset of a transmitted ISO_SDU identified by the Packet_Sequence_Number on a CIS or BIS identified by the Connection_Handle.
handle | BIS or CIS handle. |
pPktSn | Packet sequence number. |
pTs | Timestamp. |
pTimeOffs | Time offset. |
uint8_t* LlRecvIsoData | ( | void | ) |
Receive an ISO data packet.
Receive an ISO data packet. If no ISO buffers are available this function returns NULL.
void LlRecvIsoDataComplete | ( | uint8_t | numBufs | ) |
Indicate that received ISO data buffer has been deallocated.
numBufs | Number of completed packets. |
Indicate that received ISO data buffer has been deallocated.
uint8_t LlRejectCisReq | ( | uint16_t | cisHandle, |
uint8_t | reason | ||
) |
Used by the slave host to inform the controller to reject the request for the connected isochronous stream.
cisHandle | Handle of the connected isochronous stream. |
reason | Indicate the reason for rejecting the request. |
uint8_t LlRemoveCig | ( | uint8_t | cigId | ) |
Removes all the connected isochronous streams which have previously been set up.
cigId | Identifier of the connected isochronous group. |
uint8_t LlRemoveIsoDataPath | ( | uint16_t | handle, |
uint8_t | dpDir | ||
) |
Used to remove the isochronous data path associated with the connected isochronous or broadcast isochronous stream.
handle | Handle for CIS or BIS. |
dpDir | Direction of data path to remove. |
void LlSendIsoData | ( | uint8_t * | pData | ) |
Send an ISO data packet.
pData | Data buffer |
Send an ISO data packet. pData points to an ISO buffer formatted according to [1]; the host must set the connection handle, flags, and length fields in the buffer.
uint8_t LlSetCigParams | ( | LlCisCigParams_t * | pCigParam, |
uint16_t * | pCisHandles | ||
) |
Used by a master host to set the parameters of all connected isochronous streams associated with a connected isochronous group in the controller.
pCigParam | CIG parameters. |
pCisHandles | Return buffer for the connected isochronous handles. |
uint8_t LlSetCigParamsTest | ( | LlCisCigParamsTest_t * | pSetCigParamTest, |
uint16_t * | pCisHandles | ||
) |
Used by a master Host to set the parameters of all connected isochronous streams associated with a connected isochronous group in the controller for testing purpose.
pSetCigParamTest | CIG test parameters. |
pCisHandles | Return buffer for the connected isochronous handles. |
uint8_t LlSetupIsoDataPath | ( | LlIsoSetupDataPath_t * | pSetupDataPath | ) |
Used to identify and enable the isochronous data path between the host and the controller for each connected isochronous or broadcast isochronous stream.
pSetupDataPath | Parameters for setup ISO data path. |
uint8_t LlTerminateBig | ( | uint8_t | bigHandle, |
uint8_t | reason | ||
) |
Used to terminate the transmission of all BISes of a BIG, or to cancel the process of creating a BIG using the HCI_LE_Create_BIG command from the Isochronous Broadcaster.
bigHandle | Used to identify the BIG. |
reason | Termination reason. |