esp_netif_lora/include/esp_netif_lora.h
Morgan 'ARR\!' Allen a893586025 major driver cleanup to support multi IF, move most/all globals into _init
this needs more testing, error handling. see #1
2026-03-18 10:50:32 -07:00

16 lines
352 B
C

#ifndef __ESP_NETIF_LORA_H__
#define __ESP_NETIF_LORA_H__
#include "esp_netif.h"
#include "esp32-lora.h"
typedef struct esp_netif_lora_config_t {
uint8_t mac[6];
esp_netif_ip_info_t ip_info;
lora32_cfg_t *lora;
esp_netif_t *netif;
} esp_netif_lora_config_t;
esp_err_t esp_netif_lora_init(esp_netif_lora_config_t *netif_lora_config);
#endif