BLE_API  v2.1.3
BLE Host and Profile Subsystem Definition

Modules

 BLE Profile Subsystem Structure Definition
 

Macros

#define SIZE_ARRAY_ROW(a)   (sizeof((a))/sizeof((a[0])))
 
#define SIZE_STRING(a)   (sizeof((a))/sizeof((a[0])) - 1)
 
#define BLE_HOSTID_RESERVED   0xFF
 
#define REF_SIZE_LE_HOST_PARA   168
 

Detailed Description

Provide the declarations that for BLE Host subsystem needed. (ble_host.h)

Macro Definition Documentation

◆ BLE_HOSTID_RESERVED

#define BLE_HOSTID_RESERVED   0xFF

Reserved BLE host id.

◆ REF_SIZE_LE_HOST_PARA

#define REF_SIZE_LE_HOST_PARA   168

REF_SIZE_LE_HOST_PARA for checking host parameter size in application layer and host layer.

Attention
Do NOT modify this definition.

◆ SIZE_ARRAY_ROW

#define SIZE_ARRAY_ROW (   a)    (sizeof((a))/sizeof((a[0])))

The size of the array.

◆ SIZE_STRING

#define SIZE_STRING (   a)    (sizeof((a))/sizeof((a[0])) - 1)

The size of the string.