WE310F5  39.00.000
M2MB_BLE_USER_EVENT_CTX_S Struct Reference

Structure to hold all the information required related to an event notified to the application. More...

#include <m2mb_ble_driver.h>

Data Fields

UINT32 peripheral_connect_id
 
UINT32 central_connect_id
 
UINT32 mtu
 
union {
   M2MB_BLE_GATT_SERVER_EVENT_DETAILS_T   gatt_attrib
 
   M2MB_BLE_SCAN_REPORT_DATA_T   scan_data
 
   M2MB_BLE_CONN_PARAM_T   connection_params
 
   M2MB_BLE_CENTRAL_NOTIFY_INDICATE_DATA_T   notify_data
 
   M2MB_BLE_SSP_REQUEST_CTX_T   ssp_conf
 
   M2MB_BLE_PIN_REQUEST_CTX_T   ssp_pin
 
   M2MB_BLE_DATA_LENGTH_CHANGE_INFO_T   data_len
 
   M2MB_BLE_UPDATED_PHY_INFO_T   updated_phy_info
 
   UINT32   remote_dev_supported_phys
 
}; 
 

Detailed Description

Structure to hold all the information required related to an event notified to the application.

Structure to hold all the information required related to an event notified to the application. This context information is sent to registerd callback with event type.

Definition at line 758 of file m2mb_ble_driver.h.

Field Documentation

◆ @11

union { ... }

◆ central_connect_id

UINT32 central_connect_id

Central Connect ID. Used for central connect and disconnect event

Definition at line 761 of file m2mb_ble_driver.h.

◆ connection_params

M2MB_BLE_CONN_PARAM_T connection_params

connection parameter information. This is for the connection identified by peripheral / central connection ID

Definition at line 768 of file m2mb_ble_driver.h.

◆ data_len

Data length exchange information.

Definition at line 772 of file m2mb_ble_driver.h.

◆ gatt_attrib

GATT server information

Definition at line 766 of file m2mb_ble_driver.h.

◆ mtu

UINT32 mtu

Hold MTU value of both central and peripheral, MTU based on central / peripheral MTU event

Definition at line 762 of file m2mb_ble_driver.h.

◆ notify_data

Central notify / indicate information

Definition at line 769 of file m2mb_ble_driver.h.

◆ peripheral_connect_id

UINT32 peripheral_connect_id

Peripheral connect ID. Used for peripheral connect and disconnect event

Definition at line 760 of file m2mb_ble_driver.h.

◆ remote_dev_supported_phys

UINT32 remote_dev_supported_phys

Remote device supported PHYs information

Definition at line 774 of file m2mb_ble_driver.h.

◆ scan_data

scanned device information

Definition at line 767 of file m2mb_ble_driver.h.

◆ ssp_conf

SSPCONF information

Definition at line 770 of file m2mb_ble_driver.h.

◆ ssp_pin

SSPPIN information

Definition at line 771 of file m2mb_ble_driver.h.

◆ updated_phy_info

M2MB_BLE_UPDATED_PHY_INFO_T updated_phy_info

updated PHY information on switching between LE 1M PHY and 2M PHY

Definition at line 773 of file m2mb_ble_driver.h.


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