Line | |
---|
1 | # -*- coding: utf-8 -*- |
---|
2 | """ |
---|
3 | ------------------------------------------------------------------------------ |
---|
4 | Mango 802.11 Reference Design Experiments Framework |
---|
5 | - Transport Default Constants |
---|
6 | ------------------------------------------------------------------------------ |
---|
7 | License: Copyright 2019 Mango Communications, Inc. All rights reserved. |
---|
8 | Use and distribution subject to terms in LICENSE.txt |
---|
9 | ------------------------------------------------------------------------------ |
---|
10 | |
---|
11 | This module provides Transport default constants. |
---|
12 | |
---|
13 | """ |
---|
14 | |
---|
15 | # Nodes Configuration INI Files |
---|
16 | NODES_CONFIG_INI_FILE = 'nodes_config.ini' |
---|
17 | |
---|
18 | |
---|
19 | # Node Types |
---|
20 | DEFAULT_NODE_TYPE = 0 |
---|
21 | DEFAULT_NODE_CLASS = 'Node(network_config)' |
---|
22 | DEFAULT_NODE_DESCRIPTION = 'Default Node' |
---|
23 | |
---|
24 | |
---|
25 | # Transport Default values |
---|
26 | # - All defaults are strings; Numerical values will be evaluated and |
---|
27 | # converted to integers before being used |
---|
28 | NETWORK = '10.0.0.0' |
---|
29 | HOST_ID = 250 |
---|
30 | UNICAST_PORT = 9500 |
---|
31 | BROADCAST_PORT = 9750 |
---|
32 | TRANSPORT_TYPE = 'python' |
---|
33 | JUMBO_FRAME_SUPPORT = False |
---|
34 | TX_BUFFER_SIZE = 2**23 # 8 MB buffer |
---|
35 | RX_BUFFER_SIZE = 2**23 # 8 MB buffer |
---|
36 | |
---|
37 | |
---|
38 | |
---|
Note: See
TracBrowser
for help on using the repository browser.