XDK API  3.6.0
Documentation
Macros
AttConfig.h File Reference
#include "BleTypes.h"
#include "BleConfig.h"
+ Include dependency graph for AttConfig.h:
+ This graph shows which files directly or indirectly include this file:

Macros

#define ATT_BROWSE_API   0
 
#define ATT_DEBUG   0
 
#define ATT_DEBUG_TRACES   0
 
#define ATT_PARMS_CHECK   BLE_PARMS_CHECK
 
#define ATT_ROLE_CLIENT   0
 
#define ATT_ROLE_CLIENT   0
 
#define ATT_ROLE_CLIENT   0
 
#define ATT_ROLE_SERVER   0
 
#define ATT_ROLE_SERVER   0
 
#define ATT_SERVER_AttAttributesChanged   (void)0
 
#define ATTRIBUTE_PROTOCOL   1
 
#define ATTRIBUTE_PROTOCOL   0
 

Detailed Description

Default configuration options for the attribute protocol.

This configuration may be overridden by a custom configuration in blecustomconfig.h. All that is already defined before this file is pre-processed will not be defined here thanks to all #ifndef.

Rule: 0 to DISABLE, 1 to ENABLE.

Author
Alexandre GIMARD

Macro Definition Documentation

#define ATT_BROWSE_API   0

ATT_BROWSE_API It enables an additional APIs used to browse and display the local attribute database.

#define ATT_DEBUG   0

ATT_DEBUG Performs extra check at the cost of speed and/or memory.

Note: this does not only significantly increase ROM, but also RAM because of all asserts.

#define ATT_DEBUG_TRACES   0

ATT_DEBUG_TRACES It defines if the Attribute Protocol Layer exports some debug traces during Runtime. The debug print are exported through the SYSTEM_Log() function Default behaviour is to not export traces. Note that this option is ignored and override when BLE_PRINT_DEBUG_TRACES is disabled (set to 0)

#define ATT_PARMS_CHECK   BLE_PARMS_CHECK

ATT_PARMS_CHECK If disabled, parameters will not be checked within the functions. This saves ROM but expects the profile will not make any mistake when calling the API!

#define ATT_ROLE_CLIENT   0

ATT_ROLE_CLIENT it defines if the local Device supports (set to 1) or does not support (set to 0) the ATTRIBUTE Protocol CLIENT role Default behaviour is to support it.

#define ATT_ROLE_CLIENT   0

ATT_ROLE_CLIENT it defines if the local Device supports (set to 1) or does not support (set to 0) the ATTRIBUTE Protocol CLIENT role Default behaviour is to support it.

#define ATT_ROLE_CLIENT   0

ATT_ROLE_CLIENT it defines if the local Device supports (set to 1) or does not support (set to 0) the ATTRIBUTE Protocol CLIENT role Default behaviour is to support it.

#define ATT_ROLE_SERVER   0

ATT_ROLE_SERVER It defines if the local Device supports (set to 1) or does not support (set to 0) the ATTRIBUTE Protocol SERVER role Default behaviour is to support it. The SERVER Role is in fact mandatory in case of a device supporting connection because a device shall host the GAP and GATT attributes.

#define ATT_ROLE_SERVER   0

ATT_ROLE_SERVER It defines if the local Device supports (set to 1) or does not support (set to 0) the ATTRIBUTE Protocol SERVER role Default behaviour is to support it. The SERVER Role is in fact mandatory in case of a device supporting connection because a device shall host the GAP and GATT attributes.

#define ATT_SERVER_AttAttributesChanged   (void)0
#define ATTRIBUTE_PROTOCOL   1

ATTRIBUTE_PROTOCOL It defines if the local Device supports (set to 1) or does not support (set to 0) the ATTRIBUTE Protocol Default behaviour is to support it.

#define ATTRIBUTE_PROTOCOL   0

ATTRIBUTE_PROTOCOL It defines if the local Device supports (set to 1) or does not support (set to 0) the ATTRIBUTE Protocol Default behaviour is to support it.


All rights reserved. The use is subject to the XDK SDK EULA by Bosch Connected Devices and Solutions GmbH.
This documentation file has been automatically generated on Thu Mar 14 2019 19:12:41 by doxygen 1.8.8