3#include "main-header.h"
10#define SX1262_BUSY 205
11#define SX1262_RESET 213
13#define MCULIB_ERR_RET(txt, err) if (err != 0) { printf("mculib error: (%s) %i\r\n", txt, err); return err; }
18int sx1262_transmit(
struct network_context *ctx,
const uint8_t *buf, uint16_t size);
19void sx1262_irq(
int pin,
void *opaque);
21void sx1262_clear_rx_mode();
23void sx1262_set_lora_parameters(
void *ctx);
24void sx1262_set_packet_params(
void *ctx,
int payload_size);
25void sx1262_set_lora_packet_type(
void *ctx);
26void sx1262_switch_to_rx();
27int print_chip_status(
void *ctx,
int include_mode);
31int writeRegister(uint8_t reg, uint8_t value);
33void transmit_complete_irq();
34int sx1262_is_transmitting();
35void sx1262_done_transmit();
SX126x radio driver definition.
enum sx126x_cmd_status_e sx126x_cmd_status_t
SX126X command status enumeration definition.
enum sx126x_chip_modes_e sx126x_chip_modes_t
SX126X chip mode enumeration definition.