LibDriver LLCC68  1.0.0
LLCC68 full-featured driver
driver_llcc68_lora.h File Reference

driver llcc68 lora header file More...

Go to the source code of this file.

Macros

#define LLCC68_LORA_DEFAULT_STOP_TIMER_ON_PREAMBLE   LLCC68_BOOL_FALSE
 llcc68 lora example default definition More...
 
#define LLCC68_LORA_DEFAULT_REGULATOR_MODE   LLCC68_REGULATOR_MODE_DC_DC_LDO
 
#define LLCC68_LORA_DEFAULT_PA_CONFIG_DUTY_CYCLE   0x02
 
#define LLCC68_LORA_DEFAULT_PA_CONFIG_HP_MAX   0x03
 
#define LLCC68_LORA_DEFAULT_TX_DBM   17
 
#define LLCC68_LORA_DEFAULT_RAMP_TIME   LLCC68_RAMP_TIME_10US
 
#define LLCC68_LORA_DEFAULT_SF   LLCC68_LORA_SF_9
 
#define LLCC68_LORA_DEFAULT_BANDWIDTH   LLCC68_LORA_BANDWIDTH_125_KHZ
 
#define LLCC68_LORA_DEFAULT_CR   LLCC68_LORA_CR_4_5
 
#define LLCC68_LORA_DEFAULT_LOW_DATA_RATE_OPTIMIZE   LLCC68_BOOL_FALSE
 
#define LLCC68_LORA_DEFAULT_RF_FREQUENCY   480000000U
 
#define LLCC68_LORA_DEFAULT_SYMB_NUM_TIMEOUT   0
 
#define LLCC68_LORA_DEFAULT_SYNC_WORD   0x3444U
 
#define LLCC68_LORA_DEFAULT_RX_GAIN   0x94
 
#define LLCC68_LORA_DEFAULT_OCP   0x38
 
#define LLCC68_LORA_DEFAULT_PREAMBLE_LENGTH   12
 
#define LLCC68_LORA_DEFAULT_HEADER   LLCC68_LORA_HEADER_EXPLICIT
 
#define LLCC68_LORA_DEFAULT_BUFFER_SIZE   255
 
#define LLCC68_LORA_DEFAULT_CRC_TYPE   LLCC68_LORA_CRC_TYPE_ON
 
#define LLCC68_LORA_DEFAULT_INVERT_IQ   LLCC68_BOOL_FALSE
 
#define LLCC68_LORA_DEFAULT_CAD_SYMBOL_NUM   LLCC68_LORA_CAD_SYMBOL_NUM_2
 
#define LLCC68_LORA_DEFAULT_CAD_DET_PEAK   24
 
#define LLCC68_LORA_DEFAULT_CAD_DET_MIN   10
 
#define LLCC68_LORA_DEFAULT_START_MODE   LLCC68_START_MODE_WARM
 
#define LLCC68_LORA_DEFAULT_RTC_WAKE_UP   LLCC68_BOOL_TRUE
 

Functions

uint8_t llcc68_lora_irq_handler (void)
 llcc68 lora irq More...
 
uint8_t llcc68_lora_init (void(*callback)(uint16_t type, uint8_t *buf, uint16_t len))
 lora example init More...
 
uint8_t llcc68_lora_deinit (void)
 lora example deinit More...
 
uint8_t llcc68_lora_set_continuous_receive_mode (void)
 lora example enter to the continuous receive mode More...
 
uint8_t llcc68_lora_set_shot_receive_mode (double us)
 lora example enter to the shot receive mode More...
 
uint8_t llcc68_lora_set_send_mode (void)
 lora example enter to the send mode More...
 
uint8_t llcc68_lora_send (uint8_t *buf, uint16_t len)
 lora example send lora data More...
 
uint8_t llcc68_lora_run_cad (llcc68_bool_t *enable)
 lora example run the cad More...
 
uint8_t llcc68_lora_get_status (float *rssi, float *snr)
 lora example get the status More...
 
uint8_t llcc68_lora_check_packet_error (llcc68_bool_t *enable)
 lora example check packet error More...
 
uint8_t llcc68_lora_sleep (void)
 lora example enter to the sleep mode More...
 
uint8_t llcc68_lora_wake_up (void)
 lora example wake up the chip More...
 

Detailed Description

driver llcc68 lora header file

Copyright (c) 2015 - present LibDriver All rights reserved

The MIT License (MIT)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Version
1.0.0
Author
Shifeng Li
Date
2023-04-15

history

Date Version Author Description
2023/04/15 1.0 Shifeng Li first upload

Definition in file driver_llcc68_lora.h.