Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
lora_fake.h File Reference

Fake LoRa driver API functions. More...

#include <zephyr/drivers/lora.h>
#include <zephyr/fff.h>

Go to the source code of this file.

Functions

int fake_lora_config (const struct device *, const struct lora_modem_config *)
 Fake implementation of the lora_driver_api::config 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_send (const struct device *, uint8_t *, uint32_t)
 Fake implementation of the lora_driver_api::send 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_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_recv_async (const struct device *, lora_recv_cb, void *)
 Fake implementation of the lora_driver_api::recv_async 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_cad_async (const struct device *, lora_cad_cb, void *)
 Fake implementation of the lora_driver_api::cad_async driver operation.
int fake_lora_rssi (const struct device *, int16_t *)
 Fake implementation of the lora_driver_api::rssi 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_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_test_cw (const struct device *, uint32_t, int8_t, uint16_t)
 Fake implementation of the lora_driver_api::test_cw driver operation.

Detailed Description

Fake LoRa driver API functions.