![]() |
WE310F5
39.00.000
|
Structure to hold information for a GATT server event. More...
#include <m2mb_ble_driver.h>
Data Fields | |
UINT8 * | result_flag |
UINT32 | service_id |
UINT32 | char_id |
UINT32 | char_cccd_id |
UINT8 ** | value |
UINT16 * | value_length |
UINT8 | cccd_val |
UINT8 | more_data |
UINT32 | offset |
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.
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.
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.
UINT32 char_id |
characteristic ID
Definition at line 697 of file m2mb_ble_driver.h.
UINT8 more_data |
Used as part of write operation
Definition at line 702 of file m2mb_ble_driver.h.
UINT32 offset |
Used as part of fragmentation
Definition at line 703 of file m2mb_ble_driver.h.
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.
UINT32 service_id |
Service ID
Definition at line 696 of file m2mb_ble_driver.h.
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.
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.