Bluetooth LE Profile API document
Bluetooth LE Profile API document Rev.1.00 [May 22, 2020]

Macro definition. More...

Detailed Description

Macro definition.

Macros

#define BLE_DISC_PRIM_SERV_MAX_NUM   (10)
 Maximum number of services to discover. More...
 
#define BLE_DISC_INC_SERV_MAX_NUM   (2)
 Maximum number of included services to discover. More...
 
#define BLE_DISC_CHAR_MAX_NUM   (40)
 Maximum number of characteristics to discover in a service. More...
 
#define BLE_DISC_DESC_MAX_NUM   (10)
 Maximum number of descriptors to discover in a characteristic. More...
 

Enumerations

enum  e_ble_disc_evt_t {
  BLE_DISC_PRIM_SERV_FOUND,
  BLE_DISC_INC_SERV_FOUND,
  BLE_DISC_PRIM_SERV_NOT_FOUND,
  BLE_DISC_CHAR_FOUND
}
 GATT Discovery event. More...
 

Macro Definition Documentation

◆ BLE_DISC_PRIM_SERV_MAX_NUM

#define BLE_DISC_PRIM_SERV_MAX_NUM   (10)

Maximum number of services to discover.

◆ BLE_DISC_INC_SERV_MAX_NUM

#define BLE_DISC_INC_SERV_MAX_NUM   (2)

Maximum number of included services to discover.

◆ BLE_DISC_CHAR_MAX_NUM

#define BLE_DISC_CHAR_MAX_NUM   (40)

Maximum number of characteristics to discover in a service.

◆ BLE_DISC_DESC_MAX_NUM

#define BLE_DISC_DESC_MAX_NUM   (10)

Maximum number of descriptors to discover in a characteristic.

Enumeration Type Documentation

◆ e_ble_disc_evt_t

GATT Discovery event.

Enumerator
BLE_DISC_PRIM_SERV_FOUND 

Service discovered event

BLE_DISC_INC_SERV_FOUND 

Included service discovered event

BLE_DISC_PRIM_SERV_NOT_FOUND 

Service not discovered event

BLE_DISC_CHAR_FOUND 

Characteristic discovered event