S132 SoftDevice v5.0.0-1.alpha
Modules | Macros

Modules

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

Macros

#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.


Documentation feedback | Developer Zone | Subscribe | Updated