Giter VIP home page Giter VIP logo

Comments (4)

paulboyes avatar paulboyes commented on June 28, 2024

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.

newskysecurity avatar newskysecurity commented on June 28, 2024

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.

newskysecurity avatar newskysecurity commented on June 28, 2024

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:

  1. Click 'connect'
  2. Click 'Send message'
  3. Watch subscribed vehicle speed data (simulated) coming back from WSS every 3 seconds

Supported features:

  1. Basic authentication via token, hard-coded auth string 'AuthMagic', use a different value and server will return 403
  2. Hard-coded JSON format.
  3. Subscription to vehicle signal. Only supports root.engine.speed. Once subscribed, will keep receiving simulated speed data every 3 seconds
  4. Unsubscription to vehicle signal. Send {'auth':'AuthMagic', 'unsubscribe':'root.engine.speed'} and the speed data stream will stop

Known bugs / TODOs:

  1. Vehicle speed is not singleton, open two browser tabs and subscribe to the same server, you won't see the same speed value.
  2. TODO: use json parser to be more flexible on input / output.
  3. TODO: more flexible auth levels?
  4. TODO: add a better UI

Pls let me know if this is the right direction...

from automotive.

peterMelco avatar peterMelco commented on June 28, 2024

Well, this is done

from automotive.

Related Issues (20)

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.