WE310F5  39.00.000
M2MB_BLE_GATT_SERVER_EVENT_DETAILS_S Struct Reference

Structure to hold information for a GATT server event. More...

#include <m2mb_ble_driver.h>

Data Fields

UINT8result_flag
 
UINT32 service_id
 
UINT32 char_id
 
UINT32 char_cccd_id
 
UINT8 ** value
 
UINT16value_length
 
UINT8 cccd_val
 
UINT8 more_data
 
UINT32 offset
 

Detailed Description

Structure to hold information for a GATT server event.

Structure to hold information for a GATT server event.

Definition at line 693 of file m2mb_ble_driver.h.

Field Documentation

◆ cccd_val

UINT8 cccd_val

0x10 = Notification Enable, 0x20 = Indication Enable, 0x30 = Notification and Indication Enable , 0x00 = Notification and Indication disable

Definition at line 701 of file m2mb_ble_driver.h.

◆ char_cccd_id

UINT32 char_cccd_id

CCCD ID. Used only when notification / indication is enabled or disbaled from Central

Definition at line 698 of file m2mb_ble_driver.h.

◆ char_id

UINT32 char_id

characteristic ID

Definition at line 697 of file m2mb_ble_driver.h.

◆ more_data

UINT8 more_data

Used as part of write operation

Definition at line 702 of file m2mb_ble_driver.h.

◆ offset

UINT32 offset

Used as part of fragmentation

Definition at line 703 of file m2mb_ble_driver.h.

◆ result_flag

UINT8* result_flag

Tells whether the read request or write request is success or failure from app layer to m2mb layer

Definition at line 695 of file m2mb_ble_driver.h.

◆ service_id

UINT32 service_id

Service ID

Definition at line 696 of file m2mb_ble_driver.h.

◆ value

UINT8** value

Data value. In case of read request, data should be filled from application in the pointer sent from m2mb layer

Definition at line 699 of file m2mb_ble_driver.h.

◆ value_length

UINT16* value_length

value length. In case of read request, value length should be filled from the application

Definition at line 700 of file m2mb_ble_driver.h.


The documentation for this struct was generated from the following file: