Maxim Integrated Bluetooth LE Library

Dependents:   BLE_Thermometer MAXWSNENV_demo

Committer:
enginerd
Date:
Thu Mar 03 14:13:21 2016 +0000
Revision:
0:b562096246b3
Initial commit of Maxim Integrated Bluetooth LE Library

Who changed what in which revision?

UserRevisionLine numberNew contents of line
enginerd 0:b562096246b3 1 /*************************************************************************************************/
enginerd 0:b562096246b3 2 /*!
enginerd 0:b562096246b3 3 * \file l2c_handler.h
enginerd 0:b562096246b3 4 *
enginerd 0:b562096246b3 5 * \brief L2CAP handler interface.
enginerd 0:b562096246b3 6 *
enginerd 0:b562096246b3 7 * $Date $
enginerd 0:b562096246b3 8 * $Revision $
enginerd 0:b562096246b3 9 *
enginerd 0:b562096246b3 10 * Copyright (c) 2009-2016 ARM Limited. All rights reserved.
enginerd 0:b562096246b3 11 *
enginerd 0:b562096246b3 12 * SPDX-License-Identifier: LicenseRef-PBL
enginerd 0:b562096246b3 13 *
enginerd 0:b562096246b3 14 * Licensed under the Permissive Binary License, Version 1.0 (the "License"); you may not use
enginerd 0:b562096246b3 15 * this file except in compliance with the License. You may obtain a copy of the License at
enginerd 0:b562096246b3 16 *
enginerd 0:b562096246b3 17 * https://www.mbed.com/licenses/PBL-1.0
enginerd 0:b562096246b3 18 *
enginerd 0:b562096246b3 19 * See the License for the specific language governing permissions and limitations under the License.
enginerd 0:b562096246b3 20 */
enginerd 0:b562096246b3 21 /*************************************************************************************************/
enginerd 0:b562096246b3 22 #ifndef L2C_HANDLER_H
enginerd 0:b562096246b3 23 #define L2C_HANDLER_H
enginerd 0:b562096246b3 24
enginerd 0:b562096246b3 25 #include "wsf_os.h"
enginerd 0:b562096246b3 26
enginerd 0:b562096246b3 27 #ifdef __cplusplus
enginerd 0:b562096246b3 28 extern "C" {
enginerd 0:b562096246b3 29 #endif
enginerd 0:b562096246b3 30
enginerd 0:b562096246b3 31 /**************************************************************************************************
enginerd 0:b562096246b3 32 Function Declarations
enginerd 0:b562096246b3 33 **************************************************************************************************/
enginerd 0:b562096246b3 34
enginerd 0:b562096246b3 35 /*************************************************************************************************/
enginerd 0:b562096246b3 36 /*!
enginerd 0:b562096246b3 37 * \fn L2cSlaveHandlerInit
enginerd 0:b562096246b3 38 *
enginerd 0:b562096246b3 39 * \brief Event handler initialization function for L2C when operating as a slave.
enginerd 0:b562096246b3 40 *
enginerd 0:b562096246b3 41 * \param handlerId ID for this event handler.
enginerd 0:b562096246b3 42 *
enginerd 0:b562096246b3 43 * \return None.
enginerd 0:b562096246b3 44 */
enginerd 0:b562096246b3 45 /*************************************************************************************************/
enginerd 0:b562096246b3 46 void L2cSlaveHandlerInit(wsfHandlerId_t handlerId);
enginerd 0:b562096246b3 47
enginerd 0:b562096246b3 48 /*************************************************************************************************/
enginerd 0:b562096246b3 49 /*!
enginerd 0:b562096246b3 50 * \fn L2cSlaveHandler
enginerd 0:b562096246b3 51 *
enginerd 0:b562096246b3 52 * \brief The WSF event handler for L2C when operating as a slave.
enginerd 0:b562096246b3 53 *
enginerd 0:b562096246b3 54 * \param event Event mask.
enginerd 0:b562096246b3 55 * \param pMsg Pointer to message.
enginerd 0:b562096246b3 56 *
enginerd 0:b562096246b3 57 * \return None.
enginerd 0:b562096246b3 58 */
enginerd 0:b562096246b3 59 /*************************************************************************************************/
enginerd 0:b562096246b3 60 void L2cSlaveHandler(wsfEventMask_t event, wsfMsgHdr_t *pMsg);
enginerd 0:b562096246b3 61
enginerd 0:b562096246b3 62 #ifdef __cplusplus
enginerd 0:b562096246b3 63 };
enginerd 0:b562096246b3 64 #endif
enginerd 0:b562096246b3 65
enginerd 0:b562096246b3 66 #endif /* L2C_HANDLER_H */