> For the complete documentation index, see [llms.txt](https://portal-integracao.intelbras.com.br/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://portal-integracao.intelbras.com.br/mip-1000-ip/comunicacao/configurar-envio-de-eventos.md).

# Configurar Envio de Eventos

O comando configurar Envio de Eventos Protocol do MIP (EVC) é utilizado para realizar as operações de Update na configuração deste serviço do MIP 1000 IP. O valor para identificar o comando é `0x4E`. Esse comando é utilizado sempre que se deseja alterar ou buscar dados no MIP 1000 IP sobre as configurações de envio automático de eventos na rede.

Este comando é referente a conexão ativa e não uma função global. Não possui campo de dados. Por padrão o envio de eventos vem HABILITADO.

Para DESATIVAR o envio de eventos deve enviar este comando com a Flag de DESABILITADO: `0x00`;\
Para ATIVAR o envio de eventos deve enviar este comando com a Flag de URGENTE: `0x01`;

O MIP 1000 IP pode retornar todas as flags abaixo, mostrando se o comando foi efetivo ou não. O datagrama terá o tamanho padrão com as flags:

| Flag         | Descrição                                                    |
| ------------ | ------------------------------------------------------------ |
| SUCESSO      | Enviado caso a operação tenha sido realizada com sucesso.    |
| FALHA        | Sinaliza falha na execução da operação solicitada.           |
| ERRO\_CHKS   | Enviado se ocorreu um erro de CHKS na conferência dos dados. |
| COMANDO\_INV | Sinaliza o recebimento de um comando inválido, desconhecido. |


---

# 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://portal-integracao.intelbras.com.br/mip-1000-ip/comunicacao/configurar-envio-de-eventos.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.
