#pragma once #include "sdkconfig.h" #ifdef __cplusplus extern "C" { #endif #ifdef CONFIG_SX127X_USE_NANOPB #include "sx127x_driver.h" #include esp_err_t sx127x_send_packet_pb(sx127x_hndl hndl, const pb_field_t fields[], void *src_struct, TickType_t ticks_to_wait); #endif #ifdef __cplusplus } #endif