Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

...

Full nameDescriptionUnits / sizeDefault value

Kotva
u
u
User Name

Username used for communication. If not specified, the username/password will not be used for communication.
Note: AMiT devices do not require sending username and password if they have no users configured.

--

Kotva
p
p
Password

Password used for communication.--

Kotva
prepr
e
ProtocolEncoding

The protocol encoding used for communication. The following variants are available:

  • MessagePack - binary protocol encoding (this is essentially binary encoded JSON).
  • JSON - standard text protocolJSON encoding.

AMiT devices have a limit of 16 KB for the size of received and sent Websocket messages, so both requests and responses must fit within this size. Therefore, the MessagePack variant is recommended, as it is also less CPU-intensive.

MessagePack

JSON

MessagePack

Kotva
wt
wt
Wait Timeout

Response waiting time. In case of larger requests, or due to higher latencies (e.g., on a mobile network or when communicating over WAN/VPN), this value may need to be increased.ss:mss01:000

...