MCPcopy Create free account
hub / github.com/OpenHD/OpenHD / transmit_telemetry_data

Method transmit_telemetry_data

OpenHD/ohd_interface/src/microhard_link.cpp:474–479  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

472}
473
474void MicrohardLink::transmit_telemetry_data(OHDLink::TelemetryTxPacket packet) {
475 const auto destination_ip = m_profile.is_air ? DEVICE_IP_GND : DEVICE_IP_AIR;
476 m_telemetry_tx_rx->forwardPacketViaUDP(
477 destination_ip, MICROHARD_UDP_PORT_TELEMETRY_AIR_TX, packet.data->data(),
478 packet.data->size());
479}
480
481void MicrohardLink::transmit_video_data(
482 int stream_index,

Callers

nothing calls this directly

Calls 2

forwardPacketViaUDPMethod · 0.80
sizeMethod · 0.80

Tested by

no test coverage detected