Comments (3)
hmmm i think that could be done via extern functions that are used for a certain CKSUM type
from tinyframe.
Hmm, would be very neat if you could supply your own CRC function, in case of STM MCU's with builtin CRC calc unit.
from tinyframe.
As for the CRC8, the number 1 implementation from this has worked well for me. It's a Maxim/Dallas implementation with 0x31 as the polynomial, 0x0 as init and final Xor value, with the input and result reflected.
from tinyframe.
Related Issues (20)
- Update readme
- Allow custom CRC functions
- Add optional error reporting
- Add notes to the README about TF_Accept HOT 5
- Optional device address fields
- Disallow SOF in messages to handle mid-message death HOT 6
- java implemen?? HOT 1
- add macro t calculat overal overhead size HOT 2
- multiple instances with different frame structure? HOT 3
- A demo of using the Payloadparser HOT 2
- TF_CKSUM_NONE can lead to memory corruption if RX message too large HOT 2
- if TF_CKSUM_NONE is used, we can use memcpy instead of single byte copy loop
- ,
- Maybe should add some ack mechanism HOT 1
- tinyframe-js HOT 4
- TODO: void ** attribute in listeners and send funcs for data passing to listeners
- TODO: Built-in timeout for ID listeners with timed-out callback
- Make TinyFrame reentrant / support multiple instances
- Don't call listeners with NULL data for clean-up after self-close with TF_CLOSE
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tinyframe.