Use std::array<char> for rx buffer