ltn22 / schc Goto Github PK
View Code? Open in Web Editor NEWSCHC implementation for Python and Javascript
License: GNU General Public License v3.0
SCHC implementation for Python and Javascript
License: GNU General Public License v3.0
Current pylint score is -7.58
branch pylint_improvement aims at bettering that score
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)
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
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
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
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.
With the new code structure from #6, a makefile would be useful in order to properly flash an example on a device.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.