beautypg.com

Commands, Get_interface_version – Vaisala HMM105 User Manual

Page 13

background image

Chapter 2 _______________________________________________________________ I2C Interface

VAISALA ____________________________________________________________________ 11

Commands

Get_Interface_Version

The Get_Interface_Version command (ID 80h) reads the interface

version information. Recommended for verifying version compatibility

before reading or writing parameters.

Table 11

Get_Interface_Version Invoke Message

Message Segment Length

Content

I

2

C address

1 byte

I

2

C address (write)

Command ID

1 byte

Always 80h

Device address

1 byte

See Table 5 on page 4

Frame length

1 byte

Always 05h

Checksum

2 bytes

See section Checksum on page 9

Table 12

Get_Interface_Version Response Message

Message Segment Length

Content

I

2

C address

1 byte

I

2

C address (read)

Status

1 byte

See section Status Byte on page 9

Command ID

1 byte

Always 80h

Device address

1 byte

See Table 5 on page 4

Frame length

1 byte

Always 0Ah

Data

1 byte

Device version

1 byte

Protocol frame version

1 byte

Command set version

1 byte

Parameter set version

Checksum

2 bytes

See section Checksum on page 9