2.1 USI Host Example Package

The Microchip USI Host package contains the following files and folders, see Figure 2-1:

  • Root directory: Public interfaces that must be included in the user project, and must be modified or considered by the user. The following sections explain how to use these files.
  • src: Source code of the USI Host itself. It must be included in the user project.
  • dlmsotcp: Example described in "AN3285 Serialized DLMS over TCP PRIME Gateway Application Note".
  • primeBN_linux: Example described in "AN4327 Serialized PRIME Network Manager on Linux®Application Note".
  • g3_proxy: Example of application that acts as USI through a TCP port, decodes the G3 commands and sends them through the serial port using USI Host.
  • g3coordd_linux: Example described in "AN3154 Serialized G3-PLC Coordinator on Linux® Application Note" for G3 releases previous to SEF 2.1.0.
  • g3coordd_harmony3_linux: The same than g3coord_linux example for G3 release SEF 2.1.0 and Harmony.
  • sniffer-bin: Example of sniffer implementation.
Figure 2-1. USI Host package folder structure

The complete directory must be included in the user project.

The different files required on any application based on USI Host are explained in the following figure.
Figure 2-2. Architecture of an application based on USI Host