Skip to content

Releases: PoorRican/sensd

Peripheral Device Functionality

02 Mar 18:17
c01f07c
Compare
Choose a tag to compare
Pre-release

sensd now has the ability for initialized I/O peripheral devices to manipulate GPIO registers or execute arbitrary commands using GPIOCommand within the main event loop, and commands can be scheduled outside of the main event loop using Routine.

This release signifies a transition from alpha to beta state as now the library can be implemented in a real world scenario. While the API is not production ready, a reactionary sensor network can be implemented.

The main compiled binary still creates 2 mock inputs which return a static value and demonstrates the use of the ThresholdNotifier command.

What's Changed

Full Changelog: v0.0.2-alpha...v0.0.3-beta

Generic I/O interface. Basic control system.

16 Feb 23:11
f43d42d
Compare
Choose a tag to compare

With the v0.0.2-alpha release, sensd moves one step closer to becoming usable in a real-world scenario.

This release demonstrates a proof-of-concept control system via an observer design pattern. Subscribers are notified of events generated through the input polling process. A dedicated PublisherInstance serves as a bridge and a layer of indirection between inputs and outputs. Likewise, a builder object has been created for initializing and associating subscriber instances with publishers.

Additionally, generalized input and output interfaces have been created. These types should pave the way for interfacing with concrete GPIO devices. Logs are now tightly coupled to generic device interfaces via Deferred wrapping and are able to be serialized in a much more coherent way: each device has it's own log versus a universal log.

As this is a proof-of-concept and continues to be a pre-relsease:

  • Input devices only return a dummy value: a way to dynamically read GPIO or execute an arbitrary function. This will probably be implemented via closures or macros.
  • Output devices are not fully implemented: GenericOutput has not been tested nor implemented.
  • Control system is not fully implemented: The implemented subscribers are only proof-of-concept (print to stdout) and do not execute any real functionality.
  • Poor error handling and design pattern coupling has not been fully tested: Forthcoming releases will have integration testing and comprehensive error handling.

Basic Functionality

28 Jan 11:38
5259745
Compare
Choose a tag to compare
Basic Functionality Pre-release
Pre-release

Description

A minimal implementation of sensor logging has been achieved:

  • An abstraction of a sensor has been successfully simulated.
  • A container has been made for sensor objects.
  • All sensors in the container can be queried on a regular interval.

DISCLAIMER

This is a proof-of-concept release and in no way is this library production ready. There is no way to export or store sensor data.

What's Changed

  • Implement Containerization #1
  • Implemented polling #2

Full Changelog: https://github.com/PoorRican/6SENS/commits/v0.0.1-alpha