Communication between two ESPs that is not WIFI

Maybe try to improve your question by providing more details what you want to achieve and what are the limitations youe face in particular?

https://xyproblem.info/