Coder Social home page Coder Social logo

Comments (1)

AlCalzone avatar AlCalzone commented on September 25, 2024

A little brainstorming:

✔️ I like the tag format
✔️ Work with unicode symbols instead of full sentences more often
❓ Fixed width to right-align tags? 80/100/120 chars?

logging namespaces:

  • io: lowest level, contains raw data (transmitted and received):

    [TX] 0xc0ffee...deadbeef (26 bytes)
    [RX] [ACK] (0x01) # special handling for one-byte messages
    [RX] 0xbada55 (3 bytes)
         ⇒ Buffer: 0x01bada55 (4 bytes)
    
  • driver: interpretation of the data in message form, basic control flow:

    [TX] [Req] [AddNodeToNetwork] (...message specific...) --> {priority, transmit options, ...}
    [TX] [Req] [AddNodeToNetwork] (...message specific...) --> {attempt #2}
    ...
    [TX] [Req] [AddNodeToNetwork] (...message specific...) --> {giving up}
    ...
    [TX] [Req] [AddNodeToNetwork] (...message specific...) --> {priority, transmit options, ...}
    [RX] [Req] [AddNodeToNetwork] [Done] [Node 2] --> {final response / confirmation / ...}
    ...
    [TX] [Req] [NodeId: 7] [SendData] [BasicCCGet] --> {priority, callback id, tx options}
    ...
    [RX] [Req] [ERROR]
         Dropping message with invalid payload:
         0xabcd...ef12 (15 bytes)
    
  • node: interview process and specific data

    TODO: find a concise form
    
  • values: value events

    [Value added] [BatteryCC] [Endpoint 1] isLow = false
    

from node-zwave-js.

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.