blob: 609ca64cf4cf8992c48c028aa0a0800140f3b562 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
/**
******************************************************************************
* @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 Ultimate Liberty license
* SLA0044, the "License"; You may not use this file except in compliance with
* the License. You may obtain a copy of the License at:
* www.st.com/SLA0044
*
******************************************************************************
*/
#include "app_common.h"
#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 2019 STMicroelectronics *****END OF FILE****/
|