@tum-far/ubii-device-manager
v0.1.11
Published
Ubii devices module.
Downloads
32
Readme
ubii-device-manager
Ubii devices module.
Table of Contents
Device Manager
The DeviceManager
is part of a Server node. The DeviceManager
manages Device
objects. It manages all entities that interact with the topic data functionalities of the server.
Devices
Devices are remote entities that interact with the ubii server.
There are two major types of devices:
- Participants: Participants are active memeber of the ubii system. They participate in the ubii system by publishing data (Producer) and/or consuming data via subscribtions (Consumer). A sensor app providing data is an example for a producer participant. An application accessing data is an examples for a consumer participant.
- Watchers: A Watcher is a passive member of the ubii system. It gets all data by subscribing to all current and future topics automatically on registration. The web node showing the current and complete state of the topic data is an example for a Watcher.
CLIs
Tests
- Run
npm test
to process all standard tests. See the Testing section for more details on tests.
Testing
- This module uses the AVA test runner.
- You can add new tests to the test folder. Entry point for the test runner is test.js within the test folder. See the AVA Documentation for more details on how to create new test cases for AVA.