Bluetooth LE (BLE)

BleAdvertisingDataType

The following are the valid values for BleAdvertisingDataType. In many cases you won't need to use the directly as you can use methods like serviceUUID in the BleAdvertisingData to set both the type and data automatically.

You would typically use these constants like this: BleAdvertisingDataType::FLAGS.

You normally don't need to include BleAdvertisingDataType::FLAGS, however. If you do not include it, one will be inserted automatically.

Similarly, you typically use appendCustomData() instead of directly using MANUFACTURER_SPECIFIC_DATA. The appendLocalName() and appendServiceUUID() functions of the BleAdvertisingData also set the appropriate advertising data type.

  • FLAGS
  • SERVICE_UUID_16BIT_MORE_AVAILABLE
  • SERVICE_UUID_16BIT_COMPLETE
  • SERVICE_UUID_32BIT_MORE_AVAILABLE
  • SERVICE_UUID_32BIT_COMPLETE
  • SERVICE_UUID_128BIT_MORE_AVAILABLE
  • SERVICE_UUID_128BIT_COMPLETE
  • SHORT_LOCAL_NAME
  • COMPLETE_LOCAL_NAME
  • TX_POWER_LEVEL
  • CLASS_OF_DEVICE
  • SIMPLE_PAIRING_HASH_C
  • SIMPLE_PAIRING_RANDOMIZER_R
  • SECURITY_MANAGER_TK_VALUE
  • SECURITY_MANAGER_OOB_FLAGS
  • SLAVE_CONNECTION_INTERVAL_RANGE
  • SOLICITED_SERVICE_UUIDS_16BIT
  • SOLICITED_SERVICE_UUIDS_128BIT
  • SERVICE_DATA
  • PUBLIC_TARGET_ADDRESS
  • RANDOM_TARGET_ADDRESS
  • APPEARANCE
  • ADVERTISING_INTERVAL
  • LE_BLUETOOTH_DEVICE_ADDRESS
  • SIMPLE_PAIRING_HASH_C256
  • SIMPLE_PAIRING_RANDOMIZER_R256
  • SERVICE_SOLICITATION_32BIT_UUID
  • SERVICE_DATA_32BIT_UUID
  • SERVICE_DATA_128BIT_UUID
  • LESC_CONFIRMATION_VALUE
  • LESC_RANDOM_VALUE
  • INDOOR_POSITIONING
  • TRANSPORT_DISCOVERY_DATA
  • LE_SUPPORTED_FEATURES
  • CHANNEL_MAP_UPDATE_INDICATION
  • PB_ADV
  • MESH_MESSAGE
  • MESH_BEACON
  • THREE_D_INFORMATION_DATA
  • MANUFACTURER_SPECIFIC_DATA