{
  "schemaVersion": 1,
  "minEngineVersion": 2,
  "deviceType": 199,
  "name": "Vega SGMB 4",
  "advertisingNames": [
    "VEGA SGMB 4"
  ],
  "pairing": "onDemand",
  "parameters": [
    {
      "id": 1,
      "title": "Частотный план",
      "readonly": false,
      "wire": {
        "type": "uint8",
        "size": 1,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "choice",
        "format": "raw",
        "options": [
          {
            "value": 1,
            "title": "EU868"
          },
          {
            "value": 2,
            "title": "RU864"
          },
          {
            "value": 3,
            "title": "Пользовательский"
          },
          {
            "value": 4,
            "title": "AU915, каналы 0–7"
          },
          {
            "value": 5,
            "title": "AU915, каналы 8–15"
          },
          {
            "value": 6,
            "title": "AS923"
          },
          {
            "value": 7,
            "title": "KR920"
          },
          {
            "value": 8,
            "title": "IN865"
          },
          {
            "value": 9,
            "title": "CN779"
          },
          {
            "value": 10,
            "title": "US915"
          },
          {
            "value": 11,
            "title": "US915 Hybrid"
          },
          {
            "value": 12,
            "title": "KZ865"
          }
        ]
      }
    },
    {
      "id": 2,
      "title": "Свой частотный план",
      "readonly": false,
      "wire": {
        "type": "hex",
        "size": 69,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "hex",
        "format": "hex"
      }
    },
    {
      "id": 3,
      "title": "Активация сети",
      "readonly": false,
      "wire": {
        "type": "uint8",
        "size": 1,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "choice",
        "format": "raw",
        "options": [
          {
            "value": 1,
            "title": "OTAA"
          },
          {
            "value": 2,
            "title": "ABP"
          }
        ]
      }
    },
    {
      "id": 4,
      "title": "Подтверждение доставки",
      "readonly": false,
      "wire": {
        "type": "uint8",
        "size": 1,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "choice",
        "format": "raw",
        "options": [
          {
            "value": 1,
            "title": "Запрашивать"
          },
          {
            "value": 2,
            "title": "Не запрашивать"
          }
        ]
      },
      "constraints": {
        "min": 1,
        "max": 2
      }
    },
    {
      "id": 5,
      "title": "Автоматическая скорость",
      "readonly": false,
      "wire": {
        "type": "uint8",
        "size": 1,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "choice",
        "format": "raw",
        "options": [
          {
            "value": 1,
            "title": "Вкл."
          },
          {
            "value": 2,
            "title": "Выкл."
          }
        ]
      }
    },
    {
      "id": 6,
      "title": "Задержка приёма RX1",
      "readonly": false,
      "wire": {
        "type": "uint8",
        "size": 1,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "choice",
        "format": "raw",
        "options": [
          {
            "value": 1,
            "title": "1 сек."
          },
          {
            "value": 2,
            "title": "2 сек."
          },
          {
            "value": 3,
            "title": "3 сек."
          },
          {
            "value": 4,
            "title": "4 сек."
          },
          {
            "value": 5,
            "title": "5 сек."
          },
          {
            "value": 6,
            "title": "6 сек."
          },
          {
            "value": 7,
            "title": "7 сек."
          },
          {
            "value": 8,
            "title": "8 сек."
          },
          {
            "value": 9,
            "title": "9 сек."
          },
          {
            "value": 10,
            "title": "10 сек."
          },
          {
            "value": 11,
            "title": "11 сек."
          },
          {
            "value": 12,
            "title": "12 сек."
          },
          {
            "value": 13,
            "title": "13 сек."
          },
          {
            "value": 14,
            "title": "14 сек."
          },
          {
            "value": 15,
            "title": "15 сек."
          }
        ]
      },
      "constraints": {
        "min": 1,
        "max": 15
      }
    },
    {
      "id": 7,
      "title": "Задержка подключения",
      "readonly": false,
      "wire": {
        "type": "uint8",
        "size": 1,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "choice",
        "format": "raw",
        "options": [
          {
            "value": 1,
            "title": "1 сек."
          },
          {
            "value": 2,
            "title": "2 сек."
          },
          {
            "value": 3,
            "title": "3 сек."
          },
          {
            "value": 4,
            "title": "4 сек."
          },
          {
            "value": 5,
            "title": "5 сек."
          },
          {
            "value": 6,
            "title": "6 сек."
          },
          {
            "value": 7,
            "title": "7 сек."
          },
          {
            "value": 8,
            "title": "8 сек."
          },
          {
            "value": 9,
            "title": "9 сек."
          },
          {
            "value": 10,
            "title": "10 сек."
          },
          {
            "value": 11,
            "title": "11 сек."
          },
          {
            "value": 12,
            "title": "12 сек."
          },
          {
            "value": 13,
            "title": "13 сек."
          },
          {
            "value": 14,
            "title": "14 сек."
          },
          {
            "value": 15,
            "title": "15 сек."
          }
        ]
      },
      "constraints": {
        "min": 1,
        "max": 15
      }
    },
    {
      "id": 8,
      "title": "Число повторов",
      "readonly": false,
      "wire": {
        "type": "uint8",
        "size": 1,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "choice",
        "format": "raw",
        "options": [
          {
            "value": 1,
            "title": "1 раз"
          },
          {
            "value": 2,
            "title": "2 раза"
          },
          {
            "value": 3,
            "title": "3 раза"
          },
          {
            "value": 4,
            "title": "4 раза"
          },
          {
            "value": 5,
            "title": "5 раз"
          },
          {
            "value": 6,
            "title": "6 раз"
          },
          {
            "value": 7,
            "title": "7 раз"
          },
          {
            "value": 8,
            "title": "8 раз"
          },
          {
            "value": 9,
            "title": "9 раз"
          },
          {
            "value": 10,
            "title": "10 раз"
          },
          {
            "value": 11,
            "title": "11 раз"
          },
          {
            "value": 12,
            "title": "12 раз"
          },
          {
            "value": 13,
            "title": "13 раз"
          },
          {
            "value": 14,
            "title": "14 раз"
          },
          {
            "value": 15,
            "title": "15 раз"
          }
        ]
      },
      "constraints": {
        "min": 1,
        "max": 15
      }
    },
    {
      "id": 9,
      "title": "Мощность передатчика",
      "readonly": false,
      "wire": {
        "type": "uint8",
        "size": 1,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "choice",
        "format": "raw",
        "options": [
          {
            "value": 0,
            "title": "20 дБи"
          },
          {
            "value": 1,
            "title": "14 дБи"
          },
          {
            "value": 2,
            "title": "11 дБи"
          },
          {
            "value": 3,
            "title": "8 дБи"
          },
          {
            "value": 4,
            "title": "5 дБи"
          },
          {
            "value": 5,
            "title": "2 дБи"
          }
        ]
      }
    },
    {
      "id": 10,
      "title": "Скорость передачи",
      "readonly": false,
      "wire": {
        "type": "uint8",
        "size": 1,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "choice",
        "format": "raw",
        "options": [
          {
            "value": 0,
            "title": "DR0"
          },
          {
            "value": 1,
            "title": "DR1"
          },
          {
            "value": 2,
            "title": "DR2"
          },
          {
            "value": 3,
            "title": "DR3"
          },
          {
            "value": 4,
            "title": "DR4"
          },
          {
            "value": 5,
            "title": "DR5"
          },
          {
            "value": 6,
            "title": "DR6"
          }
        ]
      }
    },
    {
      "id": 11,
      "title": "Маска каналов",
      "readonly": false,
      "wire": {
        "type": "hex",
        "size": 2,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "hex",
        "format": "hex"
      }
    },
    {
      "id": 57,
      "title": "Новый AppEUI",
      "readonly": false,
      "wire": {
        "type": "hex",
        "size": 8,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "hex",
        "format": "hex"
      }
    },
    {
      "id": 58,
      "title": "Новый AppKey",
      "readonly": false,
      "sensitive": true,
      "wire": {
        "type": "hex",
        "size": 16,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "hex",
        "format": "hex"
      }
    },
    {
      "id": 59,
      "title": "Новый NwkSKey",
      "readonly": false,
      "sensitive": true,
      "wire": {
        "type": "hex",
        "size": 16,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "hex",
        "format": "hex"
      }
    },
    {
      "id": 60,
      "title": "Новый AppSKey",
      "readonly": false,
      "sensitive": true,
      "wire": {
        "type": "hex",
        "size": 16,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "hex",
        "format": "hex"
      }
    },
    {
      "id": 61,
      "title": "Новый DevAddr",
      "readonly": false,
      "wire": {
        "type": "hex",
        "size": 4,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "hex",
        "format": "hex"
      }
    },
    {
      "id": 16,
      "title": "Период передачи данных",
      "readonly": false,
      "wire": {
        "type": "uint8",
        "size": 1,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "choice",
        "format": "raw",
        "options": [
          {
            "value": 5,
            "title": "5 минут"
          },
          {
            "value": 6,
            "title": "15 минут"
          },
          {
            "value": 7,
            "title": "30 минут"
          },
          {
            "value": 1,
            "title": "1 час"
          },
          {
            "value": 2,
            "title": "6 часов"
          },
          {
            "value": 3,
            "title": "12 часов"
          },
          {
            "value": 4,
            "title": "24 часа"
          },
          {
            "value": 8,
            "title": "4 часа"
          },
          {
            "value": 9,
            "title": "15 секунд"
          },
          {
            "value": 10,
            "title": "30 секунд"
          },
          {
            "value": 11,
            "title": "1 минута"
          },
          {
            "value": 12,
            "title": "2 минуты"
          },
          {
            "value": 13,
            "title": "3 минуты"
          },
          {
            "value": 14,
            "title": "4 минуты"
          },
          {
            "value": 15,
            "title": "3 часа"
          },
          {
            "value": 16,
            "title": "9 часов"
          }
        ]
      },
      "constraints": {
        "min": 1,
        "max": 16
      }
    },
    {
      "id": 49,
      "title": "Период сбора данных",
      "readonly": false,
      "wire": {
        "type": "uint8",
        "size": 1,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "choice",
        "format": "raw",
        "options": [
          {
            "value": 5,
            "title": "5 минут"
          },
          {
            "value": 6,
            "title": "15 минут"
          },
          {
            "value": 7,
            "title": "30 минут"
          },
          {
            "value": 1,
            "title": "1 час"
          },
          {
            "value": 2,
            "title": "6 часов"
          },
          {
            "value": 3,
            "title": "12 часов"
          },
          {
            "value": 4,
            "title": "24 часа"
          },
          {
            "value": 8,
            "title": "4 часа"
          },
          {
            "value": 9,
            "title": "15 секунд"
          },
          {
            "value": 10,
            "title": "30 секунд"
          },
          {
            "value": 11,
            "title": "1 минута"
          },
          {
            "value": 12,
            "title": "2 минуты"
          },
          {
            "value": 13,
            "title": "3 минуты"
          },
          {
            "value": 14,
            "title": "4 минуты"
          },
          {
            "value": 15,
            "title": "3 часа"
          },
          {
            "value": 16,
            "title": "9 часов"
          }
        ]
      },
      "constraints": {
        "min": 1,
        "max": 16
      }
    },
    {
      "id": 78,
      "title": "Период сбора при тревоге",
      "readonly": false,
      "wire": {
        "type": "uint8",
        "size": 1,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "choice",
        "format": "raw",
        "options": [
          {
            "value": 1,
            "title": "1 час"
          },
          {
            "value": 2,
            "title": "6 часов"
          },
          {
            "value": 3,
            "title": "12 часов"
          },
          {
            "value": 4,
            "title": "24 часа"
          },
          {
            "value": 5,
            "title": "5 минут"
          },
          {
            "value": 6,
            "title": "15 минут"
          },
          {
            "value": 7,
            "title": "30 минут"
          },
          {
            "value": 8,
            "title": "4 часа"
          },
          {
            "value": 9,
            "title": "15 секунд"
          },
          {
            "value": 10,
            "title": "30 секунд"
          },
          {
            "value": 11,
            "title": "1 минута"
          },
          {
            "value": 12,
            "title": "2 минуты"
          },
          {
            "value": 13,
            "title": "3 минуты"
          },
          {
            "value": 14,
            "title": "4 минуты"
          },
          {
            "value": 15,
            "title": "3 часа"
          },
          {
            "value": 16,
            "title": "9 часов"
          }
        ]
      },
      "constraints": {
        "min": 1,
        "max": 16
      }
    },
    {
      "id": 79,
      "title": "Отправлять сразу",
      "readonly": false,
      "wire": {
        "type": "uint8",
        "size": 1,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "toggle",
        "format": "raw"
      },
      "constraints": {
        "min": 0,
        "max": 1
      }
    },
    {
      "id": 263,
      "title": "Время до отключения",
      "description": "0 — не отключать.",
      "readonly": false,
      "wire": {
        "type": "uint16",
        "size": 2,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "number",
        "format": "raw"
      }
    },
    {
      "id": 55,
      "title": "Часовой пояс",
      "readonly": false,
      "wire": {
        "type": "int16",
        "size": 2,
        "byteOrder": "little"
      },
      "ui": {
        "editor": "number",
        "format": "raw",
        "unit": "мин"
      }
    },
    {
      "id": 12,
      "title": "Режим входа 1",
      "readonly": false,
      "wire": {
        "type": "uint8",
        "size": 1,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "choice",
        "format": "raw",
        "options": [
          {
            "value": 1,
            "title": "Импульсный"
          },
          {
            "value": 2,
            "title": "Охранный"
          },
          {
            "value": 3,
            "title": "Частотный"
          }
        ]
      }
    },
    {
      "id": 38,
      "title": "Тревога на входе 1",
      "readonly": false,
      "wire": {
        "type": "uint8",
        "size": 1,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "choice",
        "format": "raw",
        "options": [
          {
            "value": 1,
            "title": "Замыкание"
          },
          {
            "value": 2,
            "title": "Размыкание"
          },
          {
            "value": 3,
            "title": "Замыкание и размыкание"
          },
          {
            "value": 4,
            "title": "Отключён"
          }
        ]
      }
    },
    {
      "id": 154,
      "title": "Фильтр импульсов, вход 1",
      "readonly": false,
      "wire": {
        "type": "hex",
        "size": 4,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "hex",
        "format": "hex"
      }
    },
    {
      "id": 242,
      "title": "Пороги тревоги, вход 1",
      "readonly": false,
      "wire": {
        "type": "hex",
        "size": 11,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "hex",
        "format": "hex"
      }
    },
    {
      "id": 280,
      "title": "Дополнительные настройки",
      "readonly": false,
      "wire": {
        "type": "bitmask",
        "size": 1,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "bitmask",
        "format": "raw",
        "bits": [
          {
            "bit": 0,
            "key": "confirm",
            "title": "Подтверждение доставки"
          },
          {
            "bit": 1,
            "key": "adr",
            "title": "Автоматическая скорость"
          },
          {
            "bit": 2,
            "key": "instantSend",
            "title": "Отправлять сразу"
          },
          {
            "bit": 3,
            "key": "input1Guard",
            "title": "Охрана на входе 1"
          },
          {
            "bit": 4,
            "key": "input2Guard",
            "title": "Охрана на входе 2"
          },
          {
            "bit": 5,
            "key": "thermistor1",
            "title": "Тип термодатчика 1"
          },
          {
            "bit": 6,
            "key": "thermistor2",
            "title": "Тип термодатчика 2"
          }
        ]
      }
    },
    {
      "id": 308,
      "title": "Устройств на линии питания",
      "readonly": false,
      "wire": {
        "type": "uint16",
        "size": 2,
        "byteOrder": "little"
      },
      "ui": {
        "editor": "number",
        "format": "raw"
      }
    },
    {
      "id": 1024,
      "title": "Охранный вход 1",
      "readonly": true,
      "wire": {
        "type": "uint8",
        "size": 1,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "readOnly",
        "format": "raw",
        "options": [
          {
            "value": 1,
            "title": "Норма"
          },
          {
            "value": 2,
            "title": "Тревога"
          },
          {
            "value": 3,
            "title": "Не в охранном режиме"
          }
        ]
      }
    },
    {
      "id": 1020,
      "title": "Импульсы на входе 1",
      "readonly": true,
      "wire": {
        "type": "uint32",
        "size": 4,
        "byteOrder": "little"
      },
      "ui": {
        "editor": "readOnly",
        "format": "raw"
      }
    },
    {
      "id": 1158,
      "title": "Нижний порог, вход 1",
      "readonly": true,
      "wire": {
        "type": "uint32",
        "size": 4,
        "byteOrder": "little"
      },
      "ui": {
        "editor": "readOnly",
        "format": "raw"
      }
    },
    {
      "id": 1162,
      "title": "Верхний порог, вход 1",
      "readonly": true,
      "wire": {
        "type": "uint32",
        "size": 4,
        "byteOrder": "little"
      },
      "ui": {
        "editor": "readOnly",
        "format": "raw"
      }
    },
    {
      "id": 1001,
      "title": "DevEUI",
      "readonly": true,
      "wire": {
        "type": "hex",
        "size": 8,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "readOnly",
        "format": "hex"
      }
    },
    {
      "id": 1002,
      "title": "AppEUI",
      "readonly": true,
      "wire": {
        "type": "hex",
        "size": 8,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "readOnly",
        "format": "hex"
      }
    },
    {
      "id": 1003,
      "title": "AppKey",
      "readonly": true,
      "sensitive": true,
      "wire": {
        "type": "hex",
        "size": 16,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "readOnly",
        "format": "hex"
      }
    },
    {
      "id": 1005,
      "title": "NwkSKey",
      "readonly": true,
      "sensitive": true,
      "wire": {
        "type": "hex",
        "size": 16,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "readOnly",
        "format": "hex"
      }
    },
    {
      "id": 1006,
      "title": "AppSKey",
      "readonly": true,
      "sensitive": true,
      "wire": {
        "type": "hex",
        "size": 16,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "readOnly",
        "format": "hex"
      }
    },
    {
      "id": 1004,
      "title": "DevAddr",
      "readonly": true,
      "wire": {
        "type": "hex",
        "size": 4,
        "byteOrder": "little"
      },
      "ui": {
        "editor": "readOnly",
        "format": "hex"
      }
    },
    {
      "id": 1029,
      "title": "OTAA DevAddr",
      "readonly": true,
      "wire": {
        "type": "hex",
        "size": 4,
        "byteOrder": "little"
      },
      "ui": {
        "editor": "readOnly",
        "format": "hex"
      }
    },
    {
      "id": 1028,
      "title": "Класс LoRaWAN",
      "readonly": true,
      "wire": {
        "type": "uint8",
        "size": 1,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "readOnly",
        "format": "raw",
        "options": [
          {
            "value": 1,
            "title": "Класс A"
          },
          {
            "value": 2,
            "title": "Класс C"
          },
          {
            "value": 3,
            "title": "Класс B"
          }
        ]
      }
    },
    {
      "id": 1007,
      "title": "Модель",
      "readonly": true,
      "wire": {
        "type": "uint8",
        "size": 1,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "readOnly",
        "format": "deviceType"
      }
    },
    {
      "id": 1008,
      "title": "Время (UTC)",
      "readonly": false,
      "wire": {
        "type": "uint32",
        "size": 4,
        "byteOrder": "little"
      },
      "ui": {
        "editor": "number",
        "format": "unixSeconds"
      }
    },
    {
      "id": 1009,
      "title": "Версия ПО",
      "readonly": true,
      "wire": {
        "type": "ascii",
        "size": 20,
        "byteOrder": "big",
        "trimZeroPadding": true
      },
      "ui": {
        "editor": "readOnly",
        "format": "firmwareVersion"
      }
    },
    {
      "id": 1010,
      "title": "Подключение к сети",
      "readonly": true,
      "wire": {
        "type": "uint8",
        "size": 1,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "readOnly",
        "format": "raw",
        "options": [
          {
            "value": 1,
            "title": "В сети"
          },
          {
            "value": 2,
            "title": "Не в сети"
          }
        ]
      }
    },
    {
      "id": 1011,
      "title": "Частота подключения 1",
      "readonly": true,
      "wire": {
        "type": "uint32",
        "size": 4,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "readOnly",
        "format": "raw",
        "unit": "Гц"
      }
    },
    {
      "id": 1012,
      "title": "Частота подключения 2",
      "readonly": true,
      "wire": {
        "type": "uint32",
        "size": 4,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "readOnly",
        "format": "raw",
        "unit": "Гц"
      }
    },
    {
      "id": 1013,
      "title": "Частота подключения 3",
      "readonly": true,
      "wire": {
        "type": "uint32",
        "size": 4,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "readOnly",
        "format": "raw",
        "unit": "Гц"
      }
    },
    {
      "id": 1014,
      "title": "Частота RX2",
      "readonly": true,
      "wire": {
        "type": "uint32",
        "size": 4,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "readOnly",
        "format": "raw",
        "unit": "Гц"
      }
    },
    {
      "id": 1015,
      "title": "Скорость RX2",
      "readonly": true,
      "wire": {
        "type": "uint8",
        "size": 1,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "readOnly",
        "format": "raw",
        "options": [
          {
            "value": 0,
            "title": "DR0"
          },
          {
            "value": 1,
            "title": "DR1"
          },
          {
            "value": 2,
            "title": "DR2"
          },
          {
            "value": 3,
            "title": "DR3"
          },
          {
            "value": 4,
            "title": "DR4"
          },
          {
            "value": 5,
            "title": "DR5"
          },
          {
            "value": 6,
            "title": "DR6"
          }
        ]
      }
    },
    {
      "id": 1016,
      "title": "Уровень сигнала",
      "readonly": true,
      "wire": {
        "type": "uint8",
        "size": 1,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "readOnly",
        "format": "raw"
      }
    },
    {
      "id": 1017,
      "title": "Число шлюзов",
      "readonly": true,
      "wire": {
        "type": "uint8",
        "size": 1,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "readOnly",
        "format": "raw"
      }
    },
    {
      "id": 1018,
      "title": "Температура",
      "readonly": true,
      "wire": {
        "type": "int8",
        "size": 1,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "readOnly",
        "format": "raw",
        "unit": "°C"
      }
    },
    {
      "id": 1106,
      "title": "Батарея радиомодуля",
      "readonly": true,
      "wire": {
        "type": "uint8",
        "size": 1,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "readOnly",
        "format": "raw",
        "unit": "%"
      },
      "constraints": {
        "min": 0,
        "max": 100
      }
    },
    {
      "id": 1019,
      "title": "Батарея счётчика",
      "readonly": true,
      "wire": {
        "type": "uint8",
        "size": 1,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "readOnly",
        "format": "raw",
        "unit": "%"
      },
      "constraints": {
        "min": 0,
        "max": 100
      }
    },
    {
      "id": 1030,
      "title": "Счётчик пакетов",
      "readonly": true,
      "wire": {
        "type": "uint32",
        "size": 4,
        "byteOrder": "little"
      },
      "ui": {
        "editor": "readOnly",
        "format": "raw"
      }
    },
    {
      "id": 1033,
      "title": "Доступные частотные планы",
      "readonly": true,
      "wire": {
        "type": "bitmask",
        "size": 4,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "readOnly",
        "format": "channelMask"
      }
    },
    {
      "id": 1048,
      "title": "Заводской тест",
      "readonly": true,
      "wire": {
        "type": "uint8",
        "size": 1,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "readOnly",
        "format": "raw",
        "options": [
          {
            "value": 1,
            "title": "Выполняется"
          },
          {
            "value": 2,
            "title": "Успешно"
          },
          {
            "value": 3,
            "title": "Неизвестная ошибка"
          }
        ]
      }
    },
    {
      "id": 1147,
      "title": "Скорость приёма",
      "readonly": true,
      "wire": {
        "type": "uint16",
        "size": 2,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "readOnly",
        "format": "raw"
      }
    },
    {
      "id": 1148,
      "title": "Скорость передачи",
      "readonly": true,
      "wire": {
        "type": "uint16",
        "size": 2,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "readOnly",
        "format": "raw"
      }
    },
    {
      "id": 1149,
      "title": "Обмен по FSK",
      "readonly": true,
      "wire": {
        "type": "uint8",
        "size": 1,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "readOnly",
        "format": "raw"
      }
    },
    {
      "id": 1152,
      "title": "Ключ FSK",
      "readonly": true,
      "sensitive": true,
      "wire": {
        "type": "hex",
        "size": 8,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "readOnly",
        "format": "hex"
      }
    },
    {
      "id": 1144,
      "title": "Принято данных",
      "readonly": true,
      "wire": {
        "type": "uint32",
        "size": 4,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "readOnly",
        "format": "raw"
      }
    },
    {
      "id": 1145,
      "title": "Передано данных",
      "readonly": true,
      "wire": {
        "type": "uint32",
        "size": 4,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "readOnly",
        "format": "raw"
      }
    },
    {
      "id": 1146,
      "title": "Потеряно пакетов",
      "readonly": true,
      "wire": {
        "type": "uint32",
        "size": 4,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "readOnly",
        "format": "raw"
      }
    },
    {
      "id": 1088,
      "title": "RSSI модема",
      "readonly": true,
      "wire": {
        "type": "int16",
        "size": 2,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "readOnly",
        "format": "raw",
        "unit": "дБм"
      }
    },
    {
      "id": 1089,
      "title": "SNR модема",
      "readonly": true,
      "wire": {
        "type": "int8",
        "size": 1,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "readOnly",
        "format": "raw",
        "unit": "дБ"
      }
    },
    {
      "id": 1151,
      "title": "Дата производства",
      "readonly": true,
      "wire": {
        "type": "uint32",
        "size": 4,
        "byteOrder": "little"
      },
      "ui": {
        "editor": "readOnly",
        "format": "raw"
      }
    },
    {
      "id": 1105,
      "title": "Версия протокола",
      "readonly": true,
      "wire": {
        "type": "hex",
        "size": 4,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "readOnly",
        "format": "hex"
      }
    },
    {
      "id": 1098,
      "title": "Версия оборудования",
      "readonly": true,
      "wire": {
        "type": "uint32",
        "size": 4,
        "byteOrder": "little"
      },
      "ui": {
        "editor": "readOnly",
        "format": "raw"
      }
    },
    {
      "id": 1176,
      "title": "Версия LoRaWAN",
      "readonly": true,
      "wire": {
        "type": "hex",
        "size": 4,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "readOnly",
        "format": "hex"
      }
    },
    {
      "id": 1171,
      "title": "Тампер",
      "readonly": true,
      "wire": {
        "type": "uint8",
        "size": 1,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "readOnly",
        "format": "raw"
      }
    },
    {
      "id": 1172,
      "title": "Магнитная пломба",
      "readonly": true,
      "wire": {
        "type": "uint8",
        "size": 1,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "readOnly",
        "format": "raw"
      }
    },
    {
      "id": 1173,
      "title": "Объём газа",
      "readonly": true,
      "wire": {
        "type": "uint32",
        "size": 4,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "readOnly",
        "format": "raw",
        "unit": "м³",
        "decimalPlaces": 3,
        "scale": {
          "numerator": 1,
          "denominator": 1000
        }
      }
    },
    {
      "id": 1078,
      "title": "Записей в архиве",
      "readonly": true,
      "wire": {
        "type": "uint32",
        "size": 4,
        "byteOrder": "little"
      },
      "ui": {
        "editor": "readOnly",
        "format": "raw"
      }
    }
  ],
  "screens": [
    {
      "kind": "info",
      "title": "Информация",
      "groups": [
        {
          "title": "Текущее состояние",
          "parameterIds": [
            1024,
            1020,
            1158,
            1162,
            1001,
            1002,
            1003,
            1005,
            1006,
            1004,
            1029,
            1028,
            1007,
            1008,
            1009,
            1010,
            1011,
            1012,
            1013,
            1014,
            1015,
            1016,
            1017,
            1018,
            1106,
            1019,
            1030,
            1033,
            1048,
            1147,
            1148,
            1149,
            1152,
            1144,
            1145,
            1146,
            1088,
            1089,
            1151,
            1105,
            1098,
            1176,
            1171,
            1172,
            1173,
            1078
          ]
        }
      ],
      "commands": [
        "joinNetwork",
        "linkCheck",
        "factoryReset"
      ]
    },
    {
      "kind": "lora",
      "title": "LoRaWAN",
      "groups": [
        {
          "title": "Сеть",
          "parameterIds": [
            1,
            3,
            7
          ]
        },
        {
          "title": "Радиоканал",
          "parameterIds": [
            5,
            10,
            9
          ]
        },
        {
          "title": "Доставка",
          "parameterIds": [
            4,
            8,
            6
          ]
        },
        {
          "title": "Дополнительно",
          "parameterIds": [
            2,
            11,
            57,
            58,
            59,
            60,
            61
          ]
        }
      ]
    },
    {
      "kind": "settings",
      "title": "Настройки",
      "groups": [
        {
          "title": "Настройки устройства",
          "parameterIds": [
            16,
            49,
            78,
            79,
            263,
            55,
            12,
            38,
            154,
            242,
            280,
            308
          ]
        }
      ]
    }
  ],
  "commands": [
    {
      "code": 1,
      "key": "joinNetwork",
      "title": "Подключиться к LoRaWAN",
      "refreshAfter": true
    },
    {
      "code": 2,
      "key": "linkCheck",
      "title": "Проверить связь",
      "refreshAfter": true
    },
    {
      "code": 4,
      "key": "factoryReset",
      "title": "Сбросить настройки",
      "requiresConfirmation": true,
      "refreshAfter": true
    }
  ],
  "firmware": {
    "chip": "wch",
    "dfu": "wchBleUart"
  }
}
