This example contains a LoRa duplex code to exchange GPS data between 2 nodes of the ESP32-based T-Beam by Xinyuan LilyGO version
T22_V1.1, 20191212. After exchanging the GPS data, it will display its own latitude-longitude as well as the Haversine distance between the 2 notes on the OLED display.
Use this code with duplex b.
byte localAddress = 0xAA; byte destination = 0xBB;
4 types of information are shown on the OLED display: