LonWorks Router User’s Guide
79
mode = READ_ONLY_RELATIVE (1)
offset = 0x0019;
count = 1;
form = BOTH_CS_RECALC (1)
data = buffer_sizes;
The
buffer_sizes
value contains two nibble fields that control the size of both
the input and output buffers. The output size value also controls the priority
output buffer size. The default size is 66 bytes (or
SIZE_66 = 0xB
).
When changing this value, you should set both nibble fields to the same value.
Different values can be used if the maximum packet size is different for the two
directions through the router. The default setting for this byte is 0xBB. The
total number of bytes assigned to the buffer queues for a RTR-10 must not exceed
1254 bytes, as described in
Message Buffers
on page 13. A buffer size of less than
66 is not recommended because the router will not be able to forward network
management messages if the buffers are too small.
The size values are represented by a code of type
buffer_size_entry
:
typedef enum {
SIZE_20 = 0x2;
SIZE_21 = 0x3;
SIZE_22 = 0x4;
SIZE_24 = 0x5;
SIZE_26 = 0x6;
SIZE_30 = 0x7;
SIZE_34 = 0x8;
SIZE_42 = 0x9;
SIZE_50 = 0xA;
SIZE_66 = 0xB;
SIZE_82 = 0xC;
SIZE_114 = 0xD;
SIZE_146 = 0xE;
SIZE_210 = 0xF;
SIZE_255 = 0x0;
} buffer_size_entry;
Set Priority Output Buffer Queue Count
The priority output buffer queue count is selected using a
Write Memory
network
management message with the following parameters:
mode = READ_ONLY_RELATIVE (1)
offset = 0x001A;
count = 1;
form = BOTH_CS_RECALC (1)
data = queue_count;
The
queue_count
value contains two nibble fields. The most significant nibble
controls the number of priority output buffers. The least significant nibble must
be zero. The total number of bytes assigned to the buffer queues for a RTR-10
must not exceed 1254 bytes, as described
Message Buffers
on page 13.
The most significant nibble of
queue_count
is represented by a code of type
queue_count_entry
:
Содержание 42150
Страница 1: ...LONWORKS Router User s Guide 078 0018 01E...
Страница 6: ......
Страница 9: ...Appendix A Communications Parameters for LonWorks Routers 81 Communications Parameters 82...
Страница 10: ......
Страница 48: ......
Страница 53: ...LonWorks Router User s Guide 43 Figure 22 Router 5000 Mechanical Specifications...
Страница 54: ......
Страница 57: ...LonWorks Router User s Guide 47 Figure 23 RTR 10 Motherboard Example Schematic...
Страница 61: ...LonWorks Router User s Guide 51 Figure 26 Router 5000 Motherboard Example Schematic Core...
Страница 62: ...52 Developing a LonWorks Router Figure 27 Router 5000 Motherboard Example Schematic Network...
Страница 68: ......
Страница 80: ......
Страница 99: ...www echelon com...