Demo Purpose
🔤 Acronyms? See the Glossary
Standalone Device​
This second use case illustrates how a standalone device operating FreeRTOS can send uplink packets to a UDP server platform and also process UDP downlink packets. A complete stack from OS up to application server is embedded on the microprocessor to guarantee its autonomy.
This Demo allows to test the deployment of Acklio FullSDK on the device.
Only Class C devices are supported by this use case.
Recommendations​
- FreeRTOS
- Python 3
- Board: STM32L476RG by Nucleo with SX1276MB1MAS LoRa expansion board
- A LoRa Network Server and a LoRa gateway
- Ubuntu 20.04 LTS to run Acklio Software
- Acklio IPCore and Acklio VPN Agent
Demo Functioning​
This example demonstrates how to use Acklio FullSDK to exchange IPv6/UDP frames between a standalone device application on FreeRTOS and a UDP server application.
The device application sends messages to the server application periodically and on user action. The server application has two roles:
- Displaying every received message.
- Sending two types of messages to the device application: either a large or a short message. The device simply accepts the large message, while it replies to the short one.
The word "message" is used to name a sequence of bytes sent in two different contexts:
- Within the IP stack from one layer to another one.
- Between the device application and the server application.
This example uses ASCII messages to exchange information between the device and the server application. In a production system, binary messages would be used since they are shorter while transferring the same amount of information.