> For the complete documentation index, see [llms.txt](https://docs.medcrypt.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.medcrypt.com/ko/guardian/api-overview/api-reference/classes/structmedcrypt-guardian-provisioningoptions.md).

# medcrypt::guardian::ProvisioningOptions

다음에서 사용하는 옵션 [Guardian::StartProvisioningOnline](/ko/guardian/api-overview/api-reference/classes/classmedcrypt-guardian-guardian.md#function-startprovisioningonline).

`#include <GuardianProvisioningOptions.h>`

## 공개 함수

|   | 이름                                                            |
| - | ------------------------------------------------------------- |
|   | [**\~ProvisioningOptions**](#function-~provisioningoptions)() |

## 공개 멤버 변수

|                                      | 이름                                                                                                        |
| ------------------------------------ | --------------------------------------------------------------------------------------------------------- |
| std::chrono::system\_clock::duration | <p><a href="#variable-connection_timeout"><strong>connection\_timeout</strong></a><br>초기 연결 제한 시간입니다.</p> |
| std::chrono::system\_clock::duration | <p><a href="#variable-response_timeout"><strong>response\_timeout</strong></a><br>서버 응답을 기다리는 시간입니다.</p>  |
| std::chrono::system\_clock::duration | <p><a href="#variable-packet_resend"><strong>packet\_resend</strong></a><br>서버 폴링 간격입니다.</p>              |

## 공개 함수 문서

### 함수 \~ProvisioningOptions

```cpp
~ProvisioningOptions()
```

## 공개 멤버 변수 문서

### 변수 connection\_timeout

```cpp
std::chrono::system_clock::duration connection_timeout = std::chrono::seconds(10);
```

초기 연결 제한 시간입니다.

connection\_timeout 내에 연결이 완료되지 않으면 온라인 프로비저닝 프로세스가 실패합니다.

### 변수 response\_timeout

```cpp
std::chrono::system_clock::duration response_timeout = std::chrono::seconds(10);
```

서버 응답을 기다리는 시간입니다.

response\_timeout 내에 서버가 어떤 상태도 응답하지 않으면 온라인 프로비저닝 프로세스가 실패합니다.

### 변수 packet\_resend

```cpp
std::chrono::system_clock::duration packet_resend = std::chrono::seconds(10);
```

서버 폴링 간격입니다.

서버가 실패를 나타내지 않는 상태를 응답한 경우, 마지막 요청을 보낸 시점부터 packet\_resend가 경과할 때까지 다음 폴링 요청을 보내지 않습니다.

예: packet\_resend가 10초이고 서버가 최초 요청을 보낸 후 5초 뒤에 응답하면, 다음 요청은 약 5초 후에 전송됩니다.

## 디버깅 및 로깅

Guardian은 로그 파일을 생성하지 않습니다. 대신 로깅은 애플리케이션에서 제어합니다.

* Guardian은 로그를 다음으로 출력합니다: `stdout` 및 `stderr`이러한 로그는 실행 중인 애플리케이션의 터미널/CLI에 표시됩니다. 출력에서 특정 오류 코드나 연결 실패를 확인하세요.
* **사용자 지정 로깅:** 다음을 사용하여 `SetLoggingCallback` 로그 메시지를 콜백 함수로 리디렉션할 수 있습니다. 이렇게 하면 터미널 출력이 중단되고 사용자 지정 로그 처리가 가능해집니다.
* **로그 제어:** 애플리케이션에서 로그 수준과 상세도를 제어할 수 있습니다.
* **Guardian Cloud UI**: Guardian Cloud 인터페이스에서 추가 오류 세부 정보와 프로비저닝 상태를 확인하세요.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.medcrypt.com/ko/guardian/api-overview/api-reference/classes/structmedcrypt-guardian-provisioningoptions.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
