LonWorks Router User’s Guide
75
typedef enum {
NORMAL = 0, // Not a temporary bridge.
INIT_RTR_TABLE = 1, // Copy forwarding tables from EEPROM
// for configured routers.
// Initialize forwarding tables for
// learning routers.
TEMP_BRIDGE = 2 // Temporarily a bridge until next reset
// or NORMAL router mode request.
} rtr_mode;
typedef rtr_mode NM_rtr_mode_request;
Group or Subnet Table Clear
This message clears all entries in either the group or subnet forwarding table for
a single domain for a single router side. The message is segmented to cover eight
byte sections to prevent lengthy EEPROM write operations.
This message uses the Request-Response protocol. The configuration checksum
in EEPROM is updated.
typedef struct {
unsigned group_or_subnet : 1; // 1 => Group, 0 => Subnet
unsigned domain_index : 1;
unsigned unused : 4;
unsigned index_times_8 : 2;
} NM_rtr_table_clear_request;
Group or Subnet Table Download
This message configures the entire group or subnet forwarding table in EEPROM
for the specified domain for a single router side. The download function is
segmented into eight-byte sections.
The least significant bit (LSB) of the table field maps to the lowest subnet or
group ID in the current set of table entries defined by the
index_times_8
field.
A value of ‘1’ specifies that forwarding be enabled for the corresponding group or
subnet; a value of ‘0’ disables forwarding. Subnet 0 is used for special protocol
functions and is never marked for forwarding.
This message uses the Request-Response protocol. The configuration checksum
in EEPROM is updated. Each byte in the table entry includes routing flags for
eight subnets or groups.
typedef struct {
unsigned group_or_subnet : 1; // 1 => Group, 0 => Subnet
unsigned domain_index : 1;
unsigned unused : 4;
unsigned index_times_8 : 2;
unsigned table[8]; // Table data
} NM_rtr_table_downld_request;
Group Forward
This message sets the forwarding flag in the forwarding table for a given group in
the specified domain. If the
ram_or_eeprom
field is set, both the RAM and
Summary of Contents for 14315R
Page 1: ...LONWORKS Router User s Guide 078 0018 01E...
Page 6: ......
Page 9: ...Appendix A Communications Parameters for LonWorks Routers 81 Communications Parameters 82...
Page 10: ......
Page 48: ......
Page 53: ...LonWorks Router User s Guide 43 Figure 22 Router 5000 Mechanical Specifications...
Page 54: ......
Page 57: ...LonWorks Router User s Guide 47 Figure 23 RTR 10 Motherboard Example Schematic...
Page 61: ...LonWorks Router User s Guide 51 Figure 26 Router 5000 Motherboard Example Schematic Core...
Page 62: ...52 Developing a LonWorks Router Figure 27 Router 5000 Motherboard Example Schematic Network...
Page 68: ......
Page 80: ......
Page 99: ...www echelon com...