October 26, 2026
Drone telemetry transmission system for the Airspace Control Department
Rafael Rocha Ferreira; Lucas José de Souza
DOI: 10.22167/2675-6528-202603404
Article derived from a Course Conclusion Work (TCC), with content based on the student’s original work and adapted to the editorial format of the E&S Magazine with the support of the ResumeAI tool, an artificial intelligence solution developed by Instituto Pecege for textual synthesis and organization.
Summary
The expansion of the use of remotely piloted aircraft in Brazil highlighted the absence of mechanisms that allow the Airspace Control Department (DECEA) to receive real-time telemetry data during flight operations, in accordance with international Remote ID policies. A prototype drone telemetry transmission system for DECEA was designed and implemented, composed of an Edge Client, on the pilot’s device, and a Bridge API, hosted in the cloud. The research was characterized as applied and exploratory, with an incremental approach, and the evaluation was conducted with ArduPilot SITL and Mission Planner 1.3.83. The Edge Client was developed in Python with pymavlink, operating via asyncio and WebSocket communication. The Bridge API was implemented in Java 21 with Spring Boot 3.3, PostgreSQL 16, and PostGIS 3.4, incorporating retry with exponential backoff, in-memory cache, and transmission auditing. The pipeline was validated end-to-end, with all 11 MAVLink message types being captured, processed, persisted, and retransmitted to a Mock DECEA. The system demonstrated resilient behavior in the simulated failure scenarios, with no loss of records. The prototype proved the technical feasibility of real-time integration of drone telemetry with a simulated DECEA receiver, conceptually aligning with ASTM F3411-22a and ASTM F3548-21 standards, and constituted a functional basis for future evolutions towards integration with the Department’s official systems.
Keywords: Remote ID; Unmanned Aircraft System; Unmanned Aircraft System; Unmanned Aircraft System Traffic Management.
1. Introduction
The use of remotely piloted aircraft, popularly known as drones, has expanded significantly in the last decade, encompassing civil applications and strategic activities for security, monitoring, and inspection. This growing adoption has brought with it the challenge of integrating such aircraft into the airspace safely and efficiently, highlighting the need for air traffic management systems specific to unmanned vehicles. Such systems must be aligned with the guidelines established by national and international aeronautical authorities (European Organisation for the Safety of Air Navigation, 2021; International Civil Aviation Organization, 2018).
In the Brazilian context, the Airspace Control Department (DECEA) acts as the central body for regulating drone operations. The Aeronáutica Command Instruction (ICA) 100-40 establishes the procedures and requirements for the use of airspace by remotely piloted aircraft (Brazil, 2023). Additionally, the Airspace Access Request System for Unmanned Aircraft (SARPAS NG) facilitates the digital request and authorization of flights (Brazil, 2021).
Despite these regulatory and operational advances, gaps persist that hinder real-time aircraft supervision. Most commercial drones transmit telemetry data only to the pilot, without continuous and automated forwarding to DECEA. This limitation restricts the authorities’ visibility during operations, a problem aggravated in rural or remote areas, where mobile network infrastructure is scarce or nonexistent (Zhang and Kosias, 2021).
In the international scenario, the secure integration of drones into airspace is guided by standards published by the American Society for Testing and Materials (ASTM). ASTM F3411-22a, titled “Standard Specification for Remote ID and Tracking”, defines the requirements for remote identification and tracking of unmanned aircraft. This standard allows for the real-time sharing of information such as the aircraft’s position, speed, and identity with competent authorities (United States of America, 2022), a concept that is progressively becoming mandatory in various jurisdictions (Federal Aviation Administration, 2021).
Complementarily, ASTM F3548-21 establishes the interoperability parameters between drone traffic management service providers, known as Unmanned Aircraft System Traffic Management (UTM). This interoperability is fundamental for the coordination of operations involving multiple actors in the airspace (United States of America, 2021; National Aeronautics and Space Administration, 2020).
Although SARPAS NG represents a consolidated tool for flight authorization, Brazil still lacks an integrated solution that allows DECEA to receive telemetry from aircraft in operation in real-time, as recommended by international standards (Brazil, 2021; United States of America, 2022; United States of America, 2021). This gap highlights the need for technological proposals that serve as a basis for the evolution of the national airspace management system and that allow companies in the sector to adapt in a structured manner to current and future regulations.
In this sense, this work had as a general objective to design and implement a prototype of a drone telemetry transmission system for DECEA, covering the survey of functional and non-functional requirements, the definition of a reference architecture documented by the C4 model, the development of two main modules, an edge telemetry agent (“Edge Client”) and an intermediation service (“Bridge API”), the conduction of tests in a simulated environment, and the analysis of the results in light of international standards ASTM F3411-22a and ASTM F3548-21 and the guidelines of ICA 100-40.
2. Material and Methods
The research was characterized as applied and exploratory, focusing on the construction and evaluation of a functional prototype of a telemetry transmission system for remotely piloted aircraft for the Airspace Control Department. An incremental software engineering approach was adopted, with cycles of design, implementation, and evaluation. A bibliographic and documentary survey was carried out, analyzing documents from DECEA (Brazil, 2023; Brazil, 2021) and international standards (United States of America, 2022; United States of America, 2021) related to Remote ID and UTM. Functional and non-functional requirements were identified.
Based on the requirements, a reference architecture was developed using the C4 model. Composed of two main modules. The “Edge Client”, developed in Python 3.12 with pymavlink, operated asynchronously to capture MAVLink messages and send them via WebSocket. The “Bridge API”, built in Java 21 with Spring Boot 3.3, was hosted in the cloud to receive, validate, normalize, and persist the data in PostgreSQL 16 with PostGIS 3.4. It incorporated retry mechanisms with exponential backoff, in-memory caching via Caffeine, and transmission auditing to the Mock DECEA, in addition to making data available to an interactive “frontend”.
The integration of the modules established a standardized JSON format messaging scheme. The prototype included basic security mechanisms, such as JWT token-based access control and role management by Spring Security in the “Bridge API”, aiming to ensure data confidentiality, integrity, and authenticity. The artifacts were documented by C4 architectural diagrams, configuration scripts, and code repositories versioned on GitHub.
The evaluation was conducted in a simulation environment, reproducing real flight and connectivity conditions. ArduPilot with Software In The Loop (SITL) and ArduCopter firmware, managed by Mission Planner 1.3.83, were employed. These tools are capable of generating realistic telemetry via the MAVLink protocol. The connection between the simulator and the “Edge Client” was established via TCP on port 5763, corresponding to the SITL’s SERIAL2 interface.
During the tests, the behavior in transient connectivity failure scenarios was verified, evaluating the effectiveness of the exponential backoff retry and automatic resend mechanisms implemented in the “Bridge API”. The metrics considered to evaluate resilience and efficiency included message delivery rate, average transmission latency, data loss percentage, and recovery time after reconnection.
The analysis of the results was performed qualitatively, considering observations related to robustness, compatibility, and limitations, without presenting empirical findings. The tools and technologies used, such as Python, Java, Spring Boot, PostgreSQL, PostGIS, Docker, and Docker Compose, were selected for their technological maturity and extensive documentation, ensuring reproducibility and portability.
The validation of the integrated pipeline confirmed that all 11 MAVLink message types were received, processed, persisted in PostgreSQL, and retransmitted to Mock DECEA. It demonstrated resilient behavior in simulated failure scenarios, with the exponential backoff retry mechanism ensuring automatic retransmission of undelivered records, without data loss.
The system remained conceptually aligned with the guidelines of ASTM F3411-22a and ASTM F3548-21, implementing the continuous transmission of essential attributes such as aircraft identifier, geographic coordinates, altitude, speed, and timestamp. Geospatial storage in PostGIS offered the infrastructure for future geofencing queries, as foreseen in the operational guidelines of DECEA (Brazil, 2023).
3. Results and Discussion
The drone telemetry transmission system prototype for the Airspace Control Department (DECEA) was designed, implemented, and validated in a simulated environment, demonstrating the technical feasibility of an integrated solution. The system architecture was conceived in two complementary modules: the Edge Client, responsible for data capture on the pilot’s device, and the Bridge API, in charge of receiving, processing, and retransmitting this data in the cloud. The comprehensive evaluation of the telemetry pipeline, from its origin in the simulated drone to the DECEA’s simulated receiver and the visualization frontend, confirmed the system’s functionality and robustness in operational and failure scenarios.
Development and validation of the “Edge Client”
The Edge Client was developed in Python 3.12, a choice motivated by the maturity of the pymavlink library, maintained by the ArduPilot team, and by the conciseness that the language offers, surpassing Java alternatives for this specific module. The Edge Client’s operation is asynchronous, utilizing the asyncio module to execute two loops in parallel via asyncio.gather. One loop is dedicated to the continuous reading of MAVLink messages, while the other is responsible for sending data to the Bridge API through WebSocket communication.
This architecture with decoupled loops, mediated by an asyncio.Queue with a capacity for five hundred messages, ensures that eventual slowness in the Bridge API does not block the reading of MAVLink messages, and vice versa. Such separation of responsibilities is fundamental to the principle of fault isolation, especially recommended in embedded system architectures operating with intermittent connectivity. The choice of the WebSocket protocol, over periodic HTTP POST, proved technically superior for real-time telemetry, as it eliminates the overhead of establishing new connections for each transmission, reducing latency and maintaining a persistent bidirectional channel throughout the flight operation.
Each MAVLink message captured by the Edge Client is converted into an individual JSON frame and transmitted over the WebSocket channel. This frame includes the aircraft identifier, the operator identifier, the MAVLink message type, the capture timestamp, and the raw data payload, without any filtering on the client. This design decision preserves the fidelity of the original data and delegates to the server the responsibility of controlling which message types should be processed, aligning with the principle of separation of responsibilities and simplifying the embedded module.
During the development of the Edge Client, five crucial technical challenges were identified and solved. The first challenge was the incompatibility of the asyncio.add_signal_handler method with the Windows platform, which generated a NotImplementedError. The solution involved implementing a runtime detection mechanism, with an automatic fallback to signal.signal, ensuring the portability of the Edge Client between different operating systems without altering the core logic of the code.
The second challenge arose from an interface change in the websockets library, where the additional_headers parameter was renamed to extra_headers in more recent versions. This issue was resolved by adjusting the parameter in the code and fixing a specific version range in the requirements.txt file, a practice that ensures the reproducibility of the execution environment and avoids future incompatibilities arising from library updates.
The third technical challenge was a port conflict: UDP port 14550, traditionally used by MAVLink applications, was already occupied by Mission Planner in the development environment. The use of TCP port 5763 as an alternative connection point, kept available by ArduPilot SITL as a SERIAL2 interface, resolved the conflict without the need for changes in the simulator’s configuration, allowing for efficient communication.
The fourth challenge was the exclusive reception of HEARTBEAT messages right after connection establishment, a default behavior of ArduPilot on SERIAL2 connections, which starts with a reduced stream rate. The implemented solution was the explicit sending of the MAV_DATA_STREAM_ALL command at 10 Hz immediately after connection, through the request_data_stream_send function, which enabled the reception of all MAVLink message types available for telemetry.
The fifth and final technical challenge was receiving heartbeat packets with a system ID of zero, which represented invalid broadcasts issued before the aircraft’s actual heartbeat and caused errors in initial processing. To circumvent this, a validation loop was implemented that ignores packets with a zero system ID and waits for a valid system identifier before initiating the telemetry capture pipeline, ensuring the integrity of the processed data.
After resolving these technical challenges, the complete Edge Client flow was validated end-to-end in a simulation environment. With the simulated drone flying in ArduCopter SITL, the eleven MAVLink message types were correctly received and logged by the Bridge API debug server. The messages included GLOBAL_POSITION_INT (latitude, longitude, altitude, and velocities), ATTITUDE (roll, pitch, yaw, and angular rates), VFR_HUD (airspeed, groundspeed, heading, and climb rate), GPS_RAW_INT (GPS fix, visible satellites, and HDOP), BATTERY_STATUS (voltage, current, and remaining charge), SYS_STATUS (overall system status), HEARTBEAT (flight mode and armed/disarmed state), RC_CHANNELS (radio control channels), SERVO_OUTPUT_RAW (motor and servo output), MISSION_CURRENT (current Waypoint being executed), and NAV_CONTROLLER_OUTPUT (navigation error). This validation confirmed the integrity of the telemetry capture and transmission pipeline, demonstrating that the use of the MAVLink protocol in conjunction with WebSocket is a viable solution for real-time drone telemetry transmission.
Development and validation of the “Bridge API”
The Bridge API was developed in Java 21 with Spring Boot 3.3, a technological combination chosen for the maturity of the Spring ecosystem, for its support of Virtual Threads, which simplifies the implementation of high-efficiency concurrent operations, and for its alignment with the long-term support version of the Java platform. The system was structured in layers with a unidirectional data flow, where aircraft transmit telemetry to the ingestion layer, which forwards it to the processing service, responsible for data normalization, validation, and persistence.
In parallel, the processed data are retransmitted to a Mock DECEA and published to an interactive frontend via WebSocket. The adopted database was PostgreSQL 16 with the PostGIS 3.4 extension, a choice based on the need to efficiently store and query geospatial data. The GEOMETRY (Point, 4326) column in the telemetry records table enabled native spatial queries, such as distance calculation, detection of aircraft within restricted airspace polygons, and trajectory analysis, functionalities identified as essential for a potential system evolution towards the concept of geofencing by Flight Information Region (FIR), aligned with DECEA’s operational guidelines (Brazil, 2023). Database schema version control was managed by Flyway, simplifying and ensuring the traceability and reproducibility of migrations across different environments.
The TelemetryService, a central component of the Bridge API, was responsible for validating received data, converting units from the MAVLink system to the metric system, including transforming geographic coordinates (latitude and longitude) from the raw MAVLink integer format (multiplied by 10^7) to decimal degrees, and converting node speeds to kilometers per hour. Additionally, this service generated PostGIS geometry and automatically classified the aircraft’s flight phase into four states: CLIMBING, DESCENDING, LEVEL, and GROUND. An in-memory cache, implemented with Caffeine, stored the most recent positions of each aircraft, enabling immediate responses to frontend requests without needing to query the database on every update.
The DeceaAdapterService implemented asynchronous data sending to the Mock DECEA service with an automatic retry mechanism of up to three attempts, using exponential backoff with an initial delay of one second, doubled with each attempt. This resilience strategy is consistent with best practices for integration between distributed services and directly addresses the risk of temporary unavailability of the receiver, a plausible scenario in a real-scale air traffic monitoring system. All transmissions to Mock DECEA were audited in a dedicated table in the database, with records of the sent payload, the HTTP response status, and the timestamp of each attempt, which enables complete traceability of communications between the proposed system and the simulated DECEA receiver.
The TelemetryScheduler managed three timed routines essential for system robustness. The first routine performed the eviction of inactive aircraft from the map after thirty seconds without an update, with notification to the frontend via WebSocket. The second routine automatically resent, every thirty seconds, records that were not successfully transmitted to the Mock DECEA. The third routine logged system performance metrics every sixty seconds. These routines ensured the system’s resilient behavior even in transient failure scenarios, without the need for manual operator intervention.
The DECEA Mock was implemented as a standalone Spring Boot controller, with inspection endpoints that allowed verification of the data received during integration tests. This approach enabled the validation of the complete relay flow without dependence on real external interfaces. However, it is recognized that integration with DECEA’s actual systems would require institutional agreements and access to staging environments that go beyond the scope of an academic postgraduate work, given that the Department does not yet have an active system for receiving this Remote ID data.
The frontend was developed in HTML with Leaflet.js for interactive map rendering and STOMP.js for WebSocket communication, being embedded in the Spring Boot JAR itself as static content served by the embedded Tomcat. The map adopted an aeronautical aesthetic inspired by radar systems, with SVG aircraft icons that rotate according to the received heading and display the track of the last ten positions of each aircraft. A side panel displayed live metrics of altitude, speed, heading, and flight phase. The decision to keep the frontend embedded in the JAR simplified deployment for the prototype stage, although for a production version, separation into an independent repository and process would be more suitable, allowing independent scaling of frontend and backend.
The system infrastructure was containerized using Docker and Docker Compose, with a PostgreSQL image already configured with the PostGIS extension. This approach ensured the reproducibility of the execution environment and the system’s portability across different platforms, characteristics relevant for both development continuity and eventual deployment in a staging environment with DECEA. The technological decisions for the Bridge API, including Java 21 and Spring Boot 3.3 for the backend, PostgreSQL 16 and PostGIS 3.4 for the database, Flyway for migrations, Spring WebFlux for the HTTP client, STOMP over SockJS for WebSocket, Caffeine for caching, Spring Retry for automatic retries, and Actuator, Micrometer, and Prometheus for observability, were justified by their maturity, efficiency, and suitability for real-time data processing and transmission.
Validation of the integrated “pipeline” and compliance with standards
The integration between the Edge Client and the Bridge API was validated end-to-end in a simulation environment. ArduCopter SITL generated realistic telemetry data, transmitted via MAVLink TCP to the Edge Client in Python, which forwarded it via WebSocket to the Bridge API in Java. The complete flow was confirmed with all eleven MAVLink message types being received, processed, persisted in PostgreSQL, and retransmitted to the Mock DECEA, in addition to being published to the frontend via STOMP, where the aircraft icons were updated on the map in real-time with rotation corresponding to the received heading.
The system demonstrated resilient behavior in the simulated failure scenarios. The retry mechanism with exponential backoff of the DeceaAdapterService ensured the automatic retransmission of records not delivered to the Mock DECEA, without data loss. The eviction job of the TelemetryScheduler correctly removed inactive aircraft from the map after the configured period, with notification to the frontend via WebSocket. Additionally, the automatic reconnection mechanism of the Edge Client to the Bridge API’s WebSocket, also with exponential backoff, maintained the continuity of the data flow after simulated connectivity interruptions, evidencing the prototype’s robustness.
Regarding regulatory compliance, the developed system remained conceptually aligned with the guidelines established by ASTM F3411-22a (United States of America, 2022), which defines specifications for the remote identification and tracking of unmanned aircraft. The prototype implemented the continuous transmission of essential attributes foreseen in this standard, such as the aircraft’s unique identifier, geographic coordinates, altitude, speed, and reading timestamp. The adoption of a standardized JSON messaging scheme and well-defined REST interfaces in the Bridge API also aligns with the premises of interoperability between unmanned aircraft traffic management service providers established by ASTM F3548-21 (United States of America, 2021).
The geospatial storage in PostGIS additionally offered the necessary infrastructure for the future implementation of geofencing queries by FIR, a functionality foreseen in the DECEA operational guidelines (Brazil, 2023). The proposed system’s approximation to these international standards is consistent with Brazil’s ongoing process of adaptation to global air traffic management norms, as signaled by DECEA through SARPAS NG (Brazil, 2021). Although full compatibility with regulatory specifications requires integration with official DECEA interfaces and certification by competent bodies, steps that go beyond the scope of an academic prototype, the work demonstrated the technical feasibility of the proposed solution and produced a functional codebase that can serve as a reference for future institutional initiatives.
In summary, the prototype of a drone telemetry transmission system for DECEA demonstrated the technical feasibility of an integrated and resilient solution for real-time monitoring of remotely piloted aircraft. The Edge Client and Bridge API modules, developed with robust technologies and asynchronous architecture, ensured the efficient capture, processing, and retransmission of telemetry data, even in failure scenarios. The conceptual alignment with international standards ASTM F3411-22a and ASTM F3548-21, along with the geospatial storage capability, positions this work as a solid functional basis for the evolution of Brazilian airspace management systems, contributing to safety and regulatory compliance.
4. Conclusion
This work was dedicated to designing and implementing a prototype drone telemetry transmission system for the Airspace Control Department (DECEA), aiming to fill the gap in mechanisms for real-time data reception. The technical feasibility of the solution was verified through the development of two main modules: the Edge Client, responsible for capturing MAVLink data on the pilot’s device, and the Bridge API, in charge of processing, persisting, and retransmitting this data to the cloud. The Edge Client, developed in Python, demonstrated robustness in the asynchronous capture of eleven types of MAVLink messages and in WebSocket communication, overcoming technical challenges of portability and configuration. The Bridge API, implemented in Java with Spring Boot and PostgreSQL/PostGIS, presented a resilient architecture, with retry and cache mechanisms, and geospatial storage capacity, essential for future functionalities such as geofencing. The complete pipeline was validated in a simulated environment, confirming the capture, processing, and retransmission of data to a simulated DECEA receiver, without loss of records in failure scenarios. This approach proved the effectiveness of real-time integration of drone telemetry, conceptually aligning with international standards ASTM F3411-22a and ASTM F3548-21.
The study’s main contribution lies in demonstrating the technical feasibility of an integrated solution for monitoring remotely piloted aircraft, establishing a functional basis for the evolution of Brazilian airspace management systems. However, it is recognized that the prototype has limitations inherent to its academic nature, such as exclusive evaluation in a simulated environment and the absence of integration with DECEA’s real systems, in addition to the lack of authentication at the ingestion endpoints. For future studies, it is suggested to conduct tests with physical aircraft in the field, integrate with the official SARPAS NG interface, and replace the in-memory STOMP broker with a more robust solution, such as Apache Kafka, to support a larger volume of simultaneous aircraft. Additionally, it is recommended to explore Remote ID support via local broadcasting, aiming to improve regulatory compliance and system scalability towards an operational-level solution.
Bibliographic References
Brasil. 2021. SARPAS NG Sistema de Solicitação de Acesso ao Espaço Aéreo por Aeronaves Não Tripuladas. Brasília, DF, Brasil: Departamento de Controle do Espaço Aéreo. Disponível em: <https://www.decea.mil.br/sarpas/>. Acesso em: 21 set. 2025.
Brasil. 2023. ICA 100-40 Aeronaves não tripuladas e o acesso ao espaço aéreo brasileiro. Comando da Aeronáutica. Departamento de Controle do Espaço Aéreo, Rio de Janeiro, RJ, Brasil.
Estados Unidos da América, 2021 [Referência completa não encontrada no documento original]
Estados Unidos da América, 2022 [Referência completa não encontrada no documento original]
European Organisation for the Safety of Air Navigation [EUROCONTROL]. 2021. Drone traffic management: U-Space and UTM developments in Europe. European Organisation for the Safety of Air Navigation, Bruxelas, Bélgica.
Federal Aviation Administration [FAA]. 2021. Remote Identification of Unmanned Aircraft. Federal Aviation Administration, Washington, DC, EUA.
International Civil Aviation Organization [ICAO]. 2018. Manual on Remotely Piloted Aircraft Systems (RPAS). Doc 10019, International Civil Aviation Organization, Montreal, Canadá.
National Aeronautics and Space Administration [NASA]. 2020. Unmanned Aircraft System (UAS) Traffic Management (UTM) Concept of Operations. NASA Ames Research Center, Moffett Field, CA, EUA.
Zhang, J.; Kosias, N. 2021. Challenges in UAS traffic management implementation in rural environments. Journal of Aerospace Information Systems 18(9): 412-423.
Article originating from the Final Course Work of the Specialization in Software Engineering of the MBA USP/Esalq
To learn more about the course, click here and access the MBX Academy platform