> For the complete documentation index, see [llms.txt](https://nviasoft.gitbook.io/nviasoft-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nviasoft.gitbook.io/nviasoft-docs/documentation/c/6.-ezgem.md).

# 6. EZGEM 구동 전 주요 속성 설정

{% stepper %}
{% step %}

### **m\_gem.Port**

Port를 설정합니다.                &#x20;
{% endstep %}

{% step %}

### m\_gem.DeviceID

DeviceID를 설정합니다.&#x20;
{% endstep %}

{% step %}

### m\_gem.T3/T5/T7/T8

TimeOut시간을 설정합니다.
{% endstep %}

{% step %}

### m\_gem.LinkTestInterval

LinkTest 시간을 설정합니다.
{% endstep %}

{% step %}

### m\_gem.PassiveMode

통신 모드를 설정합니다.
{% endstep %}

{% step %}

### m\_gem.CommRequest

구동시 HOST에게 연결 요청을 보내기까지의 시간을 설정합니다.
{% endstep %}

{% step %}

### m\_gem.RetryCount

보낸 메시지의 응답이 오지 않을시 몇 번 재시도할지 설정합니다.
{% endstep %}
{% endstepper %}

{% hint style="info" %}
만약 장비를 Server가 아닌 Client로 사용해야 한다면 m\_gem.PassiveMode = 0 , m\_Gem.SetIP()함수를 사용합니다.
{% endhint %}

```csharp
m_gem.Port = 8000;
m_gem.DeviceID = 0;
m_gem.T3 = 3;
m_gem.T5 = 5;
m_gem.T6 = 6;
m_gem.T7 = 7;
m_gem.T8 = 8;
m_gem.LinkTestInterval = 60;
m_gem.PassiveMode = 1;
m_gem.CommRequest = 1;
m_gem.RetryCount = 3;
```


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://nviasoft.gitbook.io/nviasoft-docs/documentation/c/6.-ezgem.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
