MT2523 API Reference  LinkIt SDK v4

Define Bluetooth device manager service data types and values. More...

Overview

Define Bluetooth device manager service data types and values.

Macros

#define BT_DEVICE_MANAGER_MAX_PAIRED_NUM   5
 Defines the maximum number of paired devices. More...
 
#define BT_DEVICE_MANAGER_PAIRED_ADD   0x00
 This event is generated after adding a new paired device. More...
 
#define BT_DEVICE_MANAGER_PAIRED_UNPAIR   0x01
 This event is generated after removing a paired device through bt_device_manager_delete_paired_device(). More...
 
#define BT_DEVICE_MANAGER_PAIRED_KEY_MISS   0x02
 This event is generated after removing a paired device because the information of the paired device has expired. More...
 
#define BT_DEVICE_MANAGER_PAIRED_LIST_FULL   0x03
 This event is generated after removing a paired device in order to pair with a new device, because the paired device list is full. More...
 
#define BT_DEVICE_MANAGER_PAIRED_UNPAIR_ALL   0x04
 This event is generated after removing all paired devices through bt_device_manager_unpair_all(). More...
 

Typedefs

typedef uint8_t bt_device_manager_paired_event_t
 The event type of paired information has changed. More...
 

Macro Definition Documentation

#define BT_DEVICE_MANAGER_MAX_PAIRED_NUM   5

Defines the maximum number of paired devices.

#define BT_DEVICE_MANAGER_PAIRED_ADD   0x00

This event is generated after adding a new paired device.

#define BT_DEVICE_MANAGER_PAIRED_KEY_MISS   0x02

This event is generated after removing a paired device because the information of the paired device has expired.

#define BT_DEVICE_MANAGER_PAIRED_LIST_FULL   0x03

This event is generated after removing a paired device in order to pair with a new device, because the paired device list is full.

#define BT_DEVICE_MANAGER_PAIRED_UNPAIR   0x01

This event is generated after removing a paired device through bt_device_manager_delete_paired_device().

#define BT_DEVICE_MANAGER_PAIRED_UNPAIR_ALL   0x04

This event is generated after removing all paired devices through bt_device_manager_unpair_all().

Typedef Documentation

The event type of paired information has changed.