ConnectRequest Message

To initiate a new monitor connection, send a ConnectRequest message from the client application to Remote Manager. This is the first message sent upon connect and will authenticate and activate the monitor.

Header [6 Bytes] Type=0x0001

Payload:

  • ProtocolVersion: [2 Bytes] - indicates what version of push protocol is being used. The current version is 0x0001.
  • UserNameLen [2 Bytes] - length of UserName payload
  • UserName: [UTF-8 encoded byte array] - the username to authenticate connection
  • PasswordLen [2 Bytes] - length of Password payload
  • Password: [UTF-8 encoded byte array] - the password to authenticate connection
  • MonitorId: [4 Bytes] - the ID of the monitor for this connect

Example

img

Legend:

Type: 0x0001 Size: 0x00000013 ProtocolVersion: 0x0001 UsernameSize: 0x0005 Username: 0x7065707369 (pepsi) PasswordSize: 0x0004 Password: 0x636f6c61 (cola) MessageId: 0x00000104