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

Disconnect

Message used to cleanly disconnect a current connection.

Last updated 2 years ago

Was this helpful?

Request

A Disconnectmessage can be sent anytime to close an ongoing connection. It can be initiated both by the server or the client.

Once sent or received, it is expected that the connection is closed.

Header

Field
Value
Description

Message Type

0x04

Disconnect

Message Size

Remaining Message Length

Body

Name
Field
Type
Mandatory
Description

Stream Id

0x01

varint

Disconnect . Not required if acknowledgement is not expected from the other side.

Parameters

0x02

any

Disconnect reason.

Payload

0x03

any

Additional disconnect information.

Response

varint
Stream Identifier