MT2523 API Reference  LinkIt SDK v4

This section defines the macros for the Bluetooth notification service. More...

Overview

This section defines the macros for the Bluetooth notification service.

Macros

#define BT_NOTIFY_MIN_RECEIVE_DATA_BUF_SIZE   (2*1024 + 1)
 Define the macros for the maximum and minimum buffer sizes and lengths. More...
 
#define BT_NOTIFY_MIN_PARSER_BUF_SIZE   (3*1024)
 The minimum buffer size of the notification parser buffer. More...
 
#define BT_NOTIFY_MAX_CHANNEL   1
 The maximum number of channels supported by a service. More...
 
#define BT_NOTIFY_MAX_SENDER_LENGTH   50
 The maximum length of the sender field of the notification. More...
 
#define BT_NOTIFY_MAX_PAGE_CONTENT_LENGTH   300
 The length of the page content. More...
 
#define BT_NOTIFY_MAX_PAGE_TITLE_LENGTH   30
 The maximum length of the page title. More...
 
#define BT_NOTIFY_MAX_PHONE_NUMBER_LENGTH   20
 The maximum length of the phone number. More...
 
#define BT_NOTIFY_MAX_ACTION_NUM   5
 The maximum number of actions. More...
 
#define BT_NOTIFY_MAX_ACTION_NAME_LENGTH   20
 The maximum length of the action name. More...
 
#define BT_NOTIFY_MAX_ACTION_ID_LENGTH   20
 The maximum length of the action ID field. More...
 
#define BT_NOTIFY_MAX_GROUP_ID_LENGTH   30
 The maximum length of the group ID field of the notification. More...
 
#define BT_NOTIFY_MAX_SENDER_RECEIVER_ID_LENGTH   16
 The maximum length of the sender ID or the receiver ID. More...
 

Macro Definition Documentation

#define BT_NOTIFY_MAX_ACTION_ID_LENGTH   20

The maximum length of the action ID field.

#define BT_NOTIFY_MAX_ACTION_NAME_LENGTH   20

The maximum length of the action name.

#define BT_NOTIFY_MAX_ACTION_NUM   5

The maximum number of actions.

#define BT_NOTIFY_MAX_CHANNEL   1

The maximum number of channels supported by a service.

Currently, a service supports only one Bluetooth channel (link).

#define BT_NOTIFY_MAX_GROUP_ID_LENGTH   30

The maximum length of the group ID field of the notification.

#define BT_NOTIFY_MAX_PAGE_CONTENT_LENGTH   300

The length of the page content.

#define BT_NOTIFY_MAX_PAGE_TITLE_LENGTH   30

The maximum length of the page title.

#define BT_NOTIFY_MAX_PHONE_NUMBER_LENGTH   20

The maximum length of the phone number.

#define BT_NOTIFY_MAX_SENDER_LENGTH   50

The maximum length of the sender field of the notification.

#define BT_NOTIFY_MAX_SENDER_RECEIVER_ID_LENGTH   16

The maximum length of the sender ID or the receiver ID.

#define BT_NOTIFY_MIN_PARSER_BUF_SIZE   (3*1024)

The minimum buffer size of the notification parser buffer.

#define BT_NOTIFY_MIN_RECEIVE_DATA_BUF_SIZE   (2*1024 + 1)

Define the macros for the maximum and minimum buffer sizes and lengths.

The minimum buffer size used by EXCD to receive data. (2*1024+1) is the default and minimum buffer size.