12.19 Advertising Data Structure

The advertising data structure parameter sets the significant part of the advertising data and is only valid for AD_Type values. The general format of this data in the IS187x device memory follows the structure available in the Bluetooth specification. For more details on the expected format, see the following table. If the unsupported AD_Type values are programmed or the user does not follow the format of the data structure, there is a possibility for undefined device operation. For more details, refer to the Bluetooth Core Specification (4.2).

Table 12-55. Advertising Data Structure Parameter Table
ParameterValueParameter DescriptionLength
0x8A0xXXThis represents the total length of the significant part of the advertising data.1 byte
0x8B... 0xAF0xXX

The data follows the format of the following Cstyle data structure.

struct adv_struct
{
uint8_t Length;
uint8_t AD_Type;
uint8_t AD_Data[];
};
The user can have multiple adv_structs to support more than one AD_Type in the advertising packet. The total number of bytes for all adv_structs cannot exceed 31 bytes.
31 bytes

The user does not have to program all 31 bytes of advertising data. However, the unused memory space must be set to 0x00. This unused part of memory is referred to as the non-significant part of the advertising data. For more details, refer to the Bluetooth Core Specification (4.2), volume 3, part C, section 11.

For AD_Type of complete local name, the value of the string programmed into the AD_Data member must match the value programmed into the name fragment parameter. For more details, refer to Name Fragment .

Operational Mode:

Use the advertising data structure parameter in both Manual and Auto Operation mode. In Manual Operation mode, the user can override the values programmed by the host MCU by using the appropriate command from the command set protocol. This means in Manual Operation mode; the host MCU can update the type of advertising data being transmitted before advertising begins. In Auto Operation mode, only the available advertising data is transmitted in this advertising data structure parameter.