Giter Site home page Giter Site logo

which crc lib? about arduinobleota HOT 5 CLOSED

sdetweil avatar sdetweil commented on July 30, 2024
which crc lib?

from arduinobleota.

Comments (5)

vovagorodok avatar vovagorodok commented on July 30, 2024

BleOta uses default CRC32 calculation. Find nodejs library with that

from arduinobleota.

sdetweil avatar sdetweil commented on July 30, 2024

thanks. first two produce different results...

from arduinobleota.

vovagorodok avatar vovagorodok commented on July 30, 2024

Hmm, am I understand correctly uploader.sh and flutter app has different crc result for same binary?

from arduinobleota.

sdetweil avatar sdetweil commented on July 30, 2024

correctly uploader.sh and flutter app has different crc result for same binary
no, you just use two different approaches, flutter is from one buffer, uploader is incremental

man this is harder than it should be

download the same file from the same server, wrote a node test app

same crc as your lib
your lib gets the data from my app (so that is good)
my app calculates from full data (like you flutter app) like the node test app

node test app 226795867
your lib 226795867

my app BEFORE sending the data 3074055154, technically the crc lib returns signed number -1220912142

finally had to embed in source
https://stackoverflow.com/questions/18638900/javascript-crc32

from arduinobleota.

sdetweil avatar sdetweil commented on July 30, 2024

working

from arduinobleota.

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.