Giter VIP home page Giter VIP logo

schc's People

Contributors

hquynguyen avatar ivajloip avatar kqorany avatar ltn22 avatar pclavier92 avatar tkerdonc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

schc's Issues

Pylint improvement

Current pylint score is -7.58
branch pylint_improvement aims at bettering that score

Python code structure

The python code is currently all contained in the python folder. It might be a good idea to separate the core code of the library from tests, docs and samples (sensor.py)

Example makefile overwrites lib

The makefile provided with examples would probably go easier on the device's flash if it did not directly write all files to it, but first check if it exists/changed using ampy get

Pytest implementation

This is an issue to discuss and keep track of the implementation of automated tests for the python part of the project. These tests are being implemented in branch pytest_implementation_2

Simple example

The current python example presents a very full and realistic use case, combining compression with CBOR, adaptative LoRa datarate or actual sensor interfaceing.
It would however be more easy to discover SCHC with a simpler example doing only dummy CoAP traffic and SCHC compression

Python web server example

The current web server example, intented to be ran on the LoRa backend, is located in the javascript folder and implemented in the same language. It would be more efficient to reuse the python implementation in native python (since the tests already pass, it should be quick) in order to avoid code duplication.
Once this is done, it will be time to discuss completely ditching the javascript code.

Makefile for examples

With the new code structure from #6, a makefile would be useful in order to properly flash an example on a device.

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.