MT2523 API Reference  LinkIt SDK v4
bt_notify_callback_data_t Struct Reference

Define the structure for the callback content. More...

#include <bt_notify.h>

Data Fields

bt_notify_event_t evt_id
 If the event ID is BT_NOTIFY_EVENT_DATA_RECEIVED, read the corresponding event_data field from this structure. More...
 
bt_notify_remote_system_type_t remote_system
 The remote device's OS. More...
 
bt_bd_addr_t bt_addr
 The remote device's Bluetooth address. More...
 
bt_notify_event_data_t event_data
 Data from remote device. More...
 
bt_notify_notification_t notification
 Generic notification. More...
 
bt_notify_sms_t sms
 SMS notification. More...
 
bt_notify_missed_call_t missed_call
 Missed call notification. More...
 

Detailed Description

Define the structure for the callback content.

Field Documentation

bt_bd_addr_t bt_addr

The remote device's Bluetooth address.

Data from remote device.

If the event ID is BT_NOTIFY_EVENT_DATA_RECEIVED, read the corresponding event_data field from this structure.

If the event ID is BT_NOTIFY_EVENT_NOTIFICATION, read the corresponding notification field from this structure. If the event ID is BT_NOTIFY_EVENT_MISSED_CALL, read the corresponding sms field from this structure. If the event ID is BT_NOTIFY_EVENT_SMS, read the corresponding missed_call field from this structure.

Missed call notification.

Generic notification.

The remote device's OS.

SMS notification.


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