Giter Site home page Giter Site logo

bhavyejain / meshsos Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 1.0 16 MB

A mesh network based emergency response system for senior citizens.

License: MIT License

C++ 65.76% C 0.77% Python 2.36% Jupyter Notebook 31.10%
iot mesh-networks mesh particle-iot particle-argon emergency-services c-plus-plus iot-application wiring mesh-networking particle-iot-boards emergency

meshsos's Issues

Simplify cloud publishing

Modify publishToCloud() function.
Try publishing with Particle.publish(filter, message, WITH_ACK) instead of looping

rlogs/ GET with query

rlogs/ GET should provide the following query:

  • status (a/w/r)
  • emergency_type

Example: req = "link/rlogs?emergency_type='police'" should provide a list of all logs with police as emergency type.
Among the other 2, use of & should also be possible.
Example: req = "link/rlogs?emergency_type='police'&status='a'" provide all active logs with police as emergency type.

Handle situation where device is unable to get location information.

If device is unable to get its location information in 2 attempts of device->server->device cycles, initiate a flag to let the node (in the mesh) sending the final mesage send its own location in place of the caller device's location.
Maybe do the same thing if the location of the device has not been updated for last 40 or 60 minutes. Maintain a counter which gets old each time the device fails to update its location (during normal updation).

Handle web-hook responses

  1. Get the acknowledgement to reach to the caller device.
  2. Handle case when device not connected to net and thus location not received. Payload might not carry the location of the device.

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.