Skip to content

Latest commit

 

History

History
70 lines (55 loc) · 1.31 KB

INSTALL.md

File metadata and controls

70 lines (55 loc) · 1.31 KB

NEXT-NDNSENSOR: NDN Sensor Project based on Consumer/Producer API

Prerequisites

These are prerequisites to build NEXT-NDNSENSOR.

Required:

Prerequisites build instructions

MacOS build considerations

NDN-CXX & NFD

First install NDN-CXX, then install NFD, all from source.

consumer-producer-api

Only after NDN-CXX & NFD installation, build and install this API.

repo-ng

copy the repo-ng.config into ${SYSCONFDIR}/ndn(default is /usr/local/etc).

screenbrightness

brew install screenbrightness

NEXT_NDNSENSOR build instructions

$ ./waf configure
$ ./waf

NEXT_NDNSENSOR run instructions

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