MT2523 API Reference  LinkIt SDK v4
bt_notify_event_data_t Struct Reference

Define the structure of the event BT_NOTIFY_EVENT_DATA_RECEIVED. More...

#include <bt_notify.h>

Data Fields

char sender_id [16]
 The sender's ID of this device. More...
 
char receiver_id [16]
 The receiver's ID of the remote device. More...
 
int32_t error_code
 The error code from the remote device. More...
 
uint8_t data [(2 *1024+1)]
 The data buffer to hold the data from the remote device. More...
 
uint16_t length
 The length of the data received from the remote device. More...
 

Detailed Description

Define the structure of the event BT_NOTIFY_EVENT_DATA_RECEIVED.

Field Documentation

uint8_t data[(2 *1024+1) ]

The data buffer to hold the data from the remote device.

int32_t error_code

The error code from the remote device.

uint16_t length

The length of the data received from the remote device.

char receiver_id[16 ]

The receiver's ID of the remote device.

char sender_id[16 ]

The sender's ID of this device.


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