#pragma once namespace data { enum Mode : uint8_t { none, local, stream, flash, }; void update(); unsigned read(char* data, unsigned len); };