Giter Site home page Giter Site logo

Comments (3)

Scottapotamas avatar Scottapotamas commented on May 28, 2024

946d8de adds support for read only variables.

Remaining work is to modify the handshake process to provide this information to the UI.

from electricui-embedded.

Scottapotamas avatar Scottapotamas commented on May 28, 2024

Refactored the handshake callbacks as part of the (off-branch) 2ad87e1 commit. This code has not been tested on hardware, and doesn't have written unit tests, but does compile without warnings.

Breaking changes:

  • The previous message ID's used ("dm" and "dv") have been replaced by "dmr"/"dmw" and "dvr"/"dvw" for the read-only and the read/writeable ones.
  • It's up to the UI to request each set and handle the responses accordingly.
  • The previous "dms" for indicating start of the stream (do we actually need that), is now "dmrs"/"dmws".
  • The previous packets containing the list of messageID's "dml", is now namespaced "dmrl"/"dmwl".

Remaining work:

  • Test on hardware,
  • Test against the UI once support is available in the connections manager,
  • Write unit tests for each of the callbacks and expected behaviour once stabilised,
  • Merge a working implementation into master.

from electricui-embedded.

Scottapotamas avatar Scottapotamas commented on May 28, 2024

This was merged in #62, and #47 somewhat encompases the higher level test requirements.

UI support should be tracked outside the scope of this repo.

from electricui-embedded.

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.