Products > MQTT Based IoT > How?

Steps to Enabling NodeX MQTT Data Distribution on NetBurner Devices

NodeX simplifies adding device data distribution capabilites by packaging and streamlining the interface of MQTT client / broker components, use of GUI based node configruation tools and a GUI based access to all nodes and data.

The number of steps and time necessary to build and deploy a NodeX enabled network depends on the NodeX level package and complexity of the network.

NodeX-LT Basic MQTT on NetBurner Devices

With NodeX-LT Tier 1 software you can add data distribution to your project in minutes. Here are the steps...

  • Explore the supplied sample serial application to identify the NodeX calls and experiment.
  • Add NodeX-LT API library to your project
  • Add calls to instantiate the NodeX MQTT client and publish your device('s) messages referred to as topics.
  • On the PC add the NodeX NSTpahoClient to your PC application or use our application example.
  • On a PC start the prebuilt Mosquitto MQTT broker or your MQTT broker of choice.
  • TaDa!
  • NodeX-DM and NodeX-DT, Tiers 2 & 3, Adds NST's Device Manager Routing and Message Translation Capabilities

    With NodeX-LT adds data distribution to your project. Nodex-DM adds the embedded framework, Device Manager/Router and PC tools to configure and access you nodes and data. Here are the steps...

  • Create XML formatted system Master Data Dictionaries (Nodes, interfaces, devices).
  • Create XML Device Data Dictionaries describing the device "thing" message topics, fields, LSBs, enumerations.
  • Using NodeX NetConfig, Configure the Nodes, Auto subscriptions, Intra / Inter Node message routing.
  • Add NodeX-DM or DT API library to your project. Follow and modifiy the NodeX Embedded Software Architecture framework and examples.
  • Add calls to instantiate the client and publish your device(s) messages referred to as topics.
  • On the PC add the NodeX NST pahoClient to your PC application or use our application example.
  • On NetView, build your Stream Definition Files to automatically Subscribe to Nodes, Device, Message Topics.
  • On a PC start the prebuilt Mosquitto MQTT broker or your MQTT broker of choice.
  • Run Netview and with your Stream Definition Files.
  • Examples are supplied to publish / subscribe to / from a PC via a simulated serial device

    NodeX-DM and Nodex-DT System Tools Utilize XML Based Master Data Dictionary and Device Data Dictionaries

    The ability to auto subscribe and publish message topics and capture data for plots, logs, displays or other processing, either statically or dynamically during execution is partially accomplish by the use of XML device and system Data Dictionaries. Creating the Data Dictionaries is probably the most difficult aspect of NodeX depending on your device. Note that NST has created Data Dictionaries for complex devices containing hundreds of messages with thousand of parameters. The XML Data Dictionaries fully define a node's configuration, it's attached devices, messages, etc down to the bit level.

      Node Master Data Dictionaries Contain:
      • Paths to Configuration files
      • List of all Attached Device, Names, Alias, Interfaces and Attributes
      • Distribution Service Type
      • Active Interfaces and Basic Default Parameters
      An Attached Device's Data Dictionaries Contains the Message Stream Definition Down to The Bit Level:
      • Interface Control Document Information (version, revision, ownership, classification...)
      • Enumeration Value Mappings (values to string)
      • Distribution Service Type
      • Message Descripters (key, id, label, word count, tx/rx, rates, byte swap...)
      • Message Fields Descripters (key, label, location, byte order, data type, multipler, offset, units...)

    Note: Things Change Rapidly! Specifications, Capabilities, Features and Availability Subject to Change Without Notice and May Be Restricted to Certain Users.