Commit Graph

22 Commits

Author SHA1 Message Date
92130d4a7a feat: add TX/RX pin state management and initialize pins correctly 2025-08-08 11:28:12 +08:00
0bdd03aedc feat: improve error handling for radio operations and streamline logging 2025-08-08 10:43:50 +08:00
1237e5ea48 refactor: update TAG constants and improve logging format in SPI implementation 2025-08-07 19:25:16 +08:00
edcdc779d9 refactor: remove unnecessary reset call in begin function 2025-08-07 16:11:25 +08:00
059070e146 refactor: update Instant usage and adjust regulator configuration 2025-08-07 16:00:31 +08:00
7637906efe feat: enhance error handling and add device error reporting for radio operations 2025-08-07 15:36:20 +08:00
72299b62ce feat: add option to disable radio calibration and update status error handling 2025-08-07 14:51:57 +08:00
c4a61d2708 feat: add TX continuous wave mode and update regulator mode handling 2025-08-07 12:01:12 +08:00
249c125447 refactor: adjust SPI transaction queue size and improve read_stream validation 2025-08-07 11:06:03 +08:00
ffcaba10fd refactor: remove mut_shared_buffer function and streamline buffer handling in SPI transactions 2025-08-07 00:26:53 +08:00
6269bb99c4 feat: add spi_config_t structure and update init function to accept configuration 2025-08-06 23:54:13 +08:00
1d31faef01 refactor: unify string conversion functions for LoRaBandwidth and LoRaCodingRate 2025-08-04 15:37:04 +08:00
04efb1e40b feat: add irq_status_t structure and update get_irq_status to use it
feat: implement string conversion functions for CommandStatus and ChipMode enums
2025-08-04 15:02:18 +08:00
0653fc2e3d fix: increase delay duration in reset function and adjust data reading logic 2025-08-04 11:56:47 +08:00
fca2e8cc47 refactor: improve function signatures and type safety in llcc68 definitions
- Removed unnecessary include of <cstddef>.
- Updated function signatures to use trailing return types and added [[nodiscard]] attribute for better safety and clarity.
- Standardized float literals to use uppercase 'F' for consistency.
- Simplified the valid_ldr_optimize function for improved readability.
2025-06-05 16:31:44 +08:00
dbeab21efa fix: typo 2025-06-04 11:26:26 +08:00
c549538844 Enhance llcc68 definitions with new bandwidth and coding rate enums
- Added a new bandwidth enum value for 7.8MHz and corresponding string conversion function.
- Introduced a string conversion function for coding rates.
- Implemented a utility function to safely convert uint8_t to optional for spreading factors.
- Enhanced the modulation parameters structure with a to_string method for better representation.
2025-06-03 18:33:51 +08:00
ee1c1a0497 major: refactor
- Introduced new enums for LoRa bandwidth and coding rate to improve clarity.
- Updated default values for preamble length, frequency, bandwidth, and coding rate.
- Added new structures for modulation and packet parameters, encapsulating related settings.
- Refactored functions to utilize the new structures, improving parameter management in the llcc68 component.
2025-05-30 16:15:41 +08:00
4602468822 Update GPIO header inclusion in llcc68 template file
- Replaced the inclusion of `<driver/gpio.h>` with `<soc/gpio_num.h>` to align with the updated GPIO handling in the llcc68 component.
2025-05-19 18:09:28 +08:00
b99d063bd8 Add .gitignore file and refactor llcc68 component
- Added a comprehensive .gitignore file to exclude unnecessary files and directories for various platforms and tools.
- Removed the llcc68.cpp source file as part of the refactoring process.
- Updated llcc68.hpp to replace the `init_exti` function declaration with inline interrupt configuration logic.
- Changed `EXTI_PIN` to `EXTI_PINS` for clarity and consistency.
- Refactored the handling of CAD parameters and improved type safety by using `enum class` for `CAD_EXIT_MODE` and `CAD_SYMB`.
2025-05-15 11:20:50 +08:00
162dbad6e1 Add interrupt pin configuration for DIO1_PIN in llcc68 2025-05-14 12:34:19 +08:00
d24d9d5dda init 2025-05-14 12:17:06 +08:00