19#ifndef RN2XX3_INTERNAL_H
20#define RN2XX3_INTERNAL_H
High-level driver for the RN2483/RN2903 LoRa modules.
void rn2xx3_hex_to_bytes(const char *hex, uint8_t *byte_array)
Convert a string of hex to an array of bytes.
int rn2xx3_process_reply(rn2xx3_t *dev)
Process a command network reply.
void rn2xx3_cmd_start(rn2xx3_t *dev)
Starts writing a command with the content of the device command buffer.
int rn2xx3_cmd_finalize(rn2xx3_t *dev)
Finalize a command.
void rn2xx3_cmd_append(rn2xx3_t *dev, const uint8_t *data, uint8_t data_len)
Appends data to a command.
int rn2xx3_mac_tx_finalize(rn2xx3_t *dev)
Finalize the TX command.
void rn2xx3_set_internal_state(rn2xx3_t *dev, uint8_t state)
Sets internal device state.
int rn2xx3_process_response(rn2xx3_t *dev)
Process a command immediate response.
void rn2xx3_mac_tx_start(rn2xx3_t *dev)
Starts writing a tx command.
RN2483/RN2903 device descriptor.