SmartMeshSDK
Overview
A collection of modules to connect to all SmartMesh devices and implement all related Application Programming Interfaces (APIs).
The SmartMeshSDK library lives in the libs/SmartMeshSDK
directory.
It consists of two sets of modules:
- API definitions, which define the API of a given device.
- API connectors, which allow to physically connect to a device.
Module Description
API Definitions
All API definitions live in the libs/SmartMeshSDK/ApiDefinition/
directory.
ApiDefinition.py
is the parent class of all API definitions, from which the following modules inherit.
module name | API definition for |
---|---|
IpMgrDefinition.py | SmartMesh IP Manager |
IpMoteDefinition.py | SmartMesh IP Mote |
HartMgrDefinition.py | SmartMesh WirelessHART Manager |
HartMoteDefinition.py | SmartMesh WirelessHART Mote |
API Connectors
ApiConnector.py
is the parent class of all API connectors, from which the following modules inherit.
module name | connects to | connects over |
---|---|---|
IpMgrConnectorMux | SmartMesh IP Manager | SerialMux |
IpMgrConnectorSerial | SmartMesh IP Manager | serial |
IpMoteConnector | SmartMesh IP Mote | serial |
HartMgrConnector | SmartMesh WirelessHART Manager | XML-RPC |
HartMoteConnector | SmartMesh WirelessHART Mote | serial |