Giter VIP home page Giter VIP logo

disii-project's People

Contributors

bumble avatar christophrichter92 avatar lu-w avatar maju-ketchup avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

disii-project's Issues

Implement the device finder

Implement a DeviceFinder class that searches for devices according to the current position of the smartphone.
The DeviceFinder should be able to register objects that want to be informed when the list of devices that the smartphone points to changes (Thus, implement an interface DeviceListDelegate that has a method delegateDeviceList(List devices) which is called by the DeviceFinder for every registered object on every change of the device list). The DeviceProxy class was implemented by Christoph and represents one device.
The position of the device is defined by the cardinal direction. Every device should store its cardinal direction, and its z-axis as an integer (which represent the spatial order of the devices in case one device is behind another). Feel free to implement this.
The device finder should be basically a thread that polls the compass every x ms and and iterates through every device and constructs the list of devices the smartphone points to. If the list has changed, it should push this information to every DeviceListDelegate.

Design interfaces for devices

Create interfaces for several devices which should be controlled by the app:

  • Lights
  • Computer
  • TV
  • Radio
  • Shutters
  • Speakers

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.