Maxim Integrated / MaximBLE

Dependents:   BLE_Thermometer MAXWSNENV_demo

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers smp_handler.h Source File

smp_handler.h

Go to the documentation of this file.
00001 /*************************************************************************************************/
00002 /*!
00003  *  \file   smp_handler.h
00004  *
00005  *  \brief  Interface to SMP event handler.
00006  *
00007  *          $Date: 2012-03-29 13:24:04 -0700 (Thu, 29 Mar 2012) $
00008  *          $Revision: 287 $
00009  *
00010  *  Copyright (c) 2010-2016 ARM Limited. All rights reserved.
00011  *
00012  *  SPDX-License-Identifier: LicenseRef-PBL
00013  *
00014  *  Licensed under the Permissive Binary License, Version 1.0 (the "License"); you may not use
00015  *  this file except in compliance with the License.  You may obtain a copy of the License at
00016  *
00017  *  https://www.mbed.com/licenses/PBL-1.0
00018  *
00019  *  See the License for the specific language governing permissions and limitations under the License.
00020  */
00021 /*************************************************************************************************/
00022 #ifndef SMP_HANDLER_H
00023 #define SMP_HANDLER_H
00024 
00025 #include "wsf_os.h"
00026 
00027 #ifdef __cplusplus
00028 extern "C" {
00029 #endif
00030 
00031 /**************************************************************************************************
00032   Function Declarations
00033 **************************************************************************************************/
00034 
00035 /*************************************************************************************************/
00036 /*!
00037  *  \fn     SmpHandlerInit
00038  *        
00039  *  \brief  SMP handler init function called during system initialization.
00040  *
00041  *  \param  handlerID  WSF handler ID for SMP.
00042  *
00043  *  \return None.
00044  */
00045 /*************************************************************************************************/
00046 void SmpHandlerInit(wsfHandlerId_t handlerId);
00047 
00048 
00049 /*************************************************************************************************/
00050 /*!
00051  *  \fn     SmpHandler
00052  *        
00053  *  \brief  WSF event handler for SMP.
00054  *
00055  *  \param  event   WSF event mask.
00056  *  \param  pMsg    WSF message.
00057  *
00058  *  \return None.
00059  */
00060 /*************************************************************************************************/
00061 void SmpHandler(wsfEventMask_t event, wsfMsgHdr_t  *pMsg);
00062 
00063 #ifdef __cplusplus
00064 };
00065 #endif
00066 
00067 #endif /* SMP_HANDLER_H */