Demo Purpose
🔤 Acronyms? See the Glossary
End-to-End UDP Communication​
This first use case illustrates an end-to-end communication from a UDP client to a UDP server in a Python environment. It allows to test uplink and downlink packet transmission from a device (a board for the purpose of the Demo) and a destination server, via Acklio IPCore and Acklio VPN agent.
Acklio FullSDK is embedded into the AT Modem application.
Class A and Class C devices are supported by this use case.
Recommendations​
- Python 3
- AT Modem by DTG with serial port terminal (such as minicom)
- Board – Use either:
- Shield Semtech LR1110DVK1TBKS with development kit or sx1261
- A LoRa Network Server and a LoRa gateway
- Ubuntu 20.04 LTS to run Acklio Software
- Acklio IPCore and Acklio VPN Agent
Demo Functioning​
The Demo repository for this use case provides both a UDP client and a UDP Server that communicate by exchanging messages.
- The UDP client sends messages to the UDP server on a periodic basis.
- The UDP server displays every received message to the user and then, sends a message back to the UDP client.
- The UDP client in turn displays every received message.
It also demonstrates how Acklio FullSDK allows sending IPv6/UDP frames to a UDP server by using the AT commands of the SDK Datagram interface.
In this example, IPv6 and UDP layers are fully compressed by Acklio FullSDK limiting over-the-air transmission to the UDP payload. Which represents 48 bytes less per message.
In the case when fragmentation is also necessary, Acklio FullSDK uses the Ack-On-Error mode, as described in the SCHC template configured in Acklio IPCore.