13#ifndef ZEPHYR_INCLUDE_DRIVERS_LORA_LORA_FAKE_H_
14#define ZEPHYR_INCLUDE_DRIVERS_LORA_LORA_FAKE_H_
17#include <zephyr/fff.h>
61#if defined(CONFIG_LORA_FAKE_OPTIONAL_API) || defined(__DOXYGEN__)
int fake_lora_test_cw(const struct device *, uint32_t, int8_t, uint16_t)
Fake implementation of the lora_driver_api::test_cw driver operation.
int fake_lora_send_async(const struct device *, uint8_t *, uint32_t, struct k_poll_signal *)
Fake implementation of the lora_driver_api::send_async driver operation.
int fake_lora_send(const struct device *, uint8_t *, uint32_t)
Fake implementation of the lora_driver_api::send driver operation.
int fake_lora_config(const struct device *, const struct lora_modem_config *)
Fake implementation of the lora_driver_api::config driver operation.
int fake_lora_recv_duty_cycle(const struct device *, k_timeout_t, k_timeout_t, uint8_t *, uint8_t, k_timeout_t, int16_t *, int8_t *)
Fake implementation of the lora_driver_api::recv_duty_cycle driver operation.
int fake_lora_cad(const struct device *, k_timeout_t)
Fake implementation of the lora_driver_api::cad driver operation.
int fake_lora_recv_async(const struct device *, lora_recv_cb, void *)
Fake implementation of the lora_driver_api::recv_async driver operation.
int fake_lora_recv_duty_cycle_async(const struct device *, k_timeout_t, k_timeout_t, lora_recv_cb, void *)
Fake implementation of the lora_driver_api::recv_duty_cycle_async driver operation.
int fake_lora_cad_async(const struct device *, lora_cad_cb, void *)
Fake implementation of the lora_driver_api::cad_async driver operation.
uint32_t fake_lora_airtime(const struct device *, uint32_t)
Fake implementation of the lora_driver_api::airtime driver operation.
int fake_lora_recv(const struct device *, uint8_t *, uint8_t, k_timeout_t, int16_t *, int8_t *)
Fake implementation of the lora_driver_api::recv driver operation.
int fake_lora_rssi(const struct device *, int16_t *)
Fake implementation of the lora_driver_api::rssi driver operation.
void(* lora_cad_cb)(const struct device *dev, bool activity_detected, void *user_data)
Callback API for channel activity detection asynchronously.
Definition lora.h:333
void(* lora_recv_cb)(const struct device *dev, uint8_t *data, uint16_t size, int16_t rssi, int8_t snr, void *user_data)
Callback API for receiving data asynchronously.
Definition lora.h:323
Main header file for LoRa driver API.
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
__UINT16_TYPE__ uint16_t
Definition stdint.h:89
__INT8_TYPE__ int8_t
Definition stdint.h:72
__INT16_TYPE__ int16_t
Definition stdint.h:73
Runtime device structure (in ROM) per driver instance.
Definition device.h:543
Poll signal object.
Definition kernel.h:6814
Kernel timeout type.
Definition clock.h:65
Structure containing the configuration of a LoRa modem.
Definition lora.h:227