| S132 SoftDevice v3.0.0 |

Choose documentation: | nRF5 SDK | S130 SoftDevice API | S132 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Macros
GAP Advertising and Scan Response Data format
Defines

## Macros
#define | BLE_GAP_AD_TYPE_FLAGS 0x01
#define | BLE_GAP_AD_TYPE_16BIT_SERVICE_UUID_MORE_AVAILABLE 0x02
#define | BLE_GAP_AD_TYPE_16BIT_SERVICE_UUID_COMPLETE 0x03
#define | BLE_GAP_AD_TYPE_32BIT_SERVICE_UUID_MORE_AVAILABLE 0x04
#define | BLE_GAP_AD_TYPE_32BIT_SERVICE_UUID_COMPLETE 0x05
#define | BLE_GAP_AD_TYPE_128BIT_SERVICE_UUID_MORE_AVAILABLE 0x06
#define | BLE_GAP_AD_TYPE_128BIT_SERVICE_UUID_COMPLETE 0x07
#define | BLE_GAP_AD_TYPE_SHORT_LOCAL_NAME 0x08
#define | BLE_GAP_AD_TYPE_COMPLETE_LOCAL_NAME 0x09
#define | BLE_GAP_AD_TYPE_TX_POWER_LEVEL 0x0A
#define | BLE_GAP_AD_TYPE_CLASS_OF_DEVICE 0x0D
#define | BLE_GAP_AD_TYPE_SIMPLE_PAIRING_HASH_C 0x0E
#define | BLE_GAP_AD_TYPE_SIMPLE_PAIRING_RANDOMIZER_R 0x0F
#define | BLE_GAP_AD_TYPE_SECURITY_MANAGER_TK_VALUE 0x10
#define | BLE_GAP_AD_TYPE_SECURITY_MANAGER_OOB_FLAGS 0x11
#define | BLE_GAP_AD_TYPE_SLAVE_CONNECTION_INTERVAL_RANGE 0x12
#define | BLE_GAP_AD_TYPE_SOLICITED_SERVICE_UUIDS_16BIT 0x14
#define | BLE_GAP_AD_TYPE_SOLICITED_SERVICE_UUIDS_128BIT 0x15
#define | BLE_GAP_AD_TYPE_SERVICE_DATA 0x16
#define | BLE_GAP_AD_TYPE_PUBLIC_TARGET_ADDRESS 0x17
#define | BLE_GAP_AD_TYPE_RANDOM_TARGET_ADDRESS 0x18
#define | BLE_GAP_AD_TYPE_APPEARANCE 0x19
#define | BLE_GAP_AD_TYPE_ADVERTISING_INTERVAL 0x1A
#define | BLE_GAP_AD_TYPE_LE_BLUETOOTH_DEVICE_ADDRESS 0x1B
#define | BLE_GAP_AD_TYPE_LE_ROLE 0x1C
#define | BLE_GAP_AD_TYPE_SIMPLE_PAIRING_HASH_C256 0x1D
#define | BLE_GAP_AD_TYPE_SIMPLE_PAIRING_RANDOMIZER_R256 0x1E
#define | BLE_GAP_AD_TYPE_SERVICE_DATA_32BIT_UUID 0x20
#define | BLE_GAP_AD_TYPE_SERVICE_DATA_128BIT_UUID 0x21
#define | BLE_GAP_AD_TYPE_URI 0x24
#define | BLE_GAP_AD_TYPE_3D_INFORMATION_DATA 0x3D
#define | BLE_GAP_AD_TYPE_MANUFACTURER_SPECIFIC_DATA 0xFF

## Detailed Description

Note
  Found at https://www.bluetooth.org/Technical/AssignedNumbers/generic_access_profile.htm

## Macro Definition Documentation

#define BLE_GAP_AD_TYPE_128BIT_SERVICE_UUID_COMPLETE 0x07

Complete list of 128 bit service UUIDs.

#define BLE_GAP_AD_TYPE_128BIT_SERVICE_UUID_MORE_AVAILABLE 0x06

Partial list of 128 bit service UUIDs.

#define BLE_GAP_AD_TYPE_16BIT_SERVICE_UUID_COMPLETE 0x03

Complete list of 16 bit service UUIDs.

#define BLE_GAP_AD_TYPE_16BIT_SERVICE_UUID_MORE_AVAILABLE 0x02

Partial list of 16 bit service UUIDs.

#define BLE_GAP_AD_TYPE_32BIT_SERVICE_UUID_COMPLETE 0x05

Complete list of 32 bit service UUIDs.

#define BLE_GAP_AD_TYPE_32BIT_SERVICE_UUID_MORE_AVAILABLE 0x04

Partial list of 32 bit service UUIDs.

#define BLE_GAP_AD_TYPE_3D_INFORMATION_DATA 0x3D

3D Information Data.

#define BLE_GAP_AD_TYPE_ADVERTISING_INTERVAL 0x1A

Advertising Interval.

#define BLE_GAP_AD_TYPE_APPEARANCE 0x19

Appearance.

#define BLE_GAP_AD_TYPE_CLASS_OF_DEVICE 0x0D

Class of device.

#define BLE_GAP_AD_TYPE_COMPLETE_LOCAL_NAME 0x09

Complete local device name.

#define BLE_GAP_AD_TYPE_FLAGS 0x01

Flags for discoverability.

#define BLE_GAP_AD_TYPE_LE_BLUETOOTH_DEVICE_ADDRESS 0x1B

LE Bluetooth Device Address.

#define BLE_GAP_AD_TYPE_LE_ROLE 0x1C

LE Role.

#define BLE_GAP_AD_TYPE_MANUFACTURER_SPECIFIC_DATA 0xFF

Manufacturer Specific Data.

#define BLE_GAP_AD_TYPE_PUBLIC_TARGET_ADDRESS 0x17

Public Target Address.

#define BLE_GAP_AD_TYPE_RANDOM_TARGET_ADDRESS 0x18

Random Target Address.

#define BLE_GAP_AD_TYPE_SECURITY_MANAGER_OOB_FLAGS 0x11

Security Manager Out Of Band Flags.

#define BLE_GAP_AD_TYPE_SECURITY_MANAGER_TK_VALUE 0x10

Security Manager TK Value.

#define BLE_GAP_AD_TYPE_SERVICE_DATA 0x16

Service Data - 16-bit UUID.

#define BLE_GAP_AD_TYPE_SERVICE_DATA_128BIT_UUID 0x21

Service Data - 128-bit UUID.

#define BLE_GAP_AD_TYPE_SERVICE_DATA_32BIT_UUID 0x20

Service Data - 32-bit UUID.

#define BLE_GAP_AD_TYPE_SHORT_LOCAL_NAME 0x08

Short local device name.

#define BLE_GAP_AD_TYPE_SIMPLE_PAIRING_HASH_C 0x0E

Simple Pairing Hash C.

#define BLE_GAP_AD_TYPE_SIMPLE_PAIRING_HASH_C256 0x1D

Simple Pairing Hash C-256.

#define BLE_GAP_AD_TYPE_SIMPLE_PAIRING_RANDOMIZER_R 0x0F

Simple Pairing Randomizer R.

#define BLE_GAP_AD_TYPE_SIMPLE_PAIRING_RANDOMIZER_R256 0x1E

Simple Pairing Randomizer R-256.

#define BLE_GAP_AD_TYPE_SLAVE_CONNECTION_INTERVAL_RANGE 0x12

Slave Connection Interval Range.

#define BLE_GAP_AD_TYPE_SOLICITED_SERVICE_UUIDS_128BIT 0x15

List of 128-bit Service Solicitation UUIDs.

#define BLE_GAP_AD_TYPE_SOLICITED_SERVICE_UUIDS_16BIT 0x14

List of 16-bit Service Solicitation UUIDs.

#define BLE_GAP_AD_TYPE_TX_POWER_LEVEL 0x0A

Transmit power level.

#define BLE_GAP_AD_TYPE_URI 0x24

URI