beautypg.com

Set input and non-priority buffer queue count – Echelon LonWorks Router User Manual

Page 118

background image

typedef enum {
COUNT_1 = 0x2;
COUNT_2 = 0x3;
COUNT_3 = 0x4;
COUNT_5 = 0x5;
COUNT_7 = 0x6;
COUNT_11 = 0x7;
COUNT_15 = 0x8;
COUNT_23 = 0x9;
COUNT_31 = 0xA;
COUNT_47 = 0xB;
COUNT_63 = 0xC;
} queue_count_entry;

Set Input and Non-Priority Buffer Queue
Count

The buffer queue counts are selected using a Write Memory network management

message with the following paramters:

mode = READ_ONLY_RELATIVE (1)
offset = 0x001C;
count = 1;
form = BOTH_CS_RECALC (1)
data = queue_counts;

The queue_counts value contains two nibble fields that control the count of

both the input and non-priority output buffer queues. The least significant

nibble controls the number of input buffers and the most significant nibble

controls the number of nonpriority output buffers. The default for this field is 15

non-priority output buffers (COUNT_15) and 2 input buffers (COUNT_2). The

total number of bytes assigned to the buffer queues for a RTR-10 must not exceed

1254 bytes, as described Message Buffers. The queue count for both queues is

represented by the source code as that for the Set Priority Output Buffer Queue

Count command.







108

Network Management Messages