AutoNetwork

<< Click to Display Table of Contents >>

Navigation:  Program Windows > IQMESH Network Manager Window > Control >

AutoNetwork

The AutoNetwork is a process which automatically builds the IQRF network. Building a network means bonding of new Nodes at their final physical location and then performing network discovery. The AutoNetwork process uses only embedded DPA commands and FRCs, so no special Custom DPA Handler is needed either at the Coordinator or at Nodes.

This feature is available for OS 4.03D and DPA 3.03 or higher.

The AutoNetwork process consists of repeated so‑called waves. In each wave, the process tries to bond as many new Nodes as possible and finally performs a Discovery.

All Nodes to be bonded must have specified the same Access Password as the Coordinator.

The progress of the process is displayed in the Communication Log window.

 

Parameters

 

 

oAction retries

The number of packet repetitions on failure.

oDiscovery TX power

TX power used for a Discovery.

oEnumerate (preview)

If checked, the basic information from all new Nodes in given wave are read and displayed in the Table View.

oSound

Enables a sound indication.

oUpdate the map and table on the fly

If checked, the Map View and Table View is updated on the fly of the AutoNetwork process.

oDiscovery before start

If checked, a Discovery is done before the AutoNetwork process starts. This can be useful in situations where the last Discovery of the previous AutoNetwork process was not successful.

oSkip Discovery in each wave

If checked, the AutoNetwork process does not perform a Discovery in any wave (the process is faster). Use this feature only if new Nodes do not route (new Nodes have routing disabled in the TR configuration). It is also useful when the star topology is created.

oAbort the AutoNetwork if too many Nodes were found

If checked, the AutoNetwork process is aborted if there were found more Nodes than defined in the Number of total / new Nodes stop condition. Such a situation may indicate that Nodes (with the same Access Password) from other network were found. This parameter is enabled only if the Number of total / new Nodes stop condition is checked and the MID filtering and Overlapping networks options are unchecked.

 

Stop Conditions

All stop conditions can be combined but at least one must always be selected.

 

oMaximum number of waves

If checked, the process will stop after specified number of waves.

oNumber of empty waves

If checked, the process will stop after specified number of waves that have not added any new Node.

oNumber of total / new nodes

If checked, the process will stop according to the following selection:

total: When the network contains the specified total number of Nodes.

new: When the specified number of new Nodes has been added to the network.

 

Bonding Control

 

 

oExternal source

This feature allows to control the bonding of Nodes using a list of their MIDs. Optionally, it is possible to specify an address to be assigned to given MID. The address of the bonded node with the detected MID follows the following rules with decreasing priority (Overlapping networks is not checked):

1.If the MID is listed, including the address, this address will be assigned.

2.If the MID is listed in the file and the address is not specified, the first free address in the network that was not reserved by the previous point will be assigned, while the addresses are assigned in the same order the MIDs are listed in the file.

3.If the MID is not listed, it will be assigned the first free address in the network, which has not been reserved at the previous points.

 

MID filtering

If the MID filtering is checked, not listed MID (point 3 above) will not be bonded to the network at all. This option may be useful if there is a need to bond only specific Nodes. E.g. as a protection against bonding of unknown Nodes.

 

If the Overlapping networks is checked, the MID filtering cannot be used and any explicitly listed addresses next to MID are ignored (i.e. rule 1 becomes rule 2). Thus, only rules 2 and 3 from above apply.

Example of the address reservation

 

The list of MIDs must be provided as a file in this format. The IQRF IDE automatically checks the file. In case any errors are found it generates a copy of the original file with reporting of these errors.

 

Copy

Copies the error list to the Clipboard.

 

For the Autonetwork process to be successful and built network reliable, it is important that the density of the nodes with specified MIDs in given area is high enough. This will ensure that there will be enough Nodes in each routing zone of the network so that the network has sufficient redundancy.

 

oOverlapping networks

This advanced feature allows to build more overlapping networks from a large number (more than 239) of Nodes with the same Access Password. The Autonetwork process divides Node MIDs to given networks (Coordinators) by the algorithm based on the Law of large numbers.

For the Autonetwork process to be successful and built networks reliable, it is important that the density of the nodes in given area is high enough. This will ensure that there will be enough Nodes in each routing zone of all networks so that each network has sufficient redundancy.

Note:

All Coordinators must have set up different working RF channel before the Autonetwork process starts.

Typical usage:

A hall with 900 lamps (Nodes) installed. Distances between neighbor lamps are a few meters. All lamps have the same Access Password. Because the maximal IQMESH network size is 239 Nodes there are 4 gateways (Coordinators) installed in the same place.

1.Set different working RF channels on all Coordinators.

2.Set the Number of networks to 4.

3.Connect the IQRF IDE to the 1st Coordinator.

4.Set the Network number to 1.

5.Start the Autonetwork process.

6.Repeat steps 3 - 5 for the remaining Coordinators.

 

Number of networks

Sets number of overlapping networks.

Network number

Sets a network number which will be built.

 

HWPID Filtering Conditions

Enabling of this section allows to add only Nodes with specified HWPID to the network. It is possible to enter manually or from the IQRF Repository one or more HWPIDs.

For the Autonetwork process to be successful and built network reliable, it is important that the density of the nodes with specified HWPIDs in given area is high enough. This will ensure that there will be enough Nodes in each routing zone of the network so that the network has sufficient redundancy.

 

Procedure

oSet AutoNetwork parameters.

oChoose stop conditions.

oSet Bonding Control parameters if needed.

oIf you are interested in process details enable logging of DPA communication.

oClick the Start button and wait for the finish of the process.

oWatch the progress of the process in the Communication Log window.