Welcome to mirror list, hosted at ThFree Co, Russian Federation.

tl_if.c « app « STM32_WPAN « BLE_MeshLightingPRFNode « BLE « Applications « NUCLEO-WB15CC « Projects - github.com/Flipper-Zero/STM32CubeWB.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7b9d0a44345a66f254a3b966dd80a350411e788a (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
/* USER CODE BEGIN Header */
/**
  ******************************************************************************
  * @file    tl_if.c
  * @author  MCD Application Team
  * @brief   Transport layer interface to BLE
  ******************************************************************************
  * @attention
  *
  * Copyright (c) 2021 STMicroelectronics.
  * All rights reserved.
  *
  * This software is licensed under terms that can be found in the LICENSE file
  * in the root directory of this software component.
  * If no LICENSE file comes with this software, it is provided AS-IS.
  *
  ******************************************************************************
  */
/* USER CODE END Header */

#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;
}