Maxim Integrated Bluetooth LE Library

Dependents:   BLE_Thermometer MAXWSNENV_demo

Committer:
enginerd
Date:
Thu Oct 06 22:02:31 2016 +0000
Revision:
5:5b87f64ce81e
Parent:
0:b562096246b3
Added new required method.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
enginerd 0:b562096246b3 1 /*************************************************************************************************/
enginerd 0:b562096246b3 2 /*!
enginerd 0:b562096246b3 3 * \file att_handler.h
enginerd 0:b562096246b3 4 *
enginerd 0:b562096246b3 5 * \brief Interface to ATT event handler.
enginerd 0:b562096246b3 6 *
enginerd 0:b562096246b3 7 * $Date: 2012-03-29 13:24:04 -0700 (Thu, 29 Mar 2012) $
enginerd 0:b562096246b3 8 * $Revision: 287 $
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 ATT_HANDLER_H
enginerd 0:b562096246b3 23 #define ATT_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 AttHandlerInit
enginerd 0:b562096246b3 38 *
enginerd 0:b562096246b3 39 * \brief ATT handler init function called during system initialization.
enginerd 0:b562096246b3 40 *
enginerd 0:b562096246b3 41 * \param handlerID WSF handler ID for ATT.
enginerd 0:b562096246b3 42 *
enginerd 0:b562096246b3 43 * \return None.
enginerd 0:b562096246b3 44 */
enginerd 0:b562096246b3 45 /*************************************************************************************************/
enginerd 0:b562096246b3 46 void AttHandlerInit(wsfHandlerId_t handlerId);
enginerd 0:b562096246b3 47
enginerd 0:b562096246b3 48
enginerd 0:b562096246b3 49 /*************************************************************************************************/
enginerd 0:b562096246b3 50 /*!
enginerd 0:b562096246b3 51 * \fn AttHandler
enginerd 0:b562096246b3 52 *
enginerd 0:b562096246b3 53 * \brief WSF event handler for ATT.
enginerd 0:b562096246b3 54 *
enginerd 0:b562096246b3 55 * \param event WSF event mask.
enginerd 0:b562096246b3 56 * \param pMsg WSF message.
enginerd 0:b562096246b3 57 *
enginerd 0:b562096246b3 58 * \return None.
enginerd 0:b562096246b3 59 */
enginerd 0:b562096246b3 60 /*************************************************************************************************/
enginerd 0:b562096246b3 61 void AttHandler(wsfEventMask_t event, wsfMsgHdr_t *pMsg);
enginerd 0:b562096246b3 62
enginerd 0:b562096246b3 63 #ifdef __cplusplus
enginerd 0:b562096246b3 64 };
enginerd 0:b562096246b3 65 #endif
enginerd 0:b562096246b3 66
enginerd 0:b562096246b3 67 #endif /* ATT_HANDLER_H */