> 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/alarmes/9-comandar-amt-8000-receptor-ip.md).

# 9 Comandar AMT 8000 Receptor IP

## AMT 8000

### Definições gerais

* Este documento descrve o protocolo utilizado para comunicação entre APPs e centrais de alarme AMT 8000 conectadas ao Receptor IP.
* Para mais informações sobre o protocolo veja a aba "6 - Descrição IsecNet V2".
* Antes de enviar os comandos aqui descritos é necessário se conectar ao Receptor IP e enviar os comandos descritos na aba "3-Conectar a central via Rec IP".
* Os comandos abaixo estão decritos na aba atual:
  * Para iniciar é necessário se autenticar usando o comando descrito no item 3.1.
  * Depois disso os comandos descritos no itens itens 3.3 to 3.8 podem ser enviados de acordo com a necessidade.
  * Quando terminar de enviar os comandos desejados envie o comando descrito no item 3.2 para encerrar a seção.

Como a comunicação será realizada utilizando o Receptor IP, o frame ISECNet V2 é encapsulado em um frame ISECNet V1 utilizando o comando `0xE7` descrito na aba "3-Conectar a central via Rec IP" item 2.1.

Veja o exemplo abaixo:

| Número de bytes | Comando | Conteúdo                                                    | Checksum |
| --------------- | ------- | ----------------------------------------------------------- | -------- |
| 1 byte          | `0xE7`  | Frame ISECNet V2 descrito na aba "6 - Descrição IsecNet V2" | 1 byte   |

## Respostas de confirmação (ACK) e erros (NACK)

### Definições gerais

A lista de respostas descritas neste item se aplica a qualquer comando das sessões seguintes. Elas vão indicar se o comando enviado foi aceito pela central (ACK) ou se ocorreu algum erro (NACK).

### ANSWER — `F0 FE` — ACK answer

**Descrição:** Confirm that command was accepted.

|    | Num. Bytes ISECNet V1 | Comando ISECNet V1 | DST ID  | SRC ID  | Num. Bytes | Comando | Data | ChkSum | ChkSum ISECNet V1 |
| -- | --------------------- | ------------------ | ------- | ------- | ---------- | ------- | ---- | ------ | ----------------- |
| Tx | `0A`                  | `E7`               | `00 00` | `00 00` | `00 02`    | `F0 FE` | -    | `XX`   | `XX`              |

#### Bytes definition of "Data" field (Tx)

#### Fields description

#### Notes

#### Example 1

|    | Num. Bytes ISECNet V1 | Comando ISECNet V1 | DST ID  | SRC ID  | Num. Bytes | Comando | Data | ChkSum | ChkSum ISECNet V1 |
| -- | --------------------- | ------------------ | ------- | ------- | ---------- | ------- | ---- | ------ | ----------------- |
| Tx | `XX`                  | `E7`               | `00 00` | `00 00` | `00 02`    | `XX XX` | -    | `XX`   | `XX`              |
| Rx | `0A`                  | `E7`               | `00 00` | `00 00` | `00 02`    | `F0 FE` | -    | `F3`   | `ED`              |

**Pacote transmitido e recebido real**

|                    |                                       |
| ------------------ | ------------------------------------- |
| APP request        | `XX E7 00 00 00 00 00 02 XX XX XX XX` |
| Alarm panel answer | `0A E7 00 00 00 00 00 02 F0 FE F3 ED` |

### ANSWER — `F0 FD` — NACK error answer

**Descrição:** Inform that commands was not accepted and the error reason.

|    | Num. Bytes ISECNet V1 | Comando ISECNet V1 | DST ID  | SRC ID  | Num. Bytes | Comando | Data   | ChkSum | ChkSum ISECNet V1 |
| -- | --------------------- | ------------------ | ------- | ------- | ---------- | ------- | ------ | ------ | ----------------- |
| Tx | `0B`                  | `E7`               | `00 00` | `00 00` | `00 03`    | `F0 FD` | 1 byte | `XX`   | `XX`              |

#### Bytes definition of "Data" field (Tx)

| Byte 1   |
| -------- |
| `<Erro>` |

#### Fields description

| ERRO                                        | Código | Descrição erro |
| ------------------------------------------- | ------ | -------------- |
| MENSAGEM\_OK                                | `00`   |                |
| ERRO\_CHECKSUM                              | `01`   |                |
| ERRO\_NUMERO\_BYTES\_MENSAGEM               | `02`   |                |
| ERRO\_NUMERO\_BYTES\_PARAMETRO              | `03`   |                |
| ERRO\_PARAMETRO\_INEXISTENTE                | `04`   |                |
| ERRO\_INDICE\_PARAMETRO                     | `05`   |                |
| ERRO\_VALOR\_MAXIMO                         | `06`   |                |
| ERRO\_VALOR\_MINIMO                         | `07`   |                |
| ERRO\_QUANTIDADE\_CAMPOS                    | `08`   |                |
| ERRO\_NIBBLE\_0\_9                          | `09`   |                |
| ERRO\_NIBBLE\_1\_A                          | `0A`   |                |
| ERRO\_NIBBLE\_0\_F                          | `0B`   |                |
| ERRO\_NIBBLE\_1\_F\_EX\_B\_C                | `0C`   |                |
| ERRO\_ASCII                                 | `0D`   |                |
| ERRO\_29\_FEVEREIRO                         | `0E`   |                |
| ERRO\_DIA\_INVALIDO                         | `0F`   |                |
| ERRO\_MES\_INVALIDO                         | `10`   |                |
| ERRO\_ANO\_INVALIDO                         | `11`   |                |
| ERRO\_HORA\_INVALIDA                        | `12`   |                |
| ERRO\_MINUTO\_INVALIDO                      | `13`   |                |
| ERRO\_SEGUNDO\_INVALIDO                     | `14`   |                |
| ERRO\_TIPO\_DE\_COMANDO\_INVALIDO           | `15`   |                |
| ERRO\_TECLA\_ESPECIAL                       | `16`   |                |
| ERRO\_NUMERO\_DIGITOS                       | `17`   |                |
| ERRO\_NUMERO\_DIGITOS\_SENHA                | `18`   |                |
| ERRO\_SENHA\_INCORRETA                      | `19`   |                |
| ERRO\_PARTICAO\_INEXISTENTE                 | `1A`   |                |
| ERRO\_USUARIO\_SEM\_PERMISSAO\_NA\_PARTICAO | `1B`   |                |
| ERRO\_SEM\_PERMISSAO\_PROGRAMAR             | `1C`   |                |
| ERRO\_BUFFER\_RECEPCAO\_CHEIO               | `1D`   |                |
| ERRO\_SEM\_PERMISSAO\_DESARMAR              | `1E`   |                |
| ERRO\_NECESSARIA\_AUTENTICACAO              | `1F`   |                |
| ERRO\_PARTICAO\_SEM\_ZONAS\_HABILITADAS     | `20`   |                |
| ERRO\_SEM\_PERMISSAO\_PARA\_O\_COMANDO      | `21`   |                |
| ERRO\_USUARIO\_SEM\_PARTICOES\_DEFINIDAS    | `22`   |                |
| ERRO\_EVENTO\_SEM\_FOTO\_ASSOCIADA          | `23`   |                |
| ERRO\_INDICE\_FOTO\_INVALIDO                | `24`   |                |
| ERRO\_FRAGMENTO\_FOTO\_INVALIDO             | `25`   |                |
| ERRO\_SISTEMA\_NAO\_PARTICIONADO            | `26`   |                |
| ERRO\_ZONAS\_ABERTAS                        | `27`   |                |
| ERRO\_GRAVANDO\_FOTO                        | `28`   |                |
| ERRO\_ACESSO\_MOBILE\_DESABILITADO          | `29`   |                |
| ERRO\_OPERACAO\_NAO\_PERMITIDA              | `2A`   |                |
| ERRO\_MEM\_RF\_VAZIA                        | `2B`   |                |
| ERRO\_MEM\_RF\_OCUPADA                      | `2C`   |                |
| ERRO\_SENHA\_REPETIDA                       | `2D`   |                |
| ERRO\_FALHA\_ATIVACAO\_DESATIVACAO          | `2E`   |                |
| ERRO\_SEM\_PERMISSAO\_ARME\_STAY            | `2F`   |                |
| ERRO\_DESATIVE\_A\_CENTRAL                  | `30`   |                |
| ERRO\_RESET\_BLOQUEADO                      | `31`   |                |
| ERRO\_TECLADO\_BLOQUEADO                    | `32`   |                |
| ERRO\_RECEBIMENTO\_FOTO\_FALHOU             | `33`   |                |
| ERRO\_NAO\_CONECTADO\_AO\_SERVIDOR          | `34`   |                |
| ERRO\_TECLADO\_SEM\_PERMISSAO               | `35`   |                |
| ERRO\_PARTICAO\_SEM\_ZONAS\_STAY            | `36`   |                |
| ERRO\_SEM\_PERNISSAO\_BYPASS                | `37`   |                |
| ERRO\_FIRMWARE\_CORROMPIDO                  | `38`   |                |
| ERRO\_FALHA\_DOWNLOAD\_FIRMWARE             | `39`   |                |
| ERRO\_FIRMWARE\_ATUALIZADO                  | `3A`   |                |
| ERRO\_ETH\_WIFI\_NAO\_CONECTADO             | `3B`   |                |
| SUCESSO\_NO\_DOWNLOAD                       | `3C`   |                |
| OPERACAO\_CANCELADA                         | `3D`   |                |
| MSG\_ERRO\_COMANDO\_INVALIDO                | `3E`   |                |
| ERRO\_CENTRAL\_SEM\_ZONAS\_HABILITADAS      | `3F`   |                |
| ERRO\_FECHADURA\_NAO\_CADASTRADA            | `40`   |                |
| ERRO\_EXP\_PGM\_NAO\_CADASTRADO             | `41`   |                |
| ERRO\_DOWNLOAD\_EM\_ANDAMENTO               | `42`   |                |
| ERRO\_DOWNLOAD\_NAO\_INICIADO               | `43`   |                |
| ERRO\_PGM\_NAO\_ACESSIVEL                   | `44`   |                |
| ERRO\_NUVEM\_2018\_NAO\_PERMITIDA           | `45`   |                |
| ERRO\_ERRO\_DISP\_SEM\_TAMPER\_DIGITAL      | `46`   |                |
| ERRO\_DISP\_NAO\_SUPORTA\_BUSCA\_ROTA       | `47`   |                |
| ERRO\_COMANDO\_INVALIDO = 0xFE              | `FE`   |                |

#### Notes

#### Example 1 — Send error messagem "COMANDO\_INVALIDO"

|    | Num. Bytes ISECNet V1 | Comando ISECNet V1 | DST ID  | SRC ID  | Num. Bytes | Comando | Data | ChkSum | ChkSum ISECNet V1 |
| -- | --------------------- | ------------------ | ------- | ------- | ---------- | ------- | ---- | ------ | ----------------- |
| Tx | `XX`                  | `E7`               | `00 00` | `00 00` | `00 02`    | `XX XX` | `XX` | `XX`   |                   |
| Rx | `0B`                  | `E7`               | `00 00` | `00 00` | `00 03`    | `F0 FD` | `FE` | `0F`   | `EC`              |

**Pacote transmitido e recebido real**

|                    |                                          |
| ------------------ | ---------------------------------------- |
| APP request        | `XX E7 00 00 00 00 00 02 XX XX XX XX`    |
| Alarm panel answer | `0B E7 00 00 00 00 00 03 F0 FD FE 0F EC` |

## Remote operation

{% stepper %}
{% step %}

## Authenticate — `F0 F0`

**EXECUTE-COMMAND — AUTENTICA\_CONEXAO\_REMOTA**

**Description:** Prior to send commands to control alarm panel or read write alarm panel settings it is necessary to authenticate the connection.

|    | Num. Bytes ISECNet V1 | Comando ISECNet V1 | DST ID  | SRC ID  | Num. Bytes | Comando | Data                              | ChkSum | ChkSum ISECNet V1 |
| -- | --------------------- | ------------------ | ------- | ------- | ---------- | ------- | --------------------------------- | ------ | ----------------- |
| Tx | `13`                  | `E7`               | `00 00` | `00 00` | `00 0B`    | `F0 F0` | Minimum 9 Bytes - Maximum 9 Bytes | `XX`   | `XX`              |
| Rx | `0B`                  | `E7`               | `00 00` | `00 00` | `00 03`    | `F0 F0` | 1 Byte                            | `XX`   | `XX`              |

### Bytes definition of "Data" field (Tx)

| Byte 1          | Byte 2 to byte 7 | Byte 8 and byte 9    |
| --------------- | ---------------- | -------------------- |
| `<Device type>` | `<Password>`     | `<Software Version>` |

### Fields description

`<Device type>`

* `00` = N/A
* `01` = Remote programming software
* `02` = Monitoring software
* `03` = Mobile APP
* `04` = Clone Account

`<Password>` — With 4 or 6 digits depending on alarm panel configuration, each byte represents one digit. Digit `0x0` must be sent as `0x0A`.

If password has only 4 digits, the other digits must be sent as `0x00`.

`<Software Version>` — always `00 00`.

### Bytes definition of "Data" field (Rx)

| Byte 1     |
| ---------- |
| `<Answer>` |

### Fields description

`<Answer>`

* `00` = Connection accepted
* `01` = Incorrect password
* `02` = Incorrect software version
* `03` = Alarm panel will call back
* `04` = Waiting for user permission

### Notes

### Example 1 — Programing Software 0001 sends 123456 password and 1.0 software version and alarm panel reply that password is incorrect

|    | Num. Bytes ISECNet V1 | Comando ISECNet V1 | DST ID  | SRC ID  | Num. Bytes | Comando | Data                         | ChkSum | ChkSum ISECNet V1 |
| -- | --------------------- | ------------------ | ------- | ------- | ---------- | ------- | ---------------------------- | ------ | ----------------- |
| Tx | `13`                  | `E7`               | `00 00` | `00 00` | `00 0B`    | `F0 F0` | `01 01 02 03 04 05 06 00 00` | `F2`   | `F4`              |
| Rx | `0B`                  | `E7`               | `00 00` | `00 00` | `00 03`    | `F0 F0` | `01`                         | `FC`   | `FC`              |

**Pacote transmitido e recebido real**

|                    |                                                                  |
| ------------------ | ---------------------------------------------------------------- |
| APP request        | `13 E7 00 00 00 00 00 0B F0 F0 01 01 02 03 04 05 06 00 00 F2 F4` |
| Alarm panel answer | `0B E7 00 00 00 00 00 03 F0 F0 01 FC FC`                         |

### Example 1 — Mobile APP 0001 sends 0582 password and 1.0 software version and alarm panel reply connection accepted

|    | Num. Bytes ISECNet V1 | Comando ISECNet V1 | DST ID  | SRC ID  | Num. Bytes | Comando | Data                         | ChkSum | ChkSum ISECNet V1 |
| -- | --------------------- | ------------------ | ------- | ------- | ---------- | ------- | ---------------------------- | ------ | ----------------- |
| Tx | `13`                  | `E7`               | `00 00` | `00 00` | `00 0B`    | `F0 F0` | `03 0A 05 08 02 00 00 00 00` | `F2`   | `F4`              |
| Rx | `0B`                  | `E7`               | `00 00` | `00 00` | `00 03`    | `F0 F0` | `00`                         | `FD`   | `FD`              |

**Pacote transmitido e recebido real**

|                    |                                                                  |
| ------------------ | ---------------------------------------------------------------- |
| APP request        | `13 E7 00 00 00 00 00 0B F0 F0 03 0A 05 08 02 00 00 00 00 F2 F4` |
| Alarm panel answer | `0B E7 00 00 00 00 00 03 F0 F0 00 FD FD`                         |
| {% endstep %}      |                                                                  |

{% step %}

## Disconnect — `F0 F1`

**EXECUTE-COMMAND — DESCONECTAR\_DISPOSITIVO\_REMOTO**

**Description:** End connection with alarm panel.

|    | Num. Bytes ISECNet V1 | Comando ISECNet V1 | DST ID  | SRC ID  | Num. Bytes | Comando | Data | ChkSum | ChkSum ISECNet V1 |
| -- | --------------------- | ------------------ | ------- | ------- | ---------- | ------- | ---- | ------ | ----------------- |
| Tx | `0A`                  | `E7`               | `00 00` | `00 00` | `00 02`    | `F0 F1` | -    | `XX`   | `XX`              |
| Rx | `0A`                  | `E7`               | `00 00` | `00 00` | `00 02`    | `F0 FE` | -    | `XX`   | `XX`              |

### Example 1 — Programming software 8FFF disconnect from alarm panel

|    | Num. Bytes ISECNet V1 | Comando ISECNet V1 | DST ID  | SRC ID  | Num. Bytes | Comando | Data | ChkSum | ChkSum ISECNet V1 |
| -- | --------------------- | ------------------ | ------- | ------- | ---------- | ------- | ---- | ------ | ----------------- |
| Tx | `0A`                  | `E7`               | `00 00` | `00 00` | `00 02`    | `F0 F1` | -    | `FC`   | `ED`              |
| Rx | `0A`                  | `E7`               | `00 00` | `00 00` | `00 02`    | `F0 FE` | -    | `F3`   | `ED`              |

**Pacote transmitido e recebido real**

|                    |                                       |
| ------------------ | ------------------------------------- |
| APP request        | `0A E7 00 00 00 00 00 02 F0 F1 FC ED` |
| Alarm panel answer | `0A E7 00 00 00 00 00 02 F0 FE F3 ED` |
| {% endstep %}      |                                       |
| {% endstepper %}   |                                       |

### General System status — `0B 4A`

**SEND-COMMAND — STATUS\_COMPLETO\_CENTRAL\_ALARME**

|    | Num. Bytes ISECNet V1 | Comando ISECNet V1 | DST ID  | SRC ID  | Num. Bytes | Comando | Data      | ChkSum | ChkSum ISECNet V1 |
| -- | --------------------- | ------------------ | ------- | ------- | ---------- | ------- | --------- | ------ | ----------------- |
| Tx | `0A`                  | `E7`               | `00 00` | `00 00` | `00 02`    | `0B 4A` | -         | `BC`   | `ED`              |
| Rx | `99`                  | `E7`               | `00 00` | `00 00` | `00 91`    | `0B 4A` | 143 bytes | `XX`   | `XX`              |

#### Bytes definition of "Data" field

| Bytes            | Campo                        |
| ---------------- | ---------------------------- |
| Byte 1           | `<Model>`                    |
| Bytes 2 to 4     | `<Firmware Version>`         |
| Bytes 5 to 6     | `<Resources>`                |
| Byte 7           | `<User index>`               |
| Byte 8           | `<General Permissions>`      |
| Bytes 9 to 10    | `<User Partitions>`          |
| Bytes 11 to 12   | `<Partitions Arm Stay>`      |
| Bytes 13 to 20   | `<User Zones>`               |
| Byte 21          | `<General Status>`           |
| Bytes 22 to 38   | `<Partition Status 0 to 16>` |
| Bytes 39 to 46   | `<Zone open 1 to 8>`         |
| Bytes 47 to 54   | `<Zone in alarm 1 to 8>`     |
| Bytes 55 to 62   | `<Zone bypass 1 to 8>`       |
| Bytes 63 to 64   | `<Siren Status 1 to 2>`      |
| Byte 65          | `<Day>`                      |
| Byte 66          | `<Month>`                    |
| Byte 67          | `<Year>`                     |
| Byte 68          | `<Hour>`                     |
| Byte 69          | `<Minute>`                   |
| Byte 70          | `<Second>`                   |
| Byte 71          | `<Panic Status>`             |
| Bytes 72 to 73   | `<General Troubles>`         |
| Bytes 74 to 81   | `<Sensor 1 to 8>`            |
| Bytes 82 to 83   | `<Keypad 1 to 2>`            |
| Bytes 84 to 85   | `<Siren 1 to 2>`             |
| Bytes 86 to 87   | `<Repeater 1 to 2>`          |
| Bytes 88 to 89   | `<PGM 1 to 2>`               |
| Bytes 90 to 97   | `<Sensor 1 to 8>`            |
| Bytes 98 to 99   | `<Keypad 1 to 2>`            |
| Bytes 100 to 101 | `<Siren 1 to 2>`             |
| Bytes 102 to 103 | `<Repeater 1 to 2>`          |
| Bytes 104 to 105 | `<PGM 1 to 2>`               |
| Bytes 106 to 113 | `<Sensor 1 to 8>`            |
| Bytes 114 to 115 | `<Keypad 1 to 2>`            |
| Bytes 116 to 117 | `<Siren 1 to 2>`             |
| Bytes 118 to 119 | `<Repeater 1 to 2>`          |
| Bytes 120 to 121 | `<PGM 1 to 2>`               |
| Bytes 122 to 134 | `<KeyFob>`                   |
| Byte 135         | `<Sytem Battery Status>`     |
| Byte 136         | `<Identified Device Type>`   |
| Byte 137         | `<Identified Device Index>`  |
| Bytes 138 to 139 | `<PGM Status>`               |
| Byte 140         | `<Door lock status>`         |
| Byte 141         | `<Door L. Door state>`       |
| Byte 142         | `<Door L. Comm failure>`     |
| Byte 143         | `<Door L. low battery>`      |

#### Fields description

`<Model>` (Byte 1)

* `0x01` = AMT 8000

`<Firmware Version>` (Bytes 2 to 4)

Each byte represents one version field. Example version 3.1.0 will be sent `0x03 0x01 0x00`.

`<Resources>` (Byte 5) — which optional devices are available:

| Bit 7   | Bit 6   | Bit 5                                                        | Bit 4                                                        | Bit 3                                                             | Bit 2                                                             | Bit 1                                                             | Bit 0                                                             |
| ------- | ------- | ------------------------------------------------------------ | ------------------------------------------------------------ | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- |
| N/A     | N/A     | Test Mode                                                    | Partitions                                                   | WiFi                                                              | Ethernet                                                          | GPRS                                                              | PSTN                                                              |
| Enabled | Enabled | <p><code>0</code> = disabled<br><code>1</code> = enabled</p> | <p><code>0</code> = disabled<br><code>1</code> = enabled</p> | <p><code>0</code> = not present<br><code>1</code> = installed</p> | <p><code>0</code> = not present<br><code>1</code> = installed</p> | <p><code>0</code> = not present<br><code>1</code> = installed</p> | <p><code>0</code> = not present<br><code>1</code> = installed</p> |

`<Resources>` (Byte 6) — which optional options are available:

| Byte 6 | Bit 7 | Bit 6 | Bit 5 | Bit 4                                                                                                                                               | Bit 3 | Bit 2 | Bit 1 | Bit 0 |
| ------ | ----- | ----- | ----- | --------------------------------------------------------------------------------------------------------------------------------------------------- | ----- | ----- | ----- | ----- |
| N/A    | N/A   | N/A   | N/A   | <p>Number of pictures<br><code>0</code> = No camera sensor installed<br><code>0x1</code> to <code>0xF</code> = 1 to 16 pictures per alarm event</p> |       |       |       |       |

`<User index>` (Byte 7) — Internal index used to identify the user (User 00 to 100).

`<General Permissions>` (Byte 8)

| Byte 8 | Bit 7 | Bit 6 | Bit 5 | Bit 4 | Bit 3                                                                  | Bit 2                                                                  | Bit 1                                                                   | Bit 0 |
| ------ | ----- | ----- | ----- | ----- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----- |
| N/A    | N/A   | N/A   | N/A   | N/A   | <p>Arm Stay Allowed<br><code>0</code> = No<br><code>1</code> = Yes</p> | <p>User Can Disarm?<br><code>0</code> = No<br><code>1</code> = Yes</p> | <p>User can Byppass?<br><code>0</code> = No<br><code>1</code> = Yes</p> |       |

`<User Partitions>` (Bytes 9 to 10) — Each bit represents one partition.

* Bit = `0` — User cannot use this partition.
* Bit = `1` — User can use this partition.

| Byte 9  | Bit 7        | Bit 6        | Bit 5        | Bit 4        | Bit 3        | Bit 2        | Bit 1        | Bit 0       |
| ------- | ------------ | ------------ | ------------ | ------------ | ------------ | ------------ | ------------ | ----------- |
|         | Partition 8  | Partition 7  | Partition 6  | Partition 5  | Partition 4  | Partition 3  | Partition 2  | Partition 1 |
| Byte 10 | Bit 7        | Bit 6        | Bit 5        | Bit 4        | Bit 3        | Bit 2        | Bit 1        | Bit 0       |
|         | Partition 16 | Partition 15 | Partition 14 | Partition 13 | Partition 12 | Partition 11 | Partition 10 | Partition 9 |

`<Partitions Arm Stay>` (Bytes 11 to 12) — Each bit represents one partition. If partitioning disabled, check only bit 0 of byte 11.

* Bit = `0` — Arm stay disabled in this partition.
* Bit = `1` — Arm stay enabled in this partition.

`<User Zones>` (Bytes 13 to 20) — Each bit represents one zone.

* Bit = `0` — User cannot use this zone.
* Bit = `1` — User can use this zone.

| Byte    | Bit 7   | Bit 6   | Bit 5   | Bit 4   | Bit 3   | Bit 2   | Bit 1   | Bit 0   |
| ------- | ------- | ------- | ------- | ------- | ------- | ------- | ------- | ------- |
| Byte 13 | Zone 8  | Zone 7  | Zone 6  | Zone 5  | Zone 4  | Zone 3  | Zone 2  | Zone 1  |
| Byte 14 | Zone 16 | Zone 15 | Zone 14 | Zone 13 | Zone 12 | Zone 11 | Zone 10 | Zone 9  |
| Byte 15 | Zone 24 | Zone 23 | Zone 22 | Zone 21 | Zone 20 | Zone 19 | Zone 18 | Zone 17 |
| Byte 16 | Zone 32 | Zone 31 | Zone 30 | Zone 29 | Zone 28 | Zone 27 | Zone 26 | Zone 25 |
| Byte 17 | Zone 40 | Zone 39 | Zone 38 | Zone 37 | Zone 36 | Zone 35 | Zone 34 | Zone 33 |
| Byte 18 | Zone 48 | Zone 47 | Zone 46 | Zone 45 | Zone 44 | Zone 43 | Zone 42 | Zone 41 |
| Byte 19 | Zone 56 | Zone 55 | Zone 54 | Zone 53 | Zone 52 | Zone 51 | Zone 50 | Zone 49 |
| Byte 20 | Zone 64 | Zone 63 | Zone 62 | Zone 61 | Zone 60 | Zone 59 | Zone 58 | Zone 57 |

`<General Status>` (Byte 21)

| Bit 7                                                            | Bit 6                                                                                                                     | Bit 5                                                                | Bit 4                                                                | Bit 3                                                                  | Bit 2                                                       | Bit 1                                                                     | Bit 0 |
| ---------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | ---------------------------------------------------------------------- | ----------------------------------------------------------- | ------------------------------------------------------------------------- | ----- |
| <p>Armed Stay<br><code>0</code> = no<br><code>1</code> = yes</p> | <p>Partition<br><code>00</code> = all disarmed<br><code>01</code> = at least one armed<br><code>11</code> = all armed</p> | <p>Bypassed Zones<br><code>0</code> = no<br><code>1</code> = yes</p> | <p>Zones in Alarm<br><code>0</code> = no<br><code>1</code> = yes</p> | <p>All zones Closed<br><code>0</code> = no<br><code>1</code> = yes</p> | <p>Siren<br><code>0</code> = OFF<br><code>1</code> = ON</p> | <p>Troubles<br><code>0</code> = system OK<br><code>1</code> = Trouble</p> |       |

`<Partition Status 0 to 16>` (Bytes 22 to 38) — Partition status in the format below:

| Bit 7                                                                    | Bit 6                                                                  | Bit 5                                                                | Bit 4                                                                        | Bit 3                                                                 | Bit 2                                                                     | Bit 1                                                                        | Bit 0                                                                        |
| ------------------------------------------------------------------------ | ---------------------------------------------------------------------- | -------------------------------------------------------------------- | ---------------------------------------------------------------------------- | --------------------------------------------------------------------- | ------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
| <p>Enabled?<br><code>0</code> = Disabled<br><code>1</code> = Enabled</p> | <p>Arm stay allowed<br><code>0</code> = No<br><code>1</code> = Yes</p> | <p>In exit delay?<br><code>0</code> = No<br><code>1</code> = Yes</p> | <p>Ready to Arm?<br><code>0</code> = Not Ready<br><code>1</code> = Ready</p> | <p>Alarm Occurred?<br><code>0</code> = No<br><code>1</code> = Yes</p> | <p>Partition in Alarm?<br><code>0</code> = No<br><code>1</code> = Yes</p> | <p>Armed Stay/Normal<br><code>0</code> = Normal<br><code>1</code> = Stay</p> | <p>Armed/Disarmed<br><code>0</code> = Disarmed<br><code>1</code> = Armed</p> |

`<Zone Open Group 1 to 8>` (Bytes 39 to 46) — Each bit represents the status of one zone. Total of 64 zones.

* Bit = `0` — Zone Closed.
* Bit = `1` — Zone Open.

`<Zone in Alarm Group 1 to 8>` (Bytes 47 to 54) — Each bit represents the status of one zone. Total of 64 zones.

* Bit = `0` — Zone OK.
* Bit = `1` — Zone in alarm.

`<Zone Bypass 1 to 8>` (Bytes 55 to 62) — Each bit represents the status of one zone.

* Bit = `0` — Zone active.
* Bit = `1` — Zone in bypass.

`<Siren status 1 to 2>` (Bytes 63 to 64) — Each bit represents the status of one siren.

* Bit = `0` — Siren Off.
* Bit = `1` — Siren On.
* `<Day>` (Byte 65) — Day in BCD(Binary Coded Decimal) format.
* `<Month>` (Byte 66) — Month in BCD format.
* `<Year>` (Byte 67) — Year in BCD format.
* `<Hour>` (Byte 68) — Hour 24h format in BCD(Binary Coded Decimal) format.
* `<Minute>` (Byte 69) — Minutes in BCD format.
* `<Second>` (Byte 70) — Seconds in BCD format.

`<Panic Status>` (Byte 71) — Panic occured.

| Bit 7 | Bit 6 | Bit 5 | Bit 4 | Bit 3                                                                   | Bit 2                                                            | Bit 1                                                              | Bit 0                                                       |
| ----- | ----- | ----- | ----- | ----------------------------------------------------------------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------ | ----------------------------------------------------------- |
|       |       |       |       | <p>Medical Emergency<br><code>0</code> = No<br><code>1</code> = Yes</p> | <p>Fire Panic<br><code>0</code> = No<br><code>1</code> = Yes</p> | <p>Silent Panic<br><code>0</code> = No<br><code>1</code> = Yes</p> | <p>Panic<br><code>0</code> = No<br><code>1</code> = Yes</p> |

`<General Troubles>` (Bytes 72 to 73) — Trouble status each bit represents a trouble.

* Bit = `0` — OK.
* Bit = `1` — Trouble detected.

|         | Bit 7           | Bit 6              | Bit 5                  | Bit 4                | Bit 3                        | Bit 2                       | Bit 1              | Bit 0           |
| ------- | --------------- | ------------------ | ---------------------- | -------------------- | ---------------------------- | --------------------------- | ------------------ | --------------- |
| Byte 72 | GPRS Connection | Alarm Panel Tamper | Failure to Communicate | PSTN cut-out Failure | System battery Short-circuit | Sytem Battery not connected | System Low Battery | AC Power Supply |
| Byte 73 | N/A             | N/A                | N/A                    | N/A                  | N/A                          | N/A                         | N/A                | N/A             |

* `<Comunication Failure Sensor group 1 to 8>` (Bytes 74 to 81)
* `<Comunication Failure Keypad group 1 and 2>` (Bytes 82 to 83)
* `<Comunication Failure Siren group 1 and 2>` (Bytes 84 to 85)
* `<Comunication Failure Repeater group 1 and 2>` (Bytes 86 to 87)
* `<Comunication Failure PGM group 1 and 2>` (Bytes 88 to 89)
* `<Tamper Sensor group 1 to 8>` (Bytes 90 to 97)
* `<Tamper Keypad group 1 and 2>` (Bytes 98 to 99)
* `<Tamper Siren group 1 and 2>` (Bytes 100 to 101)
* `<Tamper Repeater group 1 and 2>` (Bytes 102 to 103)
* `<Tamper PGM group 1 and 2>` (Bytes 104 to 105)
* `<Low Battery Sensor group 1 to 8>` (Bytes 106 to 113)
* `<Low Battery Keypad group 1 and 2>` (Bytes 114 to 115)
* `<Low Battery Siren group 1 and 2>` (Bytes 116 to 117)
* `<Low Battery Repeater group 1 and 2>` (Bytes 118 to 119)
* `<Low Battery PGM group 1 and 2>` (Bytes 120 to 121)
* `<Low Battery Keyfob group 1 to 13>` (Bytes 122 to 134)

Each bit represents the status of one Trouble.

* Bit = `0` — Status OK.
* Bit = `0` — Trouble detected.

`<Sytem Battery Status>` (Byte 135) — Alarm panel main battery status.

* `0x01` — Battery dead or disconected.
* `0x02` — Battery low.
* `0x03` — Battery midle.
* `0x04` — Battery full.

`<Identified Device Type and Index>` (Bytes 136 to 137) — When user press the sync button of a device alarm panel send this information to idenfify the index of a RF device.

`<Identified Device Type>` (Byte 136)

* `0x01` — Sensor
* `0x02` — Keypad
* `0x03` — Siren
* `0x04` — Repeater
* `0x05` — Keyfob
* `0x06` — PGM
* `0x07` — Door Lock

`<Identified Device Type>` (Byte 137) — Device index.

`<PGM status>` (Bytes 138 to 139) — Each bit represents the status of one PGM.

* Bit = `0` — PGM OFF.
* Bit = `1` — PGM ON.

`<Door lock status>` (Byte 140) — Each bit represents the status of one Door lock from bit 0 to bit 3.

* Bit = `0` — Door Lock closed.
* Bit = `1` — Door lock opened.

`<Door lock door state>` (Byte 141) — Each bit represents the status of one Door lock from bit 0 to bit 3.

* Bit = `0` — Door closed.
* Bit = `1` — Door opened.

`<Door lock comm failure>` (Byte 142) — Each bit represents the status of one Door lock from bit 0 to bit 3.

* Bit = `0` — Door Lock ok.
* Bit = `1` — Door lock communication failure.

`<Door lock low battery>` (Byte 143) — Each bit represents the status of one Door lock from bit 0 to bit 3.

* Bit = `0` — Door Lock ok.
* Bit = `1` — Door lock low battery.

#### Notes

#### Example 1

|    | Num. Bytes ISECNet V1 | Comando ISECNet V1 | DST ID  | SRC ID  | Num. Bytes | Comando | Data              | ChkSum | ChkSum ISECNet V1 |
| -- | --------------------- | ------------------ | ------- | ------- | ---------- | ------- | ----------------- | ------ | ----------------- |
| Tx | `0A`                  | `E7`               | `00 00` | `00 00` | `00 02`    | `0B 4A` | -                 | `BC`   | `ED`              |
| Rx | `99`                  | `E7`               | `00 00` | `00 00` | `00 91`    | `0B 4A` | `XX XX ... XX XX` | `XX`   | `XX`              |

**Pacote transmitido e recebido real**

|                    |                                                       |
| ------------------ | ----------------------------------------------------- |
| APP request        | `0A E7 00 00 00 00 00 02 0B 4A BC ED`                 |
| Alarm panel answer | `99 E7 00 00 00 00 00 91 0B 4A XX XX ... XX XX XX XX` |

### System arm/disarm — `40 1E`

**EXECUTE-COMMAND — ARMA\_DESARMA\_CENTRAL\_ALARME**

**Description:** Arm/disarm the selected partitions.

|    | Num. Bytes ISECNet V1 | Comando ISECNet V1 | DST ID  | SRC ID  | Num. Bytes | Comando       | Data    | ChkSum | ChkSum ISECNet V1 |
| -- | --------------------- | ------------------ | ------- | ------- | ---------- | ------------- | ------- | ------ | ----------------- |
| Tx | `0C`                  | `E7`               | `00 00` | `00 00` | `00 04`    | `40 1E`       | 2 Bytes | `XX`   | `XX`              |
| Rx | `XX`                  | `E7`               | `00 00` | `00 00` | `XX XX`    | `401E / NACK` | -       | `XX`   | `XX`              |

#### Bytes definition of "Data" field (Tx)

| Byte 1       | Byte 2        |
| ------------ | ------------- |
| `<Partiton>` | `<Operation>` |

#### Fields description

`<Partition>` — Index of the partition that will be armed/disarmed (`0x01` to `0x10` or `0xFF` to arm/disarm all partitions that user is allowed to).

If alarm panel is not partitioned use `0xFF`.

`<Operation>`

* `0x00` = System Disarm
* `0x01` = System Arm
* `0x02` = Arm Stay

#### Bytes definition of "Data" field (Rx)

| Byte 1       | Byte 2     |
| ------------ | ---------- |
| `<Partiton>` | `<Status>` |

#### Fields description

`<Partition>` — Index of the partition that was armed/disarmed (`0x01` to `0x10` or `0xFF` to arm/disarm all partitions that user is allowed to).

`<Status>` — Partition status in the format below:

| Bit 7                                                                    | Bit 6                                                                 | Bit 5                                                                | Bit 4                                                                        | Bit 3                                                                 | Bit 2                                                                     | Bit 1                                                                        | Bit 0                                                                        |
| ------------------------------------------------------------------------ | --------------------------------------------------------------------- | -------------------------------------------------------------------- | ---------------------------------------------------------------------------- | --------------------------------------------------------------------- | ------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
| <p>Enabled?<br><code>0</code> = Disabled<br><code>1</code> = Enabled</p> | <p>In entry delay?<br><code>0</code> = No<br><code>1</code> = Yes</p> | <p>In exit delay?<br><code>0</code> = No<br><code>1</code> = Yes</p> | <p>Ready to Arm?<br><code>0</code> = Not Ready<br><code>1</code> = Ready</p> | <p>Alarm Occurred?<br><code>0</code> = No<br><code>1</code> = Yes</p> | <p>Partition in Alarm?<br><code>0</code> = No<br><code>1</code> = Yes</p> | <p>Armed Stay/Normal<br><code>0</code> = Normal<br><code>1</code> = Stay</p> | <p>Armed/Disarmed<br><code>0</code> = Disarmed<br><code>1</code> = Armed</p> |

#### Notes

* Host is allowed to arm/disarm any partition.
* To request partition state use command `0B 4A` — General System status.
* In case of error a NACK message will be sent.

#### Example 1 — APP 0001 sends a message to arm partition 01

|    | Num. Bytes ISECNet V1 | Comando ISECNet V1 | DST ID  | SRC ID  | Num. Bytes | Comando | Data    | ChkSum | ChkSum ISECNet V1 |
| -- | --------------------- | ------------------ | ------- | ------- | ---------- | ------- | ------- | ------ | ----------------- |
| Tx | `0C`                  | `E7`               | `00 00` | `00 00` | `00 04`    | `40 1E` | `01 01` | `A5`   | `EB`              |
| Rx | `0C`                  | `E7`               | `00 00` | `00 00` | `00 04`    | `40 1E` | `01 91` | `35`   | `EB`              |

**Pacote transmitido e recebido real**

|                    |                                             |
| ------------------ | ------------------------------------------- |
| APP request        | `0C E7 00 00 00 00 00 04 40 1E 01 01 A5 EB` |
| Alarm panel answer | `0C E7 00 00 00 00 00 04 40 1E 01 91 35 EB` |

#### Example 2 — APP 0001 sends a message to disarm all partitions user is allowed to arm, but user is not assigned to any partition

|    | Num. Bytes ISECNet V1 | Comando ISECNet V1 | DST ID  | SRC ID  | Num. Bytes | Comando | Data    | ChkSum | ChkSum ISECNet V1 |
| -- | --------------------- | ------------------ | ------- | ------- | ---------- | ------- | ------- | ------ | ----------------- |
| Tx | `0C`                  | `E7`               | `00 00` | `00 00` | `00 04`    | `40 1E` | `FF 00` | `5A`   | `EB`              |
| Rx | `0B`                  | `E7`               | `00 00` | `00 00` | `00 03`    | `F0 FD` | `22`    | `D3`   | `EC`              |

**Pacote transmitido e recebido real**

|                    |                                             |
| ------------------ | ------------------------------------------- |
| APP request        | `0C E7 00 00 00 00 00 04 40 1E FF 00 5A EB` |
| Alarm panel answer | `0B E7 00 00 00 00 00 03 F0 FD 22 D3 EC`    |

#### Example 3 — APP 0001 sends a message to disarm all partitions but user has no permition to disarm

|    | Num. Bytes ISECNet V1 | Comando ISECNet V1 | DST ID  | SRC ID  | Num. Bytes | Comando | Data    | ChkSum | ChkSum ISECNet V1 |
| -- | --------------------- | ------------------ | ------- | ------- | ---------- | ------- | ------- | ------ | ----------------- |
| Tx | `0C`                  | `E7`               | `00 00` | `00 00` | `00 04`    | `40 1E` | `FF 00` | `5A`   | `EB`              |
| Rx | `0B`                  | `E7`               | `00 00` | `00 00` | `00 03`    | `F0 FD` | `1E`    | `EF`   | `EC`              |

**Pacote transmitido e recebido real**

|                    |                                             |
| ------------------ | ------------------------------------------- |
| APP request        | `0C E7 00 00 00 00 00 04 40 1E FF 00 5A EB` |
| Alarm panel answer | `0B E7 00 00 00 00 00 03 F0 FD 1E EF EC`    |

### Zone bypass state change — `40 1F`

**EXECUTE-COMMAND — EXEC\_BYPASS\_ZONA**

**Description:** Bypass or remove from bypass the selected zones.

|    | Num. Bytes ISECNet V1 | Comando ISECNet V1 | DST ID  | SRC ID  | Num. Bytes | Comando    | Data                               | ChkSum | ChkSum ISECNet V1 |
| -- | --------------------- | ------------------ | ------- | ------- | ---------- | ---------- | ---------------------------------- | ------ | ----------------- |
| Tx | `XX`                  | `E7`               | `00 00` | `00 00` | `XX XX`    | `40 1F`    | Minimum 2 Bytes - Maximum 17 Bytes | `XX`   | `XX`              |
| Rx | `XX`                  | `E7`               | `00 00` | `00 00` | `XX XX`    | `ACK/NACK` | -                                  | `XX`   | `XX`              |

#### Bytes definition of "Data" field

| Byte 1         | Byte 2         |
| -------------- | -------------- |
| `<Zone Index>` | `<Zone State>` |

#### Fields description

`<Zone Index>` — Zone number. From `0x00` to `0x3F` or `0xFF` to change all the state of all Zones at a time. The zone index starts from 00, so you must send zone 01 as 00, zone 02 as 01 and so on.

* Use `<Zone Index>` = `0xFF` to change the state of all Zones at a time. In this case, it must send 64 Zone at a time. See the example bellow.

| `<Zone Index>`   | `<Zone State>`    |              |     |        |        |
| ---------------- | ----------------- | ------------ | --- | ------ | ------ |
| `0x00` to `0x3F` | One or more zones |              |     |        |        |
| `0xFF`           | State `0x00`      | State `0x01` | ... | `0x3E` | `0x3F` |

`<Zone State>`

* `0x00` = Remove Bypass
* `0x01` = Bypass zone

#### Notes

* Alarm panel sends the status of enabled devices only.
* If alarm panel sends less Zones than expected the other groups must be considered `0x00`.

#### Example 1 — Ask alarm panel to bypass Zone1 and remove Zone 20 from bypass

|    | Num. Bytes ISECNet V1 | Comando ISECNet V1 | DST ID  | SRC ID  | Num. Bytes | Comando | Data          | ChkSum | ChkSum ISECNet V1 |
| -- | --------------------- | ------------------ | ------- | ------- | ---------- | ------- | ------------- | ------ | ----------------- |
| Tx | `0E`                  | `E7`               | `00 00` | `00 00` | `00 06`    | `40 1F` | `00 01 13 00` | `B4`   | `E9`              |
| Rx | `0A`                  | `E7`               | `00 00` | `00 00` | `00 02`    | `F0 FE` | `F3`          | `ED`   |                   |

**Pacote transmitido e recebido real**

|                    |                                                   |
| ------------------ | ------------------------------------------------- |
| APP request        | `0E E7 00 00 00 00 00 06 40 1F 00 01 13 00 B4 E9` |
| Alarm panel answer | `0A E7 00 00 00 00 00 02 F0 FE F3 ED`             |

#### Example 2 — Ask alarm panel to bypass zones 1, 2, 3, 4 and remove bypass from all other zones

|    | Num. Bytes ISECNet V1 | Comando ISECNet V1 | DST ID  | SRC ID  | Num. Bytes | Comando | Data                                                 | ChkSum | ChkSum ISECNet V1 |
| -- | --------------------- | ------------------ | ------- | ------- | ---------- | ------- | ---------------------------------------------------- | ------ | ----------------- |
| Tx | `1B`                  | `E7`               | `00 00` | `00 00` | `00 13`    | `40 1F` | `FF 01 01 01 01 00 00 00 00 00 00 00 00 00 00 00 00` | `59`   | `FC`              |
| Rx | `0A`                  | `E7`               | `00 00` | `00 00` | `00 02`    | `F0 FE` | -                                                    | `F3`   | `ED`              |

**Pacote transmitido e recebido real**

|                    |                                                                                          |
| ------------------ | ---------------------------------------------------------------------------------------- |
| APP request        | `1B E7 00 00 00 00 00 13 40 1F FF 01 01 01 01 00 00 00 00 00 00 00 00 00 00 00 00 59 FC` |
| Alarm panel answer | `0A E7 00 00 00 00 00 02 F0 FE F3 ED`                                                    |

### Panic Alarms — `40 1A`

**EXECUTE-COMMAND — EXE\_PANICO**

**Description:** Generate a panic alarm.

|    | Num. Bytes ISECNet V1 | Comando ISECNet V1 | DST ID  | SRC ID  | Num. Bytes | Comando    | Data   | ChkSum | ChkSum ISECNet V1 |
| -- | --------------------- | ------------------ | ------- | ------- | ---------- | ---------- | ------ | ------ | ----------------- |
| Tx | `0B`                  | `E7`               | `00 00` | `00 00` | `00 03`    | `40 1A`    | 1 byte | `XX`   | `XX`              |
| Rx | `XX`                  | `E7`               | `00 00` | `00 00` | `XX XX`    | `ACK/NACK` | -      | `XX`   | `XX`              |

#### Bytes definition of "Data" field (Tx)

| Byte 1         |
| -------------- |
| `<Panic type>` |

#### Fields description

`<Panic type>`

* `0x00` = Silent Panic
* `0x01` = Audible Panic
* `0x02` = Fire panic
* `0x03` = Medical emergency

#### Notes

#### Example 1 — Ask alarm panel to execute a Fire panic

|    | Num. Bytes ISECNet V1 | Comando ISECNet V1 | DST ID  | SRC ID  | Num. Bytes | Comando | Data | ChkSum | ChkSum ISECNet V1 |
| -- | --------------------- | ------------------ | ------- | ------- | ---------- | ------- | ---- | ------ | ----------------- |
| Tx | `0B`                  | `E7`               | `00 00` | `00 00` | `00 03`    | `40 1A` | `03` | `A5`   | `EC`              |
| Rx | `0A`                  | `E7`               | `00 00` | `00 00` | `00 02`    | `F0 FE` | -    | `F3`   | `ED`              |

**Pacote transmitido e recebido real**

|                    |                                          |
| ------------------ | ---------------------------------------- |
| APP request        | `0B E7 00 00 00 00 00 03 40 1A 03 A5 EC` |
| Alarm panel answer | `0A E7 00 00 00 00 00 02 F0 FE F3 ED`    |

#### Example 2 — APP 0001 ask alarm panel to execute a Silent panic

|    | Num. Bytes ISECNet V1 | Comando ISECNet V1 | DST ID  | SRC ID  | Num. Bytes | Comando | Data | ChkSum | ChkSum ISECNet V1 |
| -- | --------------------- | ------------------ | ------- | ------- | ---------- | ------- | ---- | ------ | ----------------- |
| Tx | `0B`                  | `E7`               | `00 00` | `00 00` | `00 03`    | `40 1A` | `00` | `A6`   | `EC`              |
| Rx | `0A`                  | `E7`               | `00 00` | `00 00` | `00 02`    | `F0 FE` | -    | `F3`   | `ED`              |

**Pacote transmitido e recebido real**

|                    |                                          |
| ------------------ | ---------------------------------------- |
| APP request        | `0B E7 00 00 00 00 00 03 40 1A 00 A6 EC` |
| Alarm panel answer | `0A E7 00 00 00 00 00 02 F0 FE F3 ED`    |

### Clean alarmed zones memory — `40 13`

**EXECUTE-COMMAND — EXE\_LIMPA\_MEMORIA\_DISPARO**

|    | Num. Bytes ISECNet V1 | Comando ISECNet V1 | DST ID  | SRC ID  | Num. Bytes | Comando    | Data | ChkSum | ChkSum ISECNet V1 |
| -- | --------------------- | ------------------ | ------- | ------- | ---------- | ---------- | ---- | ------ | ----------------- |
| Tx | `0A`                  | `E7`               | `00 00` | `00 00` | `00 02`    | `40 13`    | -    | `XX`   | `XX`              |
| Rx | `XX`                  | `E7`               | `00 00` | `00 00` | `00 02`    | `ACK/NACK` | -    | `XX`   | `XX`              |

#### Example 1 — APP 0001 ask alarm panel to cleam zones memory

|    | Num. Bytes ISECNet V1 | Comando ISECNet V1 | DST ID  | SRC ID  | Num. Bytes | Comando | Data | ChkSum | ChkSum ISECNet V1 |
| -- | --------------------- | ------------------ | ------- | ------- | ---------- | ------- | ---- | ------ | ----------------- |
| Tx | `0A`                  | `E7`               | `00 00` | `00 00` | `00 02`    | `40 13` | -    | `AE`   | `ED`              |
| Rx | `0A`                  | `E7`               | `00 01` | `00 00` | `00 02`    | `F0 F2` | -    | `F3`   | `ED`              |

**Pacote transmitido e recebido real**

|                    |                                       |
| ------------------ | ------------------------------------- |
| APP request        | `0A E7 00 00 00 00 00 02 40 13 AE ED` |
| Alarm panel answer | `0A E7 00 01 00 00 00 02 F0 F2 F3 ED` |

### Turn Off Siren — `40 19`

**EXECUTE-COMMAND — DESLIGA\_SIRENE**

**Description:** Turn OFF the sirens of the selected partitions.

|    | Num. Bytes ISECNet V1 | Comando ISECNet V1 | DST ID  | SRC ID  | Num. Bytes | Comando    | Data                              | ChkSum | ChkSum ISECNet V1 |
| -- | --------------------- | ------------------ | ------- | ------- | ---------- | ---------- | --------------------------------- | ------ | ----------------- |
| Tx | `XX`                  | `E7`               | `00 00` | `00 00` | `XX XX`    | `40 19`    | Minimum 1 Byte - Maximum 16 Bytes | `XX`   | `XX`              |
| Rx | `XX`                  | `E7`               | `00 00` | `00 00` | `XX XX`    | `ACK/NACK` | -                                 | `XX`   | `XX`              |

#### Bytes definition of "Data" field

| Byte 1              |
| ------------------- |
| `<Partition Index>` |

#### Fields description

`<Partition Index>` — Number of the partitions. From `0x01` to `0x10` or `0xFF` to turn the sirens of all partitions at a time.

* Use `<Partition Index>` = `0xFF` to change the state of all PGM groups at a time. In this case, it must send PGM at a time. See the example bellow.

| `<Partition Index>`                      |
| ---------------------------------------- |
| `0x01` to `0x10` — One or more partitons |
| `0xFF`                                   |

#### Notes

#### Example 1 — Ask alarm panel to turn off the sirens of partition 1 and partition 16

|    | Num. Bytes ISECNet V1 | Comando ISECNet V1 | DST ID  | SRC ID  | Num. Bytes | Comando | Data    | ChkSum | ChkSum ISECNet V1 |
| -- | --------------------- | ------------------ | ------- | ------- | ---------- | ------- | ------- | ------ | ----------------- |
| Tx | `0C`                  | `E7`               | `00 00` | `00 00` | `00 04`    | `40 19` | `01 10` | `B3`   | `EB`              |
| Rx | `0A`                  | `E7`               | `00 00` | `00 00` | `00 02`    | `F0 FE` | -       | `F3`   | `ED`              |

**Pacote transmitido e recebido real**

|                    |                                             |
| ------------------ | ------------------------------------------- |
| APP request        | `0C E7 00 00 00 00 00 04 40 19 01 10 B3 EB` |
| Alarm panel answer | `0A E7 00 00 00 00 00 02 F0 FE F3 ED`       |

#### Example 2 — Ask alarm panel to turn OFF all sirens

|    | Num. Bytes ISECNet V1 | Comando ISECNet V1 | DST ID  | SRC ID  | Num. Bytes | Comando | Data | ChkSum | ChkSum ISECNet V1 |
| -- | --------------------- | ------------------ | ------- | ------- | ---------- | ------- | ---- | ------ | ----------------- |
| Tx | `0B`                  | `E7`               | `00 00` | `00 00` | `00 03`    | `40 19` | `FF` | `5A`   | `EC`              |
| Rx | `0A`                  | `E7`               | `00 00` | `00 00` | `00 02`    | `F0 FE` | -    | `F3`   | `ED`              |

**Pacote transmitido e recebido real**

|                    |                                          |
| ------------------ | ---------------------------------------- |
| APP request        | `0B E7 00 00 00 00 00 03 40 19 FF 5A EC` |
| Alarm panel answer | `0A E7 00 00 00 00 00 02 F0 FE F3 ED`    |

### PGM output change state — `45 AF`

**EXECUTE-COMMAND — APP\_LIGA\_DESLIGA\_PGM**

**Description:** Turn ON or turn OFF selected PGM output.

|    | Num. Bytes ISECNet V1 | Comando ISECNet V1 | DST ID  | SRC ID  | Num. Bytes | Comando    | Data                               | ChkSum | ChkSum ISECNet V1 |
| -- | --------------------- | ------------------ | ------- | ------- | ---------- | ---------- | ---------------------------------- | ------ | ----------------- |
| Tx | `XX`                  | `E7`               | `00 00` | `00 00` | `XX XX`    | `45 AF`    | Minimum 2 Bytes - Maximum 17 Bytes | `XX`   | `XX`              |
| Rx | `XX`                  | `E7`               | `00 00` | `00 00` | `XX XX`    | `ACK/NACK` | -                                  | `XX`   | `XX`              |

#### Bytes definition of "Data" field

| Byte 1        | Byte 2        |
| ------------- | ------------- |
| `<PGM Index>` | `<PGM State>` |

#### Fields description

`<PGM Index>` — PGM number. From `0x00` to `0x0F` or `0xFF` to change all the state of all PGMs at a time.

* Use `<PGM Index>` = `0xFF` to change the state of all PGM groups at a time. In this case, it must send 16 PGM at a time. See the example bellow.

| `<PGM Group>`    | `<PGM State>`    |              |     |              |              |
| ---------------- | ---------------- | ------------ | --- | ------------ | ------------ |
| `0x00` to `0x0F` | One or more PGMs |              |     |              |              |
| `0xFF`           | State `0x00`     | State `0x01` | ... | State `0x0E` | State `0x0F` |

`<PGM State>`

* `0x00` = Turn OFF PGM
* `0x01` = Turn ON PGM

#### Notes

* Alarm panel sends the status of enabled devices only.
* If alarm panel sends less PGMs Groups than expected the other groups must be considered `0x00`.

#### Example 1 — Ask alarm panel to change the state of PGM1 to ON and PGM 16 to OFF

|    | Num. Bytes ISECNet V1 | Comando ISECNet V1 | DST ID  | SRC ID  | Num. Bytes | Comando | Data          | ChkSum | ChkSum ISECNet V1 |
| -- | --------------------- | ------------------ | ------- | ------- | ---------- | ------- | ------------- | ------ | ----------------- |
| Tx | `0E`                  | `E7`               | `00 00` | `00 00` | `00 06`    | `45 AF` | `00 01 0F 00` | `1D`   | `E9`              |
| Rx | `0A`                  | `E7`               | `00 00` | `00 00` | `00 02`    | `F0 FE` | -             | `F3`   | `ED`              |

**Pacote transmitido e recebido real**

|                    |                                                   |
| ------------------ | ------------------------------------------------- |
| APP request        | `0E E7 00 00 00 00 00 06 45 AF 00 01 0F 00 1D E9` |
| Alarm panel answer | `0A E7 00 00 00 00 00 02 F0 FE F3 ED`             |

#### Example 2 — Ask alarm panel to turn OFF PGM 1, 2, 3, 4 and turn ON all other PGM

|    | Num. Bytes ISECNet V1 | Comando ISECNet V1 | DST ID  | SRC ID  | Num. Bytes | Comando | Data                                                 | ChkSum | ChkSum ISECNet V1 |
| -- | --------------------- | ------------------ | ------- | ------- | ---------- | ------- | ---------------------------------------------------- | ------ | ----------------- |
| Tx | `1B`                  | `E7`               | `00 00` | `00 00` | `00 13`    | `45 AF` | `FF 00 00 00 00 01 01 01 01 01 01 01 01 01 01 01 01` | `F9`   | `FC`              |
| Rx | `0A`                  | `E7`               | `00 00` | `00 00` | `00 02`    | `F0 FE` |                                                      | `F3`   | `ED`              |

**Pacote transmitido e recebido real**

|                    |                                                                                          |
| ------------------ | ---------------------------------------------------------------------------------------- |
| APP request        | `1B E7 00 00 00 00 00 13 45 AF FF 00 00 00 00 01 01 01 01 01 01 01 01 01 01 01 01 F9 FC` |
| Alarm panel answer | `0A E7 00 00 00 00 00 02 F0 FE F3 ED`                                                    |


---

# 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/alarmes/9-comandar-amt-8000-receptor-ip.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.
