OpenTP1 Version 7 Programming Reference C Language
version attribute
Format
Attribute meaning
The version attribute specifies a specific version of a remote interface.
Specification item
major
Specify this item with an integer between 0 and 65535.
minor
Specify this item with an integer between 0 and 65535.
Explanation
- Specify a version number with a set of integers indicating main version and sub-version numbers or an integer indicating the main version number only. Delimit the main version and sub-version numbers with a period (.) without inserting a space. If no sub-version is specified, 0 is assumed.
- If the version attribute is not specified, 0.0 is set as default.
- The client and server can communicate under the following conditions:
- The version number of the interface called by the client is the same as the interface advertised by the server.
- The sub-version number of the interface called by the client is the same as or lower than the interface advertised by the server.
Specification example
All Rights Reserved. Copyright (C) 2006, 2010, Hitachi, Ltd.