Library providing hci driver for host/controller communication over shared RAM Origin: ST Microelectronics License: BSD-3-Clause URL: http://www.st.com/en/embedded-software/stm32cubewb.html Commit: 1.0.0 Purpose: Shared RAM driver for STM32WB Maintained-by: External Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
44 lines
1.2 KiB
C
44 lines
1.2 KiB
C
/**
|
|
******************************************************************************
|
|
* @file tl_if.c
|
|
* @author MCD Application Team
|
|
* @brief Transport layer interface to BLE
|
|
******************************************************************************
|
|
* @attention
|
|
*
|
|
* <h2><center>© Copyright (c) 2019 STMicroelectronics.
|
|
* All rights reserved.</center></h2>
|
|
*
|
|
* This software component is licensed by ST under BSD 3-Clause license,
|
|
* the "License"; You may not use this file except in compliance with the
|
|
* License. You may obtain a copy of the License at:
|
|
* opensource.org/licenses/BSD-3-Clause
|
|
*
|
|
******************************************************************************
|
|
*/
|
|
#include "hci_tl.h"
|
|
#include "shci_tl.h"
|
|
#include "tl.h"
|
|
|
|
|
|
void hci_register_io_bus(tHciIO* fops)
|
|
{
|
|
/* Register IO bus services */
|
|
fops->Init = TL_BLE_Init;
|
|
fops->Send = TL_BLE_SendCmd;
|
|
|
|
return;
|
|
}
|
|
|
|
void shci_register_io_bus(tSHciIO* fops)
|
|
{
|
|
/* Register IO bus services */
|
|
fops->Init = TL_SYS_Init;
|
|
fops->Send = TL_SYS_SendCmd;
|
|
|
|
return;
|
|
}
|
|
|
|
|
|
|
|
/******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/
|