BLE_API v2.1.3

Macros | Typedefs
BLE Gap Data Type Formats
BLE GAP Definition

## Macros
#define | GAP_AD_TYPE_FLAGS 0x01
#define | GAP_AD_TYPE_SERVICE_MORE_16B_UUID 0x02
#define | GAP_AD_TYPE_SERVICE_CPLT_16B_UUID 0x03
#define | GAP_AD_TYPE_SERVICE_MORE_32B_UUID 0x04
#define | GAP_AD_TYPE_SERVICE_CPLT_32B_UUID 0x05
#define | GAP_AD_TYPE_SERVICE_MORE_128B_UUID 0x06
#define | GAP_AD_TYPE_SERVICE_CPLT_128B_UUID 0x07
#define | GAP_AD_TYPE_LOCAL_NAME_SHORTENED 0x08
#define | GAP_AD_TYPE_LOCAL_NAME_COMPLETE 0x09
#define | GAP_AD_TYPE_TX_POWER_LEVEL 0x0A
#define | GAP_AD_TYPE_SIMPLE_PAIRING_OPT_OOB_CLASS_OF_DEVICE 0x0D
#define | GAP_AD_TYPE_SIMPLE_PAIRING_OPT_OOB_HASH_C 0x0E
#define | GAP_AD_TYPE_SIMPLE_PAIRING_OPT_OOB_RANDOMIZER_R 0x0F
#define | GAP_AD_TYPE_SECURITY_MANAGER_TK_VALUE 0x10
#define | GAP_AD_TYPE_SECURITY_MANAGER_OOB_FLAGS 0x11
#define | GAP_AD_TYPE_SLAVE_CONNECTION_INTERVAL_RANGE 0x12
#define | GAP_AD_TYPE_SERVICE_SOLICITATION_16B_UUID 0x14
#define | GAP_AD_TYPE_SERVICE_SOLICITATION_128B_UUID 0x15
#define | GAP_AD_TYPE_SERVICE_DATA 0x16
#define | GAP_AD_TYPE_PUBLIC_TARGET_ADDRESS 0x17
#define | GAP_AD_TYPE_RANDOM_TARGET_ADDRESS 0x18
#define | GAP_AD_TYPE_APPEARANCE 0x19
#define | GAP_AD_TYPE_ADVERTISING_INTERVAL 0x1A
#define | GAP_AD_TYPE_3D_INFORMATION_DATA 0x3D
#define | GAP_AD_TYPE_MANUFACTURER_SPECIFIC_DATA 0xFF

## Typedefs
typedef uint8_t | BLE_GAP_AD_TYPE

## Detailed Description

BLE Gap data type format.

## Macro Definition Documentation

## ◆ GAP_AD_TYPE_3D_INFORMATION_DATA

#define GAP_AD_TYPE_3D_INFORMATION_DATA 0x3D

3D information data.

## ◆ GAP_AD_TYPE_ADVERTISING_INTERVAL

#define GAP_AD_TYPE_ADVERTISING_INTERVAL 0x1A

Advertising interval.

## ◆ GAP_AD_TYPE_APPEARANCE

#define GAP_AD_TYPE_APPEARANCE 0x19

Appearance.

## ◆ GAP_AD_TYPE_FLAGS

#define GAP_AD_TYPE_FLAGS 0x01

Flags for discoverability.

## ◆ GAP_AD_TYPE_LOCAL_NAME_COMPLETE

#define GAP_AD_TYPE_LOCAL_NAME_COMPLETE 0x09

Complete local device name.

## ◆ GAP_AD_TYPE_LOCAL_NAME_SHORTENED

#define GAP_AD_TYPE_LOCAL_NAME_SHORTENED 0x08

Short local device name.

## ◆ GAP_AD_TYPE_MANUFACTURER_SPECIFIC_DATA

#define GAP_AD_TYPE_MANUFACTURER_SPECIFIC_DATA 0xFF

Manufacturer specific data.

## ◆ GAP_AD_TYPE_PUBLIC_TARGET_ADDRESS

#define GAP_AD_TYPE_PUBLIC_TARGET_ADDRESS 0x17

Public target address.

## ◆ GAP_AD_TYPE_RANDOM_TARGET_ADDRESS

#define GAP_AD_TYPE_RANDOM_TARGET_ADDRESS 0x18

Random target address.

## ◆ GAP_AD_TYPE_SECURITY_MANAGER_OOB_FLAGS

#define GAP_AD_TYPE_SECURITY_MANAGER_OOB_FLAGS 0x11

Security manager out of band flags.

## ◆ GAP_AD_TYPE_SECURITY_MANAGER_TK_VALUE

#define GAP_AD_TYPE_SECURITY_MANAGER_TK_VALUE 0x10

Security manager TK value.

## ◆ GAP_AD_TYPE_SERVICE_CPLT_128B_UUID

#define GAP_AD_TYPE_SERVICE_CPLT_128B_UUID 0x07

Complete list of 128 bit service UUIDs.

## ◆ GAP_AD_TYPE_SERVICE_CPLT_16B_UUID

#define GAP_AD_TYPE_SERVICE_CPLT_16B_UUID 0x03

Complete list of 16 bit service UUIDs.

## ◆ GAP_AD_TYPE_SERVICE_CPLT_32B_UUID

#define GAP_AD_TYPE_SERVICE_CPLT_32B_UUID 0x05

Complete list of 32 bit service UUIDs.

## ◆ GAP_AD_TYPE_SERVICE_DATA

#define GAP_AD_TYPE_SERVICE_DATA 0x16

Service sata - 16-bit UUID.

## ◆ GAP_AD_TYPE_SERVICE_MORE_128B_UUID

#define GAP_AD_TYPE_SERVICE_MORE_128B_UUID 0x06

Partial list of 128 bit service UUIDs.

## ◆ GAP_AD_TYPE_SERVICE_MORE_16B_UUID

#define GAP_AD_TYPE_SERVICE_MORE_16B_UUID 0x02

Partial list of 16 bit service UUIDs.

## ◆ GAP_AD_TYPE_SERVICE_MORE_32B_UUID

#define GAP_AD_TYPE_SERVICE_MORE_32B_UUID 0x04

Partial list of 32 bit service UUIDs.

## ◆ GAP_AD_TYPE_SERVICE_SOLICITATION_128B_UUID

#define GAP_AD_TYPE_SERVICE_SOLICITATION_128B_UUID 0x15

List of 128-bit service solicitation UUIDs.

## ◆ GAP_AD_TYPE_SERVICE_SOLICITATION_16B_UUID

#define GAP_AD_TYPE_SERVICE_SOLICITATION_16B_UUID 0x14

List of 16-bit service solicitation UUIDs.

## ◆ GAP_AD_TYPE_SIMPLE_PAIRING_OPT_OOB_CLASS_OF_DEVICE

#define GAP_AD_TYPE_SIMPLE_PAIRING_OPT_OOB_CLASS_OF_DEVICE 0x0D

Class of device.

## ◆ GAP_AD_TYPE_SIMPLE_PAIRING_OPT_OOB_HASH_C

#define GAP_AD_TYPE_SIMPLE_PAIRING_OPT_OOB_HASH_C 0x0E

Simple pairing hash C.

## ◆ GAP_AD_TYPE_SIMPLE_PAIRING_OPT_OOB_RANDOMIZER_R

#define GAP_AD_TYPE_SIMPLE_PAIRING_OPT_OOB_RANDOMIZER_R 0x0F

Simple pairing randomizer R.

## ◆ GAP_AD_TYPE_SLAVE_CONNECTION_INTERVAL_RANGE

#define GAP_AD_TYPE_SLAVE_CONNECTION_INTERVAL_RANGE 0x12

Slave connection interval range.

## ◆ GAP_AD_TYPE_TX_POWER_LEVEL

#define GAP_AD_TYPE_TX_POWER_LEVEL 0x0A

Transmit power level, 1byte : 0xXX:-127 to +127dBm