Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 809 Bytes

mainpage.md

File metadata and controls

24 lines (16 loc) · 809 Bytes

To start working with the iotkik library, you will need to:

  1. Install it.
  2. Run a sample program (optional).
  3. Learn more (optional).

Install it

No installation is required on the device (support for other platforms coming soon).

Run a sample program

On the device, iotkit-comm sample programs can be found in /usr/share/iotkit-comm/examples/c. Here is how you run the distributed thermostat sample application included in the iotkit-comm sources:

$ cd /usr/share/iotkit-comm/examples/c
$ ./sensor
Then, in another terminal:

$ cd /usr/share/iotkit-comm/examples/c
$ ./thermostat
In the thermostat terminal, you will see output

You can run multiple instances of './sensor'; the thermostat will find those sensors and include their temperature data in the mean.