These are prerequisites to build NEXT-NDNSENSOR.
Required:
- NDN-CXX
- NFD
- consumer-producer-api
- repo-ng
- screenbrightness
First install NDN-CXX, then install NFD, all from source.
Only after NDN-CXX & NFD installation, build and install this API.
copy the repo-ng.config into ${SYSCONFDIR}/ndn(default is /usr/local/etc).
brew install screenbrightness
$ ./waf configure $ ./waf
Terminal Zero
$ nfd-start $ ndn-repo-ng
Terminal One (Producer Part)
$ ./producer
Terminal Two (Consumer Part)
$ ./consumer or $ ./consumer on or off or otherExecutableCommand or $ ./consumer ExecutableCommand UserIdentiy for e.g. ./consumer off myName.
command "on" stands for lighting the screen command "off" stands for diming the screen