IQMESH Network Map

<< Click to Display Table of Contents >>

Navigation:  Help for IQRF IDE v4.75 > XML File Formats >

IQMESH Network Map

This XML format is used for export/import of IQMESH network map from/to IQMESH Network Manager.

 

Specific element:

oNetworkData

Attributes

Values

Description1

user information (e.g.: "17.02.2015 13:32:37 my_network")

ModuleInfo

TR module information, see OS Ref. Guide - moduleInfo function (e.g.: "1C,10,00,81,35,AC,39,11")

Version

format version, the only allowed value is "1.0"

 

Used generally defined elements:

oEEPROM2

oEEEPROM2

 

Notes:

1 Optional attribute.

2 Attributes Address and Length have fixed values for individual elements. See example below.

 

Example:

<?xml version="1.0" encoding="utf-8"?>

<!-- ModuleInfo: Module ID = 8100101C, DCTR, IQRF OS version 3.05D, TR-56D, PIC16LF1938, FCC certified, build 0x1139. -->

<NetworkData Description="17.02.2015 13:32:37 my_network" ModuleInfo="1C,10,00,81,35,AC,39,11" Version="1.0">

<!-- Bonded devices bitmap -->

<!-- Internal EEPROM from address 0x0000, number of bytes: 31 (0x1F) -->

<EEPROM Address="0000" Length="1F" Data="04,00,78,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00"/>

<!-- Discovered devices bitmap -->

<!-- Internal EEPROM from address 0x0020, number of bytes: 30 (0x1E) -->

<EEPROM Address="0020" Length="1E" Data="00,38,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00"/>

<!-- MID array -->

<!-- External EEPROM from address 0x0000, number of bytes: 480 (0x1E0) -->

<EEEPROM Address="0000" Length="01E0" Data="00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,C7,02,C4,02,C3,02,C6,02,00,00,...,00,00,"/>

<!-- VRN array -->

<!-- External EEPROM from address 0x0200, number of bytes: 240 0xF0 -->

<EEEPROM Address="0200" Length="F0" Data="00,00,00,00,00,00,00,00,00,00,00,01,03,02,00,00,00,00,...,00"/>

<!-- Zones array -->

<!-- External EEPROM from address 0x0400, number of bytes: 240 0xF0 -->

<EEEPROM Address="0400" Length="F0" Data="00,00,00,00,00,00,00,00,00,00,00,01,02,01,00,00,00,00,...,00"/>

<!-- Parents array -->

<!-- External EEPROM from address 0x0500, number of bytes: 240 0xF0 -->

<EEEPROM Address="0500" Length="F0" Data="00,00,00,00,00,00,00,00,00,00,00,00,0B,00,00,00,00,00,...,00"/>

</NetworkData>

 

Map corresponding to the XML file above.

 

Tip

The import of this XML file to the IQMESH Network Manager can be used even for non DPA applications.

oProcedure:

Read internal and external EEPROM of TR module working as a Coordinator of IQMESH network. For addresses and block sizes see the example above. For detailed block description see IQRF OS User's Guide, Appendix 4 – Coordinator Bonding and Discovery Data.

Create XML file according to the example above.

Import XML file by Import button on control panel of the IQMESH Network Manager - Map View.