# otTcatVendorInfo


`#include <openthread/tcat.h>`

This structure represents a TCAT vendor information.

## Summary

The content of this structure MUST persist and remain unchanged while a TCAT session is running.

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-tcat-vendor-info#structot_tcat_vendor_info_1ab8547fba5d9c426ace53d11bb0e0f64c` | `const https://openthread.io/reference/struct/ot-tcat-advertised-device-id *` Vendor managed advertised device ID array. |
| `https://openthread.io/reference/struct/ot-tcat-vendor-info#structot_tcat_vendor_info_1a2f8d5da6bf350b9b37e3bd32d79b91a9[4]` | `bool` Array with boolean values indicating if the service is of TCP type (otherwise UDP). |
| `https://openthread.io/reference/struct/ot-tcat-vendor-info#structot_tcat_vendor_info_1a8d66e77459ff2c29bae11f1cd31644c0[4]` | `const char *` Array with application service names as C string with maximum length OT_TCAT_SERVICE_NAME_MAX_LENGTH or NULL if not supported. |
| `https://openthread.io/reference/struct/ot-tcat-vendor-info#structot_tcat_vendor_info_1aa277a17fa8948acdebf9151e3b15c3e8` | `bool` Prevent activating advertising indefinitely after the TCAT command OT_TCAT_TLV_STOP_THREAD_INTERFACE or OT_TCAT_TLV_DECOMMISSION has been received. |
| `https://openthread.io/reference/struct/ot-tcat-vendor-info#structot_tcat_vendor_info_1ae8300d80b10f5c54b88c9774355a977c` | `const https://openthread.io/reference/struct/ot-tcat-general-device-id *` Vendor managed general device ID array (if NULL: device ID is set to EUI-64 in binary format) |
| `https://openthread.io/reference/struct/ot-tcat-vendor-info#structot_tcat_vendor_info_1afd54f0b259334f7b16afeafd31b00627` | `const char *` Vendor managed install code string. |
| `https://openthread.io/reference/struct/ot-tcat-vendor-info#structot_tcat_vendor_info_1a42f94b7c29eaa6a25a78f957ab60ee87` | `bool` Continue advertising after thread interface has joined a network. |
| `https://openthread.io/reference/struct/ot-tcat-vendor-info#structot_tcat_vendor_info_1a89e54930d6d0143891e7b9e19530aeec` | `const char *` Provisioning URL path string. |
| `https://openthread.io/reference/struct/ot-tcat-vendor-info#structot_tcat_vendor_info_1abadb5e8a1b4e2b80cc572b73710db0be` | `const char *` Vendor managed pre-shared key for device. |
| `https://openthread.io/reference/struct/ot-tcat-vendor-info#structot_tcat_vendor_info_1aeb67e7b65800125e1380fb6188168d38` | `https://openthread.io/reference/group/api-ble-secure#group__api-ble-secure_1ga147f247601d1ce0bba64cfb9d8fffab7` Optional pointer to a function to control TCAT TLV support. |
| `https://openthread.io/reference/struct/ot-tcat-vendor-info#structot_tcat_vendor_info_1a8553c6837ad63eec60d30a1eed766a91` | `const char *` Vendor specific data string. |
| `https://openthread.io/reference/struct/ot-tcat-vendor-info#structot_tcat_vendor_info_1adb2b74789d9c5eb6a38f4f5654bc88d4` | `const char *` Vendor model string. |
| `https://openthread.io/reference/struct/ot-tcat-vendor-info#structot_tcat_vendor_info_1ab6206e1c5b931aaacd6b41548cac4f4c` | `const char *` Vendor name string. |
| `https://openthread.io/reference/struct/ot-tcat-vendor-info#structot_tcat_vendor_info_1a631274679dac60e914ae889a8523e5b7` | `const char *` Vendor software version string. |

## Public attributes

### mAdvertisedDeviceIds

```
const otTcatAdvertisedDeviceId * otTcatVendorInfo::mAdvertisedDeviceIds
```
Vendor managed advertised device ID array.

Array is terminated like C string with OT_TCAT_DEVICE_ID_EMPTY.

### mApplicationServiceIsTcp

```
bool otTcatVendorInfo::mApplicationServiceIsTcp[4]
```
Array with boolean values indicating if the service is of TCP type (otherwise UDP).

### mApplicationServiceName

```
const char * otTcatVendorInfo::mApplicationServiceName[4]
```
Array with application service names as C string with maximum length OT_TCAT_SERVICE_NAME_MAX_LENGTH or NULL if not supported.

### mDoNotActivateAfterLeaving

```
bool otTcatVendorInfo::mDoNotActivateAfterLeaving
```
Prevent activating advertising indefinitely after the TCAT command OT_TCAT_TLV_STOP_THREAD_INTERFACE or OT_TCAT_TLV_DECOMMISSION has been received.

### mGeneralDeviceId

```
const otTcatGeneralDeviceId * otTcatVendorInfo::mGeneralDeviceId
```
Vendor managed general device ID array (if NULL: device ID is set to EUI-64 in binary format)

### mInstallCode

```
const char * otTcatVendorInfo::mInstallCode
```
Vendor managed install code string.

### mKeepActiveAfterJoining

```
bool otTcatVendorInfo::mKeepActiveAfterJoining
```
Continue advertising after thread interface has joined a network.

### mProvisioningUrl

```
const char * otTcatVendorInfo::mProvisioningUrl
```
Provisioning URL path string.

### mPskdString

```
const char * otTcatVendorInfo::mPskdString
```
Vendor managed pre-shared key for device.

### mTlvSupportHandler

```
otHandleTcatTlvSupport otTcatVendorInfo::mTlvSupportHandler
```
Optional pointer to a function to control TCAT TLV support.

### mVendorData

```
const char * otTcatVendorInfo::mVendorData
```
Vendor specific data string.

### mVendorModel

```
const char * otTcatVendorInfo::mVendorModel
```
Vendor model string.

### mVendorName

```
const char * otTcatVendorInfo::mVendorName
```
Vendor name string.

### mVendorSwVersion

```
const char * otTcatVendorInfo::mVendorSwVersion
```
Vendor software version string.

## Resources

OpenThread API Reference topics originate from the source code, available
on [GitHub](https://github.com/openthread/openthread/tree/main/include/openthread).
For more information, or to contribute to our documentation, refer to
[Resources](https://openthread.io/resources).