Giter Site home page Giter Site logo

Comments (5)

curzon01 avatar curzon01 commented on May 30, 2024

Which version do you use (parameter -V) and which executable (python interpreter, windows or Linux exec)
Simply extract "header" object from JSON output, this contains the most info

from decode-config.

meingraham avatar meingraham commented on May 30, 2024

I upgraded the device to 7.1.2.4. The extra characters issue was there with 6.6.0.16 and with the current version. I'm using Python on Raspbian. I grabbed decode-config.py last night.

from decode-config.

curzon01 avatar curzon01 commented on May 30, 2024

possible to get the 'header' from JSON output? e.g.

sudo apt install jq
./decode-config.py -d device | jq '.header'

from decode-config.

meingraham avatar meingraham commented on May 30, 2024
{
  "data": {
    "crc": "0xb392",
    "crc32": "0xb55a993e",
    "size": 4096,
    "version": "0x7010204"
  },
  "format": {
    "jsoncompact": false,
    "jsonhidepw": false,
    "jsonindent": null,
    "jsonsort": true
  },
  "os": [
    "armv7l",
    "Linux",
    "4.19.66-v7+",
    "#1253 SMP Thu Aug 15 11:49:46 BST 2019",
    "Linux-4.19.66-v7+-armv7l-with-debian-9.11"
  ],
  "python": "3.5.3",
  "script": {
    "name": "decode-config.py",
    "version": "7.1.1.1 [00043]"
  },
  "template": {
    "crc": "0xb392",
    "crc32": "0xb55a993e",
    "size": 4096,
    "version": "0x7010204"
  },
  "timestamp": "2019-12-10 16:25:10"
}

from decode-config.

curzon01 avatar curzon01 commented on May 30, 2024

thx, will have a look...

from decode-config.

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.