Cordio Stack and Cordio Profiles  r2p3-02rel0
svc_cfg.h
Go to the documentation of this file.
1 /*************************************************************************************************/
2 /*!
3  * \file
4  *
5  * \brief Service configuration.
6  *
7  * Copyright (c) 2011-2018 Arm Ltd. All Rights Reserved.
8  * ARM Ltd. confidential and proprietary.
9  *
10  * IMPORTANT. Your use of this file is governed by a Software License Agreement
11  * ("Agreement") that must be accepted in order to download or otherwise receive a
12  * copy of this file. You may not use or copy this file for any purpose other than
13  * as described in the Agreement. If you do not agree to all of the terms of the
14  * Agreement do not use this file and delete all copies in your possession or control;
15  * if you do not have a copy of the Agreement, you must contact ARM Ltd. prior
16  * to any use, copying or further distribution of this software.
17  */
18 /*************************************************************************************************/
19 #ifndef SVC_CFG_H
20 #define SVC_CFG_H
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
26 /*! \addtogroup SERVICE_CONFIGURATION
27  * \{ */
28 
29 /**************************************************************************************************
30  Macros
31 **************************************************************************************************/
32 
33 /*! \brief Default read security permissions for service characteristics */
34 #ifndef SVC_SEC_PERMIT_READ
35 #define SVC_SEC_PERMIT_READ ATTS_PERMIT_READ
36 #endif
37 
38 /*! \brief Default write security permissions for service characteristics */
39 #ifndef SVC_SEC_PERMIT_WRITE
40 #define SVC_SEC_PERMIT_WRITE ATTS_PERMIT_WRITE
41 #endif
42 
43 /*! \} */ /* SERVICE_CONFIGURATION */
44 
45 #ifdef __cplusplus
46 };
47 #endif
48 
49 #endif /* SVC_CFG_H */