-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1.9.14.0 delivery for MCUXpresso SDK 2.16.000 release
Squashed commit of the following: commit 66a0dcc8af6c1a1524bb133a41707421545777c1 Author: mcu_sdk.ci <[email protected]> Date: Fri Jul 19 04:16:03 2024 +0000 Add files generated at mcu-sdk-2.0 d2314cd551 Signed-off-by: mcu_sdk.ci <[email protected]>
- Loading branch information
Showing
12 changed files
with
2,169 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
/*! ********************************************************************************* | ||
* \defgroup CONTROLLER - Controller Interface | ||
* @{ | ||
********************************************************************************** */ | ||
/*! | ||
* Copyright (c) 2014, Freescale Semiconductor, Inc. | ||
* Copyright 2016-2017,2020-2022 NXP | ||
* | ||
* All rights reserved. | ||
* | ||
* SPDX-License-Identifier: BSD-3-Clause | ||
*/ | ||
|
||
#ifndef _CONTROLLER_INTERFACE_H_ | ||
#define _CONTROLLER_INTERFACE_H_ | ||
|
||
/************************************************************************************ | ||
************************************************************************************* | ||
* Include | ||
************************************************************************************* | ||
************************************************************************************/ | ||
#include "stdint.h" | ||
#include "fsl_os_abstraction.h" | ||
|
||
/************************************************************************************ | ||
************************************************************************************* | ||
* Public macros | ||
************************************************************************************* | ||
************************************************************************************/ | ||
|
||
|
||
/************************************************************************************ | ||
************************************************************************************* | ||
* Structures/Data Types | ||
************************************************************************************* | ||
************************************************************************************/ | ||
|
||
|
||
/************************************************************************************ | ||
************************************************************************************* | ||
* Public memory declarations | ||
************************************************************************************* | ||
************************************************************************************/ | ||
|
||
/************************************************************************************ | ||
************************************************************************************* | ||
* Public prototypes | ||
************************************************************************************* | ||
************************************************************************************/ | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
|
||
/************************************************************************************ | ||
************************************************************************************ | ||
* Common header section, for all platforms * | ||
************************************************************************************ | ||
***********************************************************************************/ | ||
|
||
typedef osa_status_t (*gHostHciRecvCallback_t) | ||
( | ||
uint8_t packetType, | ||
void* pHciPacket, | ||
uint16_t hciPacketLength | ||
); | ||
|
||
|
||
/*! ********************************************************************************* | ||
* \brief Performs initialization of the Controller. | ||
* \param[in] callback HCI Host Receive Callback | ||
* | ||
* \return KOSA_StatusSuccess or KOSA_StatusError | ||
********************************************************************************** */ | ||
osa_status_t Controller_Init(gHostHciRecvCallback_t callback); | ||
|
||
|
||
/*! ********************************************************************************* | ||
* \brief Controller Receive Interface | ||
* \param[in] packetType HCI packet Type | ||
* \param[in] pPacket data buffer | ||
* \param[in] packetSize data buffer length | ||
* | ||
* \return KOSA_StatusSuccess or KOSA_StatusError | ||
********************************************************************************** */ | ||
osa_status_t Controller_SendPacketToController( uint8_t packetType, void* pPacket, | ||
uint16_t packetSize); | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif /* _CONTROLLER_INTERFACE_H_ */ | ||
|
||
/*! ********************************************************************************* | ||
* @} | ||
********************************************************************************** */ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/*! | ||
* Copyright 2021 NXP | ||
* | ||
* SPDX-License-Identifier: BSD-3-Clause | ||
*/ | ||
|
||
#include "ble_general.h" | ||
#include "fsl_component_serial_manager.h" | ||
|
||
/***************************************************************************** | ||
***************************************************************************** | ||
* Public prototypes | ||
***************************************************************************** | ||
*****************************************************************************/ | ||
bleResult_t DTM_Init(serial_handle_t dtm_handle); | ||
void DTM_Uninit(void); |
Oops, something went wrong.