Comments (4)
This was discussed during the GENIVI/W3C Liaison Meeting this morning. I think Peter has done a great job of describing the bare basics. Is anyone willing to and able to commit to working on this?
During today's meeting we reserved a table for the GENIVI AMM Showcase. Whether we do the demo or not, we should be prepared to man the table and let people know what the group is up to.
That said, demo(s) would be great.
from automotive.
I spent a few hours and setup a sample server:
https://auto.newskysecurity.com/chat.xhtml
The server is currently running a sample WSS-based web chat, demonstrating WSS protocol communication. For the four requirements on the server side:
- PC simulation
- WSS protocol
- subscribe, set
- Token based authorization and error handling
This server shows the first 2 are feasible. I can work more on the latter two requirements.
from automotive.
spent another few hours and created a demo page showing subscribing to a vehicle signal using WSS and get data stream back.
https://auto.newskysecurity.com/speed.xhtml
Usage:
- Click 'connect'
- Click 'Send message'
- Watch subscribed vehicle speed data (simulated) coming back from WSS every 3 seconds
Supported features:
- Basic authentication via token, hard-coded auth string 'AuthMagic', use a different value and server will return 403
- Hard-coded JSON format.
- Subscription to vehicle signal. Only supports root.engine.speed. Once subscribed, will keep receiving simulated speed data every 3 seconds
- Unsubscription to vehicle signal. Send {'auth':'AuthMagic', 'unsubscribe':'root.engine.speed'} and the speed data stream will stop
Known bugs / TODOs:
- Vehicle speed is not singleton, open two browser tabs and subscribe to the same server, you won't see the same speed value.
- TODO: use json parser to be more flexible on input / output.
- TODO: more flexible auth levels?
- TODO: add a better UI
Pls let me know if this is the right direction...
from automotive.
Well, this is done
from automotive.
Related Issues (20)
- Inverse range filtering? HOT 3
- VISS 2 wide review tracking
- Refer to RFC 3987 or URL HOT 2
- Candidate Recommendation endorsement
- Change of key name "value" to "param" HOT 3
- Potential support of structs in VSS HOT 3
- documentation: subscription timestamp HOT 4
- Subscription handling on error or JWT auth issues (timed out) HOT 4
- More architectural description HOT 1
- Add in-line privacy and security considerations to VISS transport HOT 2
- VISS core: what is a pseudo-VIN HOT 3
- VISS Core: why is access control non-normative? HOT 3
- VISS Core: "certified" applications? HOT 2
- Rename notification to event HOT 2
- VISS Core&transport - unclear MAY with enumeration HOT 2
- Proposal to add a “consent hook” HOT 3
- error handling for malformed messages HOT 8
- Bandwidth optimization by using token handle HOT 6
- JSON schema is invalid HOT 4
- Normative references HOT 1
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 automotive.