Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smart Device detector #17

Open
Yoric opened this issue Feb 12, 2016 · 0 comments
Open

Smart Device detector #17

Yoric opened this issue Feb 12, 2016 · 0 comments

Comments

@Yoric
Copy link
Collaborator

Yoric commented Feb 12, 2016

Meta-bug: #2.

In this Highschool, when a wifi/broadband-enabled device enters or
is turned on in the exam perimeter, send a message to the desktop
server. Give as much detail as possible on where the device is, so
that the teachers can come and frown at offending student.

Can be expressed as

I need:
- a `wifi detector` (zero or more) with property `activity detected`;
- a `broadband detector` (zero or more) with property `activity
detected`;
- a `communication channel to an application` with capability `send data``?

1. When `activity detected` of `wifi detector` switches to true
  do `send data` to `communication channel to an application`:
    `sensor details` of `activity detected`

This application is meant to be attached to a specific front-end.

Input devices

  • a wifi detector with property activity detected;
  • a broadband detector with property activity detected.

Output devices

  • a communication channel to an application with capability send data;

FIXME: I'm not entirely sure about that one. This detector is meant to
be used with a specific front-end. What's the best way to specify
front-end? Do we want to be so generic that we can change front-end?
That sounds over-engineered, but I can't think of anything simpler atm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant