Skip to content

openhome/ohNetmon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ohNetmon implements the OpenHome NetworkMonitor service.

The code can be built for Windows, Linux or some embedded platforms.
System requirements:
- Python (v2.6 or 2.7)
- MSVC (Windows)
- GCC (Linux / embedded)
- ohdevtools (source)
- ohNet (either binary or source)
- others (binary)

Before building, clone ohdevtools (git@github.com:openhome/ohdevtools.git) then run
'go fetch --all --clean [--debug]'.

If you want to debug into ohNet classes, clone ohNet (https://github.com/openhome/ohNet)
and build it as described in its README.

To build ohNetmon:
  cd ohNetmon
  ./waf configure --dest-platform=... --ohnet=... [--debug]
  ./waf build

where:
--dest-platform is one of Windows-x86, Linux-x86, Linux-ppc32, Core-ppc32, Core-armv6
--ohnet is optional and points to either your ohNet source directory or the fetched binaries
        (under your ohNetmon/dependencies directory)
--debug is optional and only required for debug builds.
        The default build is ndebug (aka release)

To run unit tests:
  ./waf test
or
  ./dependencies/AnyPlatform/testharness/Test -m oncommit.test -p [platform name]