MIRA
Macros
FrameworkDefines.h File Reference

Defines and constants for the framework. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MIRA_MAJOR_VERSION(v)   ((v) >> 16)
 Calculate the major version of v. More...
 
#define MIRA_MINOR_VERSION(v)   ((v) & 0x0000FFFF)
 Calculate the minor version of v. More...
 
#define MIRA_PROTOCOL_VERSION   0x00030003
 Version of the communication protocol between frameworks. More...
 
#define MIRA_TAPE_VERSION   0x00060000
 Version of the latest tape format. More...
 
#define MIRA_AUTODISCOVERY_MULTICAST_PORT   8119
 Port for multicast for auto discovery service (http://www.networksorcery.com/enp/protocol/ip/ports08000.htm says that this port is unused) More...
 
#define MIRA_AUTODISCOVERY_MULTICAST_ADDRESS   "231.1.1.1"
 Address for multicast for auto discovery service (multicast address space is from 224.0.0.0 to 239.255.255.255) More...
 

Detailed Description

Defines and constants for the framework.

Author
Tim Langner
Date
2012/03/29

Macro Definition Documentation

◆ MIRA_MAJOR_VERSION

#define MIRA_MAJOR_VERSION (   v)    ((v) >> 16)

Calculate the major version of v.

◆ MIRA_MINOR_VERSION

#define MIRA_MINOR_VERSION (   v)    ((v) & 0x0000FFFF)

Calculate the minor version of v.

◆ MIRA_PROTOCOL_VERSION

#define MIRA_PROTOCOL_VERSION   0x00030003

Version of the communication protocol between frameworks.

History:

  • 0x00030003:
    • Time offset is estimated in outgoing connection only and applied to both sent and received channel messages (previously: offset estimated on both sides independently, applied to received messages only)
    • Added ServiceLevel::interval (limit update rate on subscribed remote channel)
  • 0x00030002:
    • Introduced BinarySerializer format v2
  • 0x00030001:
    • Added protocol version of server to CONNECT_ACCEPT_MSG message
    • Added message PING_MSG

◆ MIRA_TAPE_VERSION

#define MIRA_TAPE_VERSION   0x00060000

Version of the latest tape format.

◆ MIRA_AUTODISCOVERY_MULTICAST_PORT

#define MIRA_AUTODISCOVERY_MULTICAST_PORT   8119

Port for multicast for auto discovery service (http://www.networksorcery.com/enp/protocol/ip/ports08000.htm says that this port is unused)

◆ MIRA_AUTODISCOVERY_MULTICAST_ADDRESS

#define MIRA_AUTODISCOVERY_MULTICAST_ADDRESS   "231.1.1.1"

Address for multicast for auto discovery service (multicast address space is from 224.0.0.0 to 239.255.255.255)