esp: cleanup code. optimize memory and speed
This removes old unused code and uses memory efficient bytearrays and const values. It also improves the packet processing speed, but the bottleneck is the wifi for the moment.
This removes old unused code and uses memory efficient bytearrays and const values. It also improves the packet processing speed, but the bottleneck is the wifi for the moment.