Close

Remora now supports also udpx protocol

A project log for udpx

udpx is is a technology to transport data over WiFi to microcontrollers, supporting decompression

martin-fasaniMartin Fasani 01/06/2020 at 18:190 Comments

Remora our partner project to receive very short UDP messages and launch animations directly in the Espressif chip now supports receiving frame per frame animations too. The only limitation is the MTU of the ESP32/8266 that is about 1470 bytes so it allows to send 484 RGB pixels.

Our protocol consists of a 5 byte header and then per Pixel one byte for Red (0-255) , one for Green and next for Blue. 

In udpx we overcome this limitation offering zlib and Brotli compression. I find personally zlib decompression very good but Brotli has the benefit of better compression ratio (at the cost of spending more time)

Our Cordova Android app is JavaScript but the compression part uses Webassembly libraries to increase the speed at what is currently the fast programming language on a browser. There will be upcoming logs with more ideas and my own implementation tests. I’m looking forward for more people to test the protocol and to tweak/ fork our open source libraries with their own ideas.

Discussions