ANCS attribute lengths

C

#define BLE_ANCS_MAX_PACKET_BUFFER_SIZE     1024
#define BLE_ANCS_MAX_APPID_LEN              32
#define BLE_ANCS_MAX_TITLE_LEN              32
#define BLE_ANCS_MAX_SUB_TITLE_LEN          32
#define BLE_ANCS_MAX_MESSAGE_LEN            512
#define BLE_ANCS_MAX_MESSAGE_SIZE_LEN       5
#define BLE_ANCS_MAX_DATE_LEN               18
#define BLE_ANCS_MAX_POS_ACTION_LABEL_LEN   8
#define BLE_ANCS_MAX_NEG_ACTION_LABEL_LEN   8
#define BLE_ANCS_MAX_APP_NAME_LEN           16

Description

Defines maximum lengths of various decoded attributes.

Macro Definition

MacroDescription
BLE_ANCS_MAX_PACKET_BUFFER_SIZEMaximum buffer size for reassembled packets.
BLE_ANCS_MAX_APPID_LENMaximum length of App Identifier.
BLE_ANCS_MAX_TITLE_LENMaximum length of Title.
BLE_ANCS_MAX_SUB_TITLE_LENMaximum length of Subtitle.
BLE_ANCS_MAX_MESSAGE_LENMaximum length of Message.
BLE_ANCS_MAX_MESSAGE_SIZE_LENMaximum length of Message Size.
BLE_ANCS_MAX_DATE_LENMaximum length of Date.
BLE_ANCS_MAX_POS_ACTION_LABEL_LENMaximum length of Positive Action Label.
BLE_ANCS_MAX_NEG_ACTION_LABEL_LENMaximum length of Negative Action Label.
BLE_ANCS_MAX_APP_NAME_LENMaximum length of Application Name.