nRF51 SDK - S110 SoftDevice
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages

Modules

 User Memory Types
 
 BLE Connection Handles
 
 Assigned Values for BLE UUIDs
 
 Types of UUID
 
 Bluetooth Appearance values
 

Macros

#define BLE_EVTS_PTR_ALIGNMENT   4
 Required pointer alignment for BLE Events.
 
#define BLE_UUID_VS_MAX_COUNT   10
 Maximum number of Vendor Specific UUIDs.
 
#define BLE_UUID_BLE_ASSIGN(instance, value)
 Set .type and .uuid fields of ble_uuid_struct to specified uuid value. More...
 
#define BLE_UUID_COPY_PTR(dst, src)
 Copy type and uuid members from src to dst ble_uuid_t pointer. Both pointers must be valid/non-null. More...
 
#define BLE_UUID_COPY_INST(dst, src)
 Copy type and uuid members from src to dst ble_uuid_t struct. More...
 
#define BLE_UUID_EQ(p_uuid1, p_uuid2)   (((p_uuid1)->type == (p_uuid2)->type) && ((p_uuid1)->uuid == (p_uuid2)->uuid))
 Compare for equality both type and uuid members of two (valid, non-null) ble_uuid_t pointers.
 
#define BLE_UUID_NEQ(p_uuid1, p_uuid2)   (((p_uuid1)->type != (p_uuid2)->type) || ((p_uuid1)->uuid != (p_uuid2)->uuid))
 Compare for difference both type and uuid members of two (valid, non-null) ble_uuid_t pointers.
 

Detailed Description

Macro Definition Documentation

#define BLE_UUID_BLE_ASSIGN (   instance,
  value 
)
Value:
do {\
instance.type = BLE_UUID_TYPE_BLE; \
instance.uuid = value;} while(0)

Set .type and .uuid fields of ble_uuid_struct to specified uuid value.

#define BLE_UUID_COPY_INST (   dst,
  src 
)
Value:
do {\
(dst).type = (src).type; \
(dst).uuid = (src).uuid;} while(0)

Copy type and uuid members from src to dst ble_uuid_t struct.

#define BLE_UUID_COPY_PTR (   dst,
  src 
)
Value:
do {\
(dst)->type = (src)->type; \
(dst)->uuid = (src)->uuid;} while(0)

Copy type and uuid members from src to dst ble_uuid_t pointer. Both pointers must be valid/non-null.