Which kind of compression can be used to transfer data over BLE uart #1553
Unanswered
espruino-discuss
asked this question in
JavaScript
Replies: 3 comments
-
Posted at 2021-06-16 by John Does https://github.com/gfwilliams/heatshrink-js help for that? Alternatively, maybe https://github.com/systemmonkey42/node-heatshrink |
Beta Was this translation helpful? Give feedback.
0 replies
-
Posted at 2021-06-16 by @gfwilliams As @john says - I think the heatshrink-js build is what you want. It should be compatible with Node.js and it's the exact same algorithm and settings used for Espruino |
Beta Was this translation helpful? Give feedback.
0 replies
-
Posted at 2021-06-16 by @MaBecker Thanks @john and @gfwilliams |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2021-06-15 by @MaBecker
Hi have a 2k JSON and would like to send it compressed data over BLE uart.
On Espruino we have
require("heatshrink").compress(data)
.Does any one know a compatible way for nodejs to compress data that can be uncompressed in Espruino?
Beta Was this translation helpful? Give feedback.
All reactions