Ares LoRa Firmware
Loading...
Searching...
No Matches
lora_backend.h File Reference

LoRa transport layer header. More...

#include <lora/lora.h>
#include <zephyr/drivers/lora.h>
#include <zephyr/kernel.h>
Include dependency graph for lora_backend.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  lora_common
 LoRa transfer layer common internals. More...
struct  lora_async_driven
 LoRa async driven transport layer internals. More...

Macros

#define LORA_BACKEND_TX_RINGBUF_SIZE   512
#define LORA_BACKEND_RX_RINGBUF_SIZE   512
#define LORA_STRUCT   struct lora_async_driven
#define LORA_DEFINE(_name)
 Macro for creating a lora transport instance.

Functions

const struct ares_loraares_lora_backend_lora_get_ptr (void)
 Provides pointer to the ares_lora backend instance.

Variables

const struct ares_lora_transport_api ares_lora_transport_api

Detailed Description

LoRa transport layer header.

Date
3/24/26
Author
Tom Schmitz <tschm.nosp@m.itz@.nosp@m.andre.nosp@m.w.cm.nosp@m.u.edu>

Macro Definition Documentation

◆ LORA_BACKEND_RX_RINGBUF_SIZE

#define LORA_BACKEND_RX_RINGBUF_SIZE   512

Buffer size for the Tx ring buffer.

◆ LORA_BACKEND_TX_RINGBUF_SIZE

#define LORA_BACKEND_TX_RINGBUF_SIZE   512

Buffer size for the Tx ring buffer.

◆ LORA_DEFINE

#define LORA_DEFINE ( _name)
Value:
static LORA_STRUCT UTIL_CAT(_name, _backend_lora); \
static struct ares_lora_transport _name = { \
.ctx = &UTIL_CAT(_name, _backend_lora)}
#define LORA_STRUCT
Definition lora_backend.h:112
Unified LoRa transport interface.
Definition lora.h:45
Transfer interface.
Definition lora.h:130

Macro for creating a lora transport instance.

Parameters
[in]_nameThe instance name.

◆ LORA_STRUCT

#define LORA_STRUCT   struct lora_async_driven

LoRa transport implementation struct.

Function Documentation

◆ ares_lora_backend_lora_get_ptr()

const struct ares_lora * ares_lora_backend_lora_get_ptr ( void )

Provides pointer to the ares_lora backend instance.

Returns
Pointer to the lora instance.

Variable Documentation

◆ ares_lora_transport_api

const struct ares_lora_transport_api ares_lora_transport_api
extern

LoRa transport API.