honeylight merge requestshttps://git.finf.uni-hannover.de/honeypot/honeylight/-/merge_requests2019-04-05T21:02:51Zhttps://git.finf.uni-hannover.de/honeypot/honeylight/-/merge_requests/3WIP: esp: add offset in packet protocol2019-04-05T21:02:51ZFjen UndsoWIP: esp: add offset in packet protocolThis uses the reserved byte in the protocol to implement an offset. The first LED data in the packet will be drawn starting at the pixel with given offset. The rest of the pixels will stay the same. ~~Surplus data at the end is ignored.~...This uses the reserved byte in the protocol to implement an offset. The first LED data in the packet will be drawn starting at the pixel with given offset. The rest of the pixels will stay the same. ~~Surplus data at the end is ignored.~~
Untested on real hardware. Some calculations and operations were tested on the [online micropython environment](http://micropython.org/unicorn/), to comply with the [quirks](http://docs.micropython.org/en/latest/wipy/genrst/builtin_types.html#bytearray) of micropython. The size of the micropython.native code should not exceed its limits.