LogoLogo
Thinger.io
  • IOTMP
    • Protocol
    • Message Structure
      • Message Header
      • Message Body
    • Messages
      • Ok
      • Error
      • Connect
      • Disconnect
      • Keep Alive
      • Run Resource
      • Describe Resources
      • Resource Streams
        • Start Stream
        • Stop Stream
        • Stream Data
    • Definitions
  • Thinger.io IOTMP
    • Features
      • REST API
      • Remote Desktop
      • Remote Proxies
      • Remote Webservices
      • Remote Terminal
      • Remote Filesystem
      • MQTT Interoperability
    • Implemenation
      • Messages
        • Connect
    • SDKs
      • Linux IOTMP
      • Arduino IOTMP
      • NodeJS IOTMP
      • Web IOTMP
      • Python SDK
Powered by GitBook
On this page
  • Request
  • Header
  • Body
  • Response

Was this helpful?

Edit on GitHub
  1. IOTMP
  2. Messages

Connect

Message to authenticate and negotiate connection parameters.

Last updated 2 years ago

Was this helpful?

Request

A message MUST be sent from the client to the server to authenticate and negotiate the connection parameters. This message MUST be the first one after establishing the connection. If any other message or data is received, the server MUST close the connection immediately.

Header

Field
Value
Description

Message Type

0x03

Connect

Message Size

Remaining Message Length

Body

Name
Field
Type
Mandatory
Description

Stream Id

0x01

varint

Connect .

Parameters

0x02

any

Connect parameters, that can be used to identify the authentication type.

Payload

0x03

any

Authentication payload to log-in with the server.

Keep Alive

0x04

varint

Establish a Keep Alive interval in seconds. Default keep-alive interval depends on server implementation.

Encoding

0x05

any

Defines the encoding mechanism that will be used when sending values

Version

0x06

any

Specifies the protocol version to be used.

Response

Connect
varint
Stream identifier
any