#ifndef PARAM_CONSTANTS_H
#define PARAM_CONSTANTS_H

#define RING_UPPER_LIMIT  20
#define RING_LOWER_LIMIT  10
#define HEARTBEAT_TIMEOUT  5
#define NUM_CONTACT_NODES  3
#define MSG_ID_LEN        24
#define BROADCAST_ID_LEN  16

// eth
#define TABLE_SIZE_ETH    13
#define NUM_RECEIVERS_ETH  3
#define TTL_ETH        10000

// ID definition rules
#define ID_CONTINENT_LEN   3
#define ID_COUNTRY_LEN     4
#define ID_STATE_LEN       5
#define ID_CITY_LEN        6
#define ID_DISTRICT_LEN    5
#define ID_SINGLE_LEN      9
#define ID_CONTINENT_START 0
#define ID_COUNTRY_START   3
#define ID_STATE_START     7
#define ID_CITY_START     12
#define ID_DISTRICT_START 18
#define ID_SINGLE_START   23

#endif