Comments (3)
Here's how I plan to implement this:
- Clients will have a timeout set ( 1 minute?)
- If no valid packets are received from the server in that time, LEDs and LCD will be changed to indicate disconnect. Heartbeats only need to be sent if no other data is sent within the timeout period.
- Once a valid packet is received the client will send a start packet
- At that point the server should update the clients LCD and LEDs
Sound good?
from electronic-door.
Makes sense to me!
Does the server need to send both an LCD and LED message though? If it just sends the LCD message, the client will no longer be in a longer-than-60s state, so it can resume it's default LED behavior.
from electronic-door.
This has been implemented with the following change: Clients resume default LED sequence upon receiving any new message from the server. They don't have a default LCD message, so that still needs to be reset. Or we could make some kind of default.
from electronic-door.
Related Issues (20)
- Add encryption HOT 2
- Add WiFI support to clients
- Create TCP server
- Mobile NFC integration HOT 1
- Allow plugins to create arbitrary user-specific fields HOT 2
- A MUTE BUTTON WOULD BE NICE SAYS MY MEETING MANAGER. [you guys are still cool tho] HOT 1
- Autoscroll on log HOT 1
- Add a tag search HOT 3
- Username link in log should open user's info, not e-mail link HOT 2
- Add Log Pages HOT 1
- Can't download systemd log HOT 2
- Redirect to login page on session expiration
- Super Serial Watchdog Constantly Triggers
- Server Crash HOT 2
- More log information
- Sync Individual Users
- Set email alerts for certain events
- API endpoints for clients
- Speed up log fetching
- Re-assign key to different user without scanning
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from electronic-door.