-
Notifications
You must be signed in to change notification settings - Fork 3
/
README
33 lines (27 loc) · 1.08 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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 ([email protected]: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]