2019-01-03 15:52:52 -07:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "sdkconfig.h"
|
|
|
|
|
2019-01-15 18:04:16 -08:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2019-01-03 15:52:52 -07:00
|
|
|
#ifdef CONFIG_SX127X_USE_NANOPB
|
|
|
|
|
|
|
|
#include "sx127x_driver.h"
|
|
|
|
|
|
|
|
#include <pb_common.h>
|
|
|
|
|
|
|
|
esp_err_t sx127x_send_packet_pb(sx127x_hndl hndl, const pb_field_t fields[],
|
|
|
|
void *src_struct, TickType_t ticks_to_wait);
|
|
|
|
|
|
|
|
#endif
|
2019-01-15 18:04:16 -08:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|