TI BLE5-Stack API Documentation  9.14.00
Macros
GAP Advertisement Data Types

Macros

#define GAP_ADTYPE_128BIT_COMPLETE   0x07
 Service: Complete list of 128-bit UUIDs. More...
 
#define GAP_ADTYPE_128BIT_MORE   0x06
 Service: More 128-bit UUIDs available. More...
 
#define GAP_ADTYPE_16BIT_COMPLETE   0x03
 Service: Complete list of 16-bit UUIDs. More...
 
#define GAP_ADTYPE_16BIT_MORE   0x02
 Service: More 16-bit UUIDs available. More...
 
#define GAP_ADTYPE_32BIT_COMPLETE   0x05
 Service: Complete list of 32-bit UUIDs. More...
 
#define GAP_ADTYPE_32BIT_MORE   0x04
 Service: More 32-bit UUIDs available. More...
 
#define GAP_ADTYPE_3D_INFO_DATA   0x3D
 3D Information Data More...
 
#define GAP_ADTYPE_ADV_INTERVAL   0x1A
 Advertising Interval. More...
 
#define GAP_ADTYPE_APPEARANCE   0x19
 Appearance. More...
 
#define GAP_ADTYPE_FLAGS   0x01
 Gap Advertising Flags. More...
 
#define GAP_ADTYPE_FLAGS_BREDR_NOT_SUPPORTED   0x04
 Discovery Mode: BR/EDR Not Supported. More...
 
#define GAP_ADTYPE_FLAGS_GENERAL   0x02
 Discovery Mode: LE General Discoverable Mode. More...
 
#define GAP_ADTYPE_FLAGS_LIMITED   0x01
 Discovery Mode: LE Limited Discoverable Mode. More...
 
#define GAP_ADTYPE_LE_BD_ADDR   0x1B
 LE Bluetooth Device Address. More...
 
#define GAP_ADTYPE_LE_ROLE   0x1C
 LE Role. More...
 
#define GAP_ADTYPE_LOCAL_NAME_COMPLETE   0x09
 Complete local name. More...
 
#define GAP_ADTYPE_LOCAL_NAME_SHORT   0x08
 Shortened local name. More...
 
#define GAP_ADTYPE_MANUFACTURER_SPECIFIC   0xFF
 
#define GAP_ADTYPE_OOB_CLASS_OF_DEVICE   0x0D
 Simple Pairing OOB Tag: Class of device (3 octets) More...
 
#define GAP_ADTYPE_OOB_SIMPLE_PAIRING_HASHC   0x0E
 Simple Pairing OOB Tag: Simple Pairing Hash C (16 octets) More...
 
#define GAP_ADTYPE_OOB_SIMPLE_PAIRING_RANDR   0x0F
 Simple Pairing OOB Tag: Simple Pairing Randomizer R (16 octets) More...
 
#define GAP_ADTYPE_PERIPHERAL_CONN_INTERVAL_RANGE   0x12
 
#define GAP_ADTYPE_POWER_LEVEL   0x0A
 TX Power Level: 0xXX: -127 to +127 dBm. More...
 
#define GAP_ADTYPE_PUBLIC_TARGET_ADDR   0x17
 Public Target Address. More...
 
#define GAP_ADTYPE_RANDOM_TARGET_ADDR   0x18
 Random Target Address. More...
 
#define GAP_ADTYPE_SERVICE_DATA   0x16
 Service Data - 16-bit UUID. More...
 
#define GAP_ADTYPE_SERVICE_DATA_128BIT   0x21
 Service Data - 128-bit UUID. More...
 
#define GAP_ADTYPE_SERVICE_DATA_32BIT   0x20
 Service Data - 32-bit UUID. More...
 
#define GAP_ADTYPE_SERVICES_LIST_128BIT   0x15
 Service Solicitation: list of 128-bit Service UUIDs. More...
 
#define GAP_ADTYPE_SERVICES_LIST_16BIT   0x14
 Service Solicitation: list of 16-bit Service UUIDs. More...
 
#define GAP_ADTYPE_SIGNED_DATA   0x13
 Signed Data field. More...
 
#define GAP_ADTYPE_SIMPLE_PAIRING_HASHC_256   0x1D
 Simple Pairing Hash C-256. More...
 
#define GAP_ADTYPE_SIMPLE_PAIRING_RANDR_256   0x1E
 Simple Pairing Randomizer R-256. More...
 
#define GAP_ADTYPE_SM_OOB_FLAG   0x11
 Security Manager OOB Flags. More...
 
#define GAP_ADTYPE_SM_TK   0x10
 Security Manager TK Value. More...
 

Detailed Description

These are the data type identifiers for the data tokens in the advertisement data field.

Macro Definition Documentation

§ GAP_ADTYPE_128BIT_COMPLETE

#define GAP_ADTYPE_128BIT_COMPLETE   0x07

Service: Complete list of 128-bit UUIDs.

§ GAP_ADTYPE_128BIT_MORE

#define GAP_ADTYPE_128BIT_MORE   0x06

Service: More 128-bit UUIDs available.

§ GAP_ADTYPE_16BIT_COMPLETE

#define GAP_ADTYPE_16BIT_COMPLETE   0x03

Service: Complete list of 16-bit UUIDs.

§ GAP_ADTYPE_16BIT_MORE

#define GAP_ADTYPE_16BIT_MORE   0x02

Service: More 16-bit UUIDs available.

§ GAP_ADTYPE_32BIT_COMPLETE

#define GAP_ADTYPE_32BIT_COMPLETE   0x05

Service: Complete list of 32-bit UUIDs.

§ GAP_ADTYPE_32BIT_MORE

#define GAP_ADTYPE_32BIT_MORE   0x04

Service: More 32-bit UUIDs available.

§ GAP_ADTYPE_3D_INFO_DATA

#define GAP_ADTYPE_3D_INFO_DATA   0x3D

3D Information Data

§ GAP_ADTYPE_ADV_INTERVAL

#define GAP_ADTYPE_ADV_INTERVAL   0x1A

Advertising Interval.

§ GAP_ADTYPE_APPEARANCE

#define GAP_ADTYPE_APPEARANCE   0x19

Appearance.

§ GAP_ADTYPE_FLAGS

#define GAP_ADTYPE_FLAGS   0x01

Gap Advertising Flags.

§ GAP_ADTYPE_FLAGS_BREDR_NOT_SUPPORTED

#define GAP_ADTYPE_FLAGS_BREDR_NOT_SUPPORTED   0x04

Discovery Mode: BR/EDR Not Supported.

§ GAP_ADTYPE_FLAGS_GENERAL

#define GAP_ADTYPE_FLAGS_GENERAL   0x02

Discovery Mode: LE General Discoverable Mode.

§ GAP_ADTYPE_FLAGS_LIMITED

#define GAP_ADTYPE_FLAGS_LIMITED   0x01

Discovery Mode: LE Limited Discoverable Mode.

§ GAP_ADTYPE_LE_BD_ADDR

#define GAP_ADTYPE_LE_BD_ADDR   0x1B

LE Bluetooth Device Address.

§ GAP_ADTYPE_LE_ROLE

#define GAP_ADTYPE_LE_ROLE   0x1C

LE Role.

§ GAP_ADTYPE_LOCAL_NAME_COMPLETE

#define GAP_ADTYPE_LOCAL_NAME_COMPLETE   0x09

Complete local name.

§ GAP_ADTYPE_LOCAL_NAME_SHORT

#define GAP_ADTYPE_LOCAL_NAME_SHORT   0x08

Shortened local name.

§ GAP_ADTYPE_MANUFACTURER_SPECIFIC

#define GAP_ADTYPE_MANUFACTURER_SPECIFIC   0xFF

Manufacturer Specific Data: first 2 octets contain the Company Identifier Code followed by the additional manufacturer specific data

§ GAP_ADTYPE_OOB_CLASS_OF_DEVICE

#define GAP_ADTYPE_OOB_CLASS_OF_DEVICE   0x0D

Simple Pairing OOB Tag: Class of device (3 octets)

§ GAP_ADTYPE_OOB_SIMPLE_PAIRING_HASHC

#define GAP_ADTYPE_OOB_SIMPLE_PAIRING_HASHC   0x0E

Simple Pairing OOB Tag: Simple Pairing Hash C (16 octets)

§ GAP_ADTYPE_OOB_SIMPLE_PAIRING_RANDR

#define GAP_ADTYPE_OOB_SIMPLE_PAIRING_RANDR   0x0F

Simple Pairing OOB Tag: Simple Pairing Randomizer R (16 octets)

§ GAP_ADTYPE_PERIPHERAL_CONN_INTERVAL_RANGE

#define GAP_ADTYPE_PERIPHERAL_CONN_INTERVAL_RANGE   0x12

Min and Max values of the connection interval (2 octets Min, 2 octets Max) (0xFFFF indicates no conn interval min or max)

§ GAP_ADTYPE_POWER_LEVEL

#define GAP_ADTYPE_POWER_LEVEL   0x0A

TX Power Level: 0xXX: -127 to +127 dBm.

§ GAP_ADTYPE_PUBLIC_TARGET_ADDR

#define GAP_ADTYPE_PUBLIC_TARGET_ADDR   0x17

Public Target Address.

§ GAP_ADTYPE_RANDOM_TARGET_ADDR

#define GAP_ADTYPE_RANDOM_TARGET_ADDR   0x18

Random Target Address.

§ GAP_ADTYPE_SERVICE_DATA

#define GAP_ADTYPE_SERVICE_DATA   0x16

Service Data - 16-bit UUID.

§ GAP_ADTYPE_SERVICE_DATA_128BIT

#define GAP_ADTYPE_SERVICE_DATA_128BIT   0x21

Service Data - 128-bit UUID.

§ GAP_ADTYPE_SERVICE_DATA_32BIT

#define GAP_ADTYPE_SERVICE_DATA_32BIT   0x20

Service Data - 32-bit UUID.

§ GAP_ADTYPE_SERVICES_LIST_128BIT

#define GAP_ADTYPE_SERVICES_LIST_128BIT   0x15

Service Solicitation: list of 128-bit Service UUIDs.

§ GAP_ADTYPE_SERVICES_LIST_16BIT

#define GAP_ADTYPE_SERVICES_LIST_16BIT   0x14

Service Solicitation: list of 16-bit Service UUIDs.

§ GAP_ADTYPE_SIGNED_DATA

#define GAP_ADTYPE_SIGNED_DATA   0x13

Signed Data field.

§ GAP_ADTYPE_SIMPLE_PAIRING_HASHC_256

#define GAP_ADTYPE_SIMPLE_PAIRING_HASHC_256   0x1D

Simple Pairing Hash C-256.

§ GAP_ADTYPE_SIMPLE_PAIRING_RANDR_256

#define GAP_ADTYPE_SIMPLE_PAIRING_RANDR_256   0x1E

Simple Pairing Randomizer R-256.

§ GAP_ADTYPE_SM_OOB_FLAG

#define GAP_ADTYPE_SM_OOB_FLAG   0x11

Security Manager OOB Flags.

§ GAP_ADTYPE_SM_TK

#define GAP_ADTYPE_SM_TK   0x10

Security Manager TK Value.

© Copyright 1995-2025, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale