Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
ePacket UDP interface

ePacket UDP interface More...

Macros

#define epacket_udp_frame   epacket_v0_unversioned_frame_format
 UDP interface frame format, epacket_v0_unversioned_frame_format.

Enumerations

enum  epacket_flags_udp { EPACKET_FLAGS_UDP_SINGLE_TX = BIT(1) , EPACKET_FLAGS_UDP_ALWAYS_RX = BIT(0) }
 UDP specific packet flags. More...

Functions

void epacket_udp_flags_set (uint16_t flags)
 Set flags for the UDP interface.

Detailed Description

ePacket UDP interface

Macro Definition Documentation

◆ epacket_udp_frame

Enumeration Type Documentation

◆ epacket_flags_udp

#include </__w/infuse-sdk/infuse-sdk/infuse-sdk/include/infuse/epacket/interface/epacket_udp.h>

UDP specific packet flags.

Enumerator
EPACKET_FLAGS_UDP_SINGLE_TX 

Packet is a single transmission on the interface.

This can be used for backends as a hint that the interface can be dropped back to an idle state (e.g LTE RAI). If this flag is set and additional packets are queued, there may be power, time and efficiency implications.

EPACKET_FLAGS_UDP_ALWAYS_RX 

Device is always available to receive packets.

Function Documentation

◆ epacket_udp_flags_set()

void epacket_udp_flags_set ( uint16_t flags)

#include </__w/infuse-sdk/infuse-sdk/infuse-sdk/include/infuse/epacket/interface/epacket_udp.h>

Set flags for the UDP interface.

Parameters
flagsBitmask of epacket_flags_udp flags