Important, all the OpenThread CLI commands are accessible using LoRa.cli("command"), the complete list of commands is here. Please note some commands, can't execute, as some functionalities are not implemented (ex: Commissioning Role, Joiner Role, DNS).
This example shows how to:
enable LoRa-Mesh network
find neighbors (parent, children, other router direct connections)
send PING to neighbors
open UDP socket for:
listening incoming UDP packets and answering back (ACK)
sending packets to all neighbors
toggle LED as packet/ping is received.
The LoRa-Mesh socket supports only the following socket methods: close(), bind(), sendto(), and recvfrom().