The SmartMesh SDK consists of three layers:


An Example: Structure of the APIExplorer Application

The figure below shows the internal structure of the APIExplorer application.

The main application manages the different frames. Running the APIExplorer applications consists of the following steps:

  1. The user selects the API definition in the api frame. This definition (here IpMgrDefinition) is returned to the main application, which passes it to the other frames.
  2. The user selects the API connection in the connection frame. This connector (here IpMgrConnectorMux) is returned to the main application, which passes it to the other frames.
  3. The command frame builds the drop-down menus of commands dynamically by exploring the API definition loaded.
  4. The command frame uses the connector created to send and receive commands to the device.
  5. Responses are received by the main application, and sent to the response frame for display.
  6. Notifications are received by the main application and stored in global variables. The notifications frame periodically polls these variables and displays their contents.
  7. The main application displays information in the tooltip frame whenever useful.


The dustFrame elements never call each other. It's the main application's role to pass information around among frames.