Ares LoRa Firmware
Loading...
Searching...
No Matches
ares_lora_ctx Struct Reference

Ares LoRa instance context. More...

#include <lora.h>

Collaboration diagram for ares_lora_ctx:

Data Fields

struct ares_lora_buf rx_buf
struct ares_lora_buf tx_buf
struct k_poll_signal signals [ARES_LORA_SIGNALS]
struct k_poll_event events [ARES_LORA_SIGNALS]
const struct ares_lora_commandcommands
size_t num_commands
struct k_mutex wr_mtx
k_tid_t tid
uint16_t packet_id
uint8_t seq_num

Detailed Description

Ares LoRa instance context.

Field Documentation

◆ commands

const struct ares_lora_command* ares_lora_ctx::commands

Array of LoRa handlers for received packets.

◆ events

struct k_poll_event ares_lora_ctx::events[ARES_LORA_SIGNALS]

LoRa events.

◆ num_commands

size_t ares_lora_ctx::num_commands

The number of LoRa handlers.

◆ packet_id

uint16_t ares_lora_ctx::packet_id

The next packet ID.

◆ rx_buf

struct ares_lora_buf ares_lora_ctx::rx_buf

LoRa receive buffer.

◆ seq_num

uint8_t ares_lora_ctx::seq_num

The next sequence number.

◆ signals

struct k_poll_signal ares_lora_ctx::signals[ARES_LORA_SIGNALS]

LoRa event signals.

◆ tid

k_tid_t ares_lora_ctx::tid

Thread ID for LoRa.

◆ tx_buf

struct ares_lora_buf ares_lora_ctx::tx_buf

Lora transmit buffer.

◆ wr_mtx

struct k_mutex ares_lora_ctx::wr_mtx

Write mutex.


The documentation for this struct was generated from the following file: