LibDriver SX1262
Loading...
Searching...
No Matches
sx1262 register driver function

sx1262 register driver modules More...

Collaboration diagram for sx1262 register driver function:

Functions

uint8_t sx1262_set_fsk_whitening_initial_value (sx1262_handle_t *handle, uint16_t value)
 set the whitening initial value in FSK mode
uint8_t sx1262_get_fsk_whitening_initial_value (sx1262_handle_t *handle, uint16_t *value)
 get the whitening initial value in FSK mode
uint8_t sx1262_set_fsk_crc_initical_value (sx1262_handle_t *handle, uint16_t value)
 set the crc initial value in FSK mode
uint8_t sx1262_get_fsk_crc_initical_value (sx1262_handle_t *handle, uint16_t *value)
 get the crc initical value in FSK mode
uint8_t sx1262_set_fsk_crc_polynomial_value (sx1262_handle_t *handle, uint16_t value)
 set the crc polynomial value in FSK mode
uint8_t sx1262_get_fsk_crc_polynomial_value (sx1262_handle_t *handle, uint16_t *value)
 get the crc polynomial value in FSK mode
uint8_t sx1262_set_fsk_sync_word (sx1262_handle_t *handle, uint8_t sync_word[8])
 set the sync word in FSK mode
uint8_t sx1262_get_fsk_sync_word (sx1262_handle_t *handle, uint8_t sync_word[8])
 get the sync word in FSK mode
uint8_t sx1262_set_fsk_node_address (sx1262_handle_t *handle, uint8_t addr)
 set the node address in FSK mode
uint8_t sx1262_get_fsk_node_address (sx1262_handle_t *handle, uint8_t *addr)
 get the node address in FSK mode
uint8_t sx1262_set_fsk_broadcast_address (sx1262_handle_t *handle, uint8_t addr)
 set the broadcast address in FSK mode
uint8_t sx1262_get_fsk_broadcast_address (sx1262_handle_t *handle, uint8_t *addr)
 get the broadcast address in FSK mode
uint8_t sx1262_set_iq_polarity (sx1262_handle_t *handle, uint8_t setup)
 set the iq polarity
uint8_t sx1262_get_iq_polarity (sx1262_handle_t *handle, uint8_t *setup)
 get the iq polarity
uint8_t sx1262_set_lora_sync_word (sx1262_handle_t *handle, uint16_t sync_word)
 set the lora sync word
uint8_t sx1262_get_lora_sync_word (sx1262_handle_t *handle, uint16_t *sync_word)
 get the lora sync word
uint8_t sx1262_get_random_number (sx1262_handle_t *handle, uint32_t *r)
 get the random number
uint8_t sx1262_set_tx_modulation (sx1262_handle_t *handle, uint8_t modulation)
 set the tx modulation
uint8_t sx1262_get_tx_modulation (sx1262_handle_t *handle, uint8_t *modulation)
 get the tx modulation
uint8_t sx1262_set_rx_gain (sx1262_handle_t *handle, uint8_t gain)
 set the rx gain
uint8_t sx1262_get_rx_gain (sx1262_handle_t *handle, uint8_t *gain)
 get the rx gain
uint8_t sx1262_set_tx_clamp_config (sx1262_handle_t *handle, uint8_t config)
 set the tx clamp config
uint8_t sx1262_get_tx_clamp_config (sx1262_handle_t *handle, uint8_t *config)
 get the tx clamp config
uint8_t sx1262_set_ocp (sx1262_handle_t *handle, uint8_t ocp)
 set the ocp
uint8_t sx1262_get_ocp (sx1262_handle_t *handle, uint8_t *ocp)
 get the ocp
uint8_t sx1262_set_rtc_control (sx1262_handle_t *handle, uint8_t control)
 set the rtc control
uint8_t sx1262_get_rtc_control (sx1262_handle_t *handle, uint8_t *control)
 get the rtc control
uint8_t sx1262_set_xta_trim (sx1262_handle_t *handle, uint8_t trim)
 set the xta trim
uint8_t sx1262_get_xta_trim (sx1262_handle_t *handle, uint8_t *trim)
 get the xta trim
uint8_t sx1262_set_xtb_trim (sx1262_handle_t *handle, uint8_t trim)
 set the xtb trim
uint8_t sx1262_get_xtb_trim (sx1262_handle_t *handle, uint8_t *trim)
 get the xtb trim
uint8_t sx1262_set_dio3_output_control (sx1262_handle_t *handle, uint8_t control)
 set the dio3 output
uint8_t sx1262_get_dio3_output_control (sx1262_handle_t *handle, uint8_t *control)
 get the dio3 output
uint8_t sx1262_set_event_mask (sx1262_handle_t *handle, uint8_t mask)
 set the event mask
uint8_t sx1262_get_event_mask (sx1262_handle_t *handle, uint8_t *mask)
 get the event mask
uint8_t sx1262_set_dio_output_enable (sx1262_handle_t *handle, uint8_t enable)
 set the dio output enable
uint8_t sx1262_get_dio_output_enable (sx1262_handle_t *handle, uint8_t *enable)
 get the dio output enable
uint8_t sx1262_set_dio_input_enable (sx1262_handle_t *handle, uint8_t enable)
 set the dio input enable
uint8_t sx1262_get_dio_input_enable (sx1262_handle_t *handle, uint8_t *enable)
 get the dio input enable
uint8_t sx1262_set_pull_up_control (sx1262_handle_t *handle, uint8_t control)
 set the pull up control
uint8_t sx1262_get_pull_up_control (sx1262_handle_t *handle, uint8_t *control)
 get the pull up control
uint8_t sx1262_set_pull_down_control (sx1262_handle_t *handle, uint8_t control)
 set the pull down control
uint8_t sx1262_get_pull_down_control (sx1262_handle_t *handle, uint8_t *control)
 get the pull down control
uint8_t sx1262_set_fhss_hopping_enable (sx1262_handle_t *handle, uint8_t enable)
 set fhss hopping enable
uint8_t sx1262_get_fhss_hopping_enable (sx1262_handle_t *handle, uint8_t *enable)
 get fhss hopping enable
uint8_t sx1262_set_fhss_packet_length (sx1262_handle_t *handle, uint8_t len)
 set fhss packet length
uint8_t sx1262_get_fhss_packet_length (sx1262_handle_t *handle, uint8_t *len)
 get fhss packet length
uint8_t sx1262_set_fhss_nb_hopping_blocks (sx1262_handle_t *handle, uint8_t n)
 set fhss nb hopping blocks
uint8_t sx1262_get_fhss_nb_hopping_blocks (sx1262_handle_t *handle, uint8_t *n)
 get fhss nb hopping blocks
uint8_t sx1262_set_fhss_symbols_freq0 (sx1262_handle_t *handle, uint16_t num)
 set fhss freq0 symbols
uint8_t sx1262_get_fhss_symbols_freq0 (sx1262_handle_t *handle, uint16_t *num)
 get fhss freq0 symbols
uint8_t sx1262_set_fhss_freq0 (sx1262_handle_t *handle, uint32_t freq)
 set fhss freq0
uint8_t sx1262_get_fhss_freq0 (sx1262_handle_t *handle, uint32_t *freq)
 get fhss freq0
uint8_t sx1262_set_fhss_symbols_freq15 (sx1262_handle_t *handle, uint16_t num)
 set fhss freq15 symbols
uint8_t sx1262_get_fhss_symbols_freq15 (sx1262_handle_t *handle, uint16_t *num)
 get fhss freq15 symbols
uint8_t sx1262_set_fhss_freq15 (sx1262_handle_t *handle, uint32_t freq)
 set fhss freq15
uint8_t sx1262_get_fhss_freq15 (sx1262_handle_t *handle, uint32_t *freq)
 get fhss freq15

Detailed Description

sx1262 register driver modules

Function Documentation

◆ sx1262_get_dio3_output_control()

uint8_t sx1262_get_dio3_output_control ( sx1262_handle_t * handle,
uint8_t * control )

get the dio3 output

Parameters
[in]*handlepointer to an sx1262 handle structure
[out]*controlpointer to a dio3 output control buffer
Returns
status code
  • 0 success
  • 1 get dio3 output control failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 5107 of file driver_sx1262.c.

◆ sx1262_get_dio_input_enable()

uint8_t sx1262_get_dio_input_enable ( sx1262_handle_t * handle,
uint8_t * enable )

get the dio input enable

Parameters
[in]*handlepointer to an sx1262 handle structure
[out]*enablepointer to an enable settings buffer
Returns
status code
  • 0 success
  • 1 get dio input enable failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 5371 of file driver_sx1262.c.

◆ sx1262_get_dio_output_enable()

uint8_t sx1262_get_dio_output_enable ( sx1262_handle_t * handle,
uint8_t * enable )

get the dio output enable

Parameters
[in]*handlepointer to an sx1262 handle structure
[out]*enablepointer to an enable settings buffer
Returns
status code
  • 0 success
  • 1 get dio output enable failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 5283 of file driver_sx1262.c.

◆ sx1262_get_event_mask()

uint8_t sx1262_get_event_mask ( sx1262_handle_t * handle,
uint8_t * mask )

get the event mask

Parameters
[in]*handlepointer to an sx1262 handle structure
[out]*maskpointer to an event mask buffer
Returns
status code
  • 0 success
  • 1 get event mask failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 5195 of file driver_sx1262.c.

◆ sx1262_get_fhss_freq0()

uint8_t sx1262_get_fhss_freq0 ( sx1262_handle_t * handle,
uint32_t * freq )

get fhss freq0

Parameters
[in]*handlepointer to an sx1262 handle structure
[out]*freqpointer to a freq buffer
Returns
status code
  • 0 success
  • 1 get fhss freq0 failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 5997 of file driver_sx1262.c.

◆ sx1262_get_fhss_freq15()

uint8_t sx1262_get_fhss_freq15 ( sx1262_handle_t * handle,
uint32_t * freq )

get fhss freq15

Parameters
[in]*handlepointer to an sx1262 handle structure
[out]*freqpointer to a freq buffer
Returns
status code
  • 0 success
  • 1 get fhss freq15 failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 6186 of file driver_sx1262.c.

◆ sx1262_get_fhss_hopping_enable()

uint8_t sx1262_get_fhss_hopping_enable ( sx1262_handle_t * handle,
uint8_t * enable )

get fhss hopping enable

Parameters
[in]*handlepointer to an sx1262 handle structure
[out]*enablepointer to a bool value buffer
Returns
status code
  • 0 success
  • 1 get fhss hopping enable failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 5635 of file driver_sx1262.c.

◆ sx1262_get_fhss_nb_hopping_blocks()

uint8_t sx1262_get_fhss_nb_hopping_blocks ( sx1262_handle_t * handle,
uint8_t * n )

get fhss nb hopping blocks

Parameters
[in]*handlepointer to an sx1262 handle structure
[out]*npointer to a blocks buffer
Returns
status code
  • 0 success
  • 1 get fhss nb hopping blocks failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 5811 of file driver_sx1262.c.

◆ sx1262_get_fhss_packet_length()

uint8_t sx1262_get_fhss_packet_length ( sx1262_handle_t * handle,
uint8_t * len )

get fhss packet length

Parameters
[in]*handlepointer to an sx1262 handle structure
[out]*lenpointer to a length buffer
Returns
status code
  • 0 success
  • 1 get fhss packet length failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 5723 of file driver_sx1262.c.

◆ sx1262_get_fhss_symbols_freq0()

uint8_t sx1262_get_fhss_symbols_freq0 ( sx1262_handle_t * handle,
uint16_t * num )

get fhss freq0 symbols

Parameters
[in]*handlepointer to an sx1262 handle structure
[out]*numpointer to a symbols number buffer
Returns
status code
  • 0 success
  • 1 get fhss symbols freq0 failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 5902 of file driver_sx1262.c.

◆ sx1262_get_fhss_symbols_freq15()

uint8_t sx1262_get_fhss_symbols_freq15 ( sx1262_handle_t * handle,
uint16_t * num )

get fhss freq15 symbols

Parameters
[in]*handlepointer to an sx1262 handle structure
[out]*numpointer to a number buffer
Returns
status code
  • 0 success
  • 1 get fhss symbols freq15 failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 6091 of file driver_sx1262.c.

◆ sx1262_get_fsk_broadcast_address()

uint8_t sx1262_get_fsk_broadcast_address ( sx1262_handle_t * handle,
uint8_t * addr )

get the broadcast address in FSK mode

Parameters
[in]*handlepointer to an sx1262 handle structure
[out]*addrpointer to a broadcast address buffer
Returns
status code
  • 0 success
  • 1 get fsk broadcast address failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 4175 of file driver_sx1262.c.

◆ sx1262_get_fsk_crc_initical_value()

uint8_t sx1262_get_fsk_crc_initical_value ( sx1262_handle_t * handle,
uint16_t * value )

get the crc initical value in FSK mode

Parameters
[in]*handlepointer to an sx1262 handle structure
[out]*valuepointer to a value buffer
Returns
status code
  • 0 success
  • 1 get fsk crc initical value failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 3816 of file driver_sx1262.c.

◆ sx1262_get_fsk_crc_polynomial_value()

uint8_t sx1262_get_fsk_crc_polynomial_value ( sx1262_handle_t * handle,
uint16_t * value )

get the crc polynomial value in FSK mode

Parameters
[in]*handlepointer to an sx1262 handle structure
[out]*valuepointer to a value buffer
Returns
status code
  • 0 success
  • 1 get fsk crc polynomial value failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 3909 of file driver_sx1262.c.

◆ sx1262_get_fsk_node_address()

uint8_t sx1262_get_fsk_node_address ( sx1262_handle_t * handle,
uint8_t * addr )

get the node address in FSK mode

Parameters
[in]*handlepointer to an sx1262 handle structure
[out]*addrpointer to a node address buffer
Returns
status code
  • 0 success
  • 1 get fsk node address failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 4087 of file driver_sx1262.c.

◆ sx1262_get_fsk_sync_word()

uint8_t sx1262_get_fsk_sync_word ( sx1262_handle_t * handle,
uint8_t sync_word[8] )

get the sync word in FSK mode

Parameters
[in]*handlepointer to an sx1262 handle structure
[out]*sync_wordpointer to sync word buffer
Returns
status code
  • 0 success
  • 1 get fsk sync word failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 3999 of file driver_sx1262.c.

◆ sx1262_get_fsk_whitening_initial_value()

uint8_t sx1262_get_fsk_whitening_initial_value ( sx1262_handle_t * handle,
uint16_t * value )

get the whitening initial value in FSK mode

Parameters
[in]*handlepointer to an sx1262 handle structure
[out]*valuepointer to a value buffer
Returns
status code
  • 0 success
  • 1 get fsk whitening initial value failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 3723 of file driver_sx1262.c.

◆ sx1262_get_iq_polarity()

uint8_t sx1262_get_iq_polarity ( sx1262_handle_t * handle,
uint8_t * setup )

get the iq polarity

Parameters
[in]*handlepointer to an sx1262 handle structure
[out]*setuppointer to a settings buffer
Returns
status code
  • 0 success
  • 1 get iq polarity failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 4263 of file driver_sx1262.c.

◆ sx1262_get_lora_sync_word()

uint8_t sx1262_get_lora_sync_word ( sx1262_handle_t * handle,
uint16_t * sync_word )

get the lora sync word

Parameters
[in]*handlepointer to an sx1262 handle structure
[out]*sync_wordpointer to an sync word buffer
Returns
status code
  • 0 success
  • 1 get lora sync word failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 4354 of file driver_sx1262.c.

◆ sx1262_get_ocp()

uint8_t sx1262_get_ocp ( sx1262_handle_t * handle,
uint8_t * ocp )

get the ocp

Parameters
[in]*handlepointer to an sx1262 handle structure
[out]*ocppointer to an over current protection level buffer
Returns
status code
  • 0 success
  • 1 get ocp failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 4755 of file driver_sx1262.c.

◆ sx1262_get_pull_down_control()

uint8_t sx1262_get_pull_down_control ( sx1262_handle_t * handle,
uint8_t * control )

get the pull down control

Parameters
[in]*handlepointer to an sx1262 handle structure
[out]*controlpointer to a pull down control buffer
Returns
status code
  • 0 success
  • 1 get pull down control failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 5547 of file driver_sx1262.c.

◆ sx1262_get_pull_up_control()

uint8_t sx1262_get_pull_up_control ( sx1262_handle_t * handle,
uint8_t * control )

get the pull up control

Parameters
[in]*handlepointer to an sx1262 handle structure
[out]*controlpointer to a pull up control buffer
Returns
status code
  • 0 success
  • 1 get pull up control failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 5459 of file driver_sx1262.c.

◆ sx1262_get_random_number()

uint8_t sx1262_get_random_number ( sx1262_handle_t * handle,
uint32_t * r )

get the random number

Parameters
[in]*handlepointer to an sx1262 handle structure
[out]*rpointer to a random number buffer
Returns
status code
  • 0 success
  • 1 get random number failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 4400 of file driver_sx1262.c.

◆ sx1262_get_rtc_control()

uint8_t sx1262_get_rtc_control ( sx1262_handle_t * handle,
uint8_t * control )

get the rtc control

Parameters
[in]*handlepointer to an sx1262 handle structure
[out]*controlpointer to an rtc control buffer
Returns
status code
  • 0 success
  • 1 get rtc control failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 4843 of file driver_sx1262.c.

◆ sx1262_get_rx_gain()

uint8_t sx1262_get_rx_gain ( sx1262_handle_t * handle,
uint8_t * gain )

get the rx gain

Parameters
[in]*handlepointer to an sx1262 handle structure
[out]*gainpointer to an rx gain buffer
Returns
status code
  • 0 success
  • 1 get rx gain failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 4579 of file driver_sx1262.c.

◆ sx1262_get_tx_clamp_config()

uint8_t sx1262_get_tx_clamp_config ( sx1262_handle_t * handle,
uint8_t * config )

get the tx clamp config

Parameters
[in]*handlepointer to an sx1262 handle structure
[out]*configpointer to a tx clamp config buffer
Returns
status code
  • 0 success
  • 1 get tx clamp config failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 4667 of file driver_sx1262.c.

◆ sx1262_get_tx_modulation()

uint8_t sx1262_get_tx_modulation ( sx1262_handle_t * handle,
uint8_t * modulation )

get the tx modulation

Parameters
[in]*handlepointer to an sx1262 handle structure
[out]*modulationpointer to a tx modulation buffer
Returns
status code
  • 0 success
  • 1 get tx modulation failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 4491 of file driver_sx1262.c.

◆ sx1262_get_xta_trim()

uint8_t sx1262_get_xta_trim ( sx1262_handle_t * handle,
uint8_t * trim )

get the xta trim

Parameters
[in]*handlepointer to an sx1262 handle structure
[out]*trimpointer to an xta trim buffer
Returns
status code
  • 0 success
  • 1 get xta trim failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 4931 of file driver_sx1262.c.

◆ sx1262_get_xtb_trim()

uint8_t sx1262_get_xtb_trim ( sx1262_handle_t * handle,
uint8_t * trim )

get the xtb trim

Parameters
[in]*handlepointer to an sx1262 handle structure
[out]*trimpointer to an xtb trim buffer
Returns
status code
  • 0 success
  • 1 get xtb trim failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 5019 of file driver_sx1262.c.

◆ sx1262_set_dio3_output_control()

uint8_t sx1262_set_dio3_output_control ( sx1262_handle_t * handle,
uint8_t control )

set the dio3 output

Parameters
[in]*handlepointer to an sx1262 handle structure
[in]controldio3 output control
Returns
status code
  • 0 success
  • 1 set dio3 output control failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 5063 of file driver_sx1262.c.

◆ sx1262_set_dio_input_enable()

uint8_t sx1262_set_dio_input_enable ( sx1262_handle_t * handle,
uint8_t enable )

set the dio input enable

Parameters
[in]*handlepointer to an sx1262 handle structure
[in]enableenable settings
Returns
status code
  • 0 success
  • 1 set dio input enable failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 5327 of file driver_sx1262.c.

◆ sx1262_set_dio_output_enable()

uint8_t sx1262_set_dio_output_enable ( sx1262_handle_t * handle,
uint8_t enable )

set the dio output enable

Parameters
[in]*handlepointer to an sx1262 handle structure
[in]enableenable settings
Returns
status code
  • 0 success
  • 1 set dio output enable failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 5239 of file driver_sx1262.c.

◆ sx1262_set_event_mask()

uint8_t sx1262_set_event_mask ( sx1262_handle_t * handle,
uint8_t mask )

set the event mask

Parameters
[in]*handlepointer to an sx1262 handle structure
[in]maskevent mask
Returns
status code
  • 0 success
  • 1 set event mask failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 5151 of file driver_sx1262.c.

◆ sx1262_set_fhss_freq0()

uint8_t sx1262_set_fhss_freq0 ( sx1262_handle_t * handle,
uint32_t freq )

set fhss freq0

Parameters
[in]*handlepointer to an sx1262 handle structure
[in]freqset freq
Returns
status code
  • 0 success
  • 1 set fhss freq0 failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 5948 of file driver_sx1262.c.

◆ sx1262_set_fhss_freq15()

uint8_t sx1262_set_fhss_freq15 ( sx1262_handle_t * handle,
uint32_t freq )

set fhss freq15

Parameters
[in]*handlepointer to an sx1262 handle structure
[in]freqset freq
Returns
status code
  • 0 success
  • 1 set fhss freq15 failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 6137 of file driver_sx1262.c.

◆ sx1262_set_fhss_hopping_enable()

uint8_t sx1262_set_fhss_hopping_enable ( sx1262_handle_t * handle,
uint8_t enable )

set fhss hopping enable

Parameters
[in]*handlepointer to an sx1262 handle structure
[in]enableset params
Returns
status code
  • 0 success
  • 1 set fhss hopping enable failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 5591 of file driver_sx1262.c.

◆ sx1262_set_fhss_nb_hopping_blocks()

uint8_t sx1262_set_fhss_nb_hopping_blocks ( sx1262_handle_t * handle,
uint8_t n )

set fhss nb hopping blocks

Parameters
[in]*handlepointer to an sx1262 handle structure
[in]nset blocks
Returns
status code
  • 0 success
  • 1 set fhss nb hopping blocks failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 5767 of file driver_sx1262.c.

◆ sx1262_set_fhss_packet_length()

uint8_t sx1262_set_fhss_packet_length ( sx1262_handle_t * handle,
uint8_t len )

set fhss packet length

Parameters
[in]*handlepointer to an sx1262 handle structure
[in]lenset length
Returns
status code
  • 0 success
  • 1 set fhss packet length failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 5679 of file driver_sx1262.c.

◆ sx1262_set_fhss_symbols_freq0()

uint8_t sx1262_set_fhss_symbols_freq0 ( sx1262_handle_t * handle,
uint16_t num )

set fhss freq0 symbols

Parameters
[in]*handlepointer to an sx1262 handle structure
[in]numset symbols number
Returns
status code
  • 0 success
  • 1 set fhss symbols freq0 failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 5855 of file driver_sx1262.c.

◆ sx1262_set_fhss_symbols_freq15()

uint8_t sx1262_set_fhss_symbols_freq15 ( sx1262_handle_t * handle,
uint16_t num )

set fhss freq15 symbols

Parameters
[in]*handlepointer to an sx1262 handle structure
[in]numset symbols number
Returns
status code
  • 0 success
  • 1 set fhss symbols freq15 failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 6044 of file driver_sx1262.c.

◆ sx1262_set_fsk_broadcast_address()

uint8_t sx1262_set_fsk_broadcast_address ( sx1262_handle_t * handle,
uint8_t addr )

set the broadcast address in FSK mode

Parameters
[in]*handlepointer to an sx1262 handle structure
[in]addrbroadcast address
Returns
status code
  • 0 success
  • 1 set fsk broadcast address failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 4131 of file driver_sx1262.c.

◆ sx1262_set_fsk_crc_initical_value()

uint8_t sx1262_set_fsk_crc_initical_value ( sx1262_handle_t * handle,
uint16_t value )

set the crc initial value in FSK mode

Parameters
[in]*handlepointer to an sx1262 handle structure
[in]valueset value
Returns
status code
  • 0 success
  • 1 set fsk crc initial value failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 3769 of file driver_sx1262.c.

◆ sx1262_set_fsk_crc_polynomial_value()

uint8_t sx1262_set_fsk_crc_polynomial_value ( sx1262_handle_t * handle,
uint16_t value )

set the crc polynomial value in FSK mode

Parameters
[in]*handlepointer to an sx1262 handle structure
[in]valueset value
Returns
status code
  • 0 success
  • 1 set fsk crc polynomial value failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 3862 of file driver_sx1262.c.

◆ sx1262_set_fsk_node_address()

uint8_t sx1262_set_fsk_node_address ( sx1262_handle_t * handle,
uint8_t addr )

set the node address in FSK mode

Parameters
[in]*handlepointer to an sx1262 handle structure
[in]addrnode address
Returns
status code
  • 0 success
  • 1 set fsk node address failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 4043 of file driver_sx1262.c.

◆ sx1262_set_fsk_sync_word()

uint8_t sx1262_set_fsk_sync_word ( sx1262_handle_t * handle,
uint8_t sync_word[8] )

set the sync word in FSK mode

Parameters
[in]*handlepointer to an sx1262 handle structure
[in]*sync_wordpointer to sync word buffer
Returns
status code
  • 0 success
  • 1 set fsk sync word failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 3955 of file driver_sx1262.c.

◆ sx1262_set_fsk_whitening_initial_value()

uint8_t sx1262_set_fsk_whitening_initial_value ( sx1262_handle_t * handle,
uint16_t value )

set the whitening initial value in FSK mode

Parameters
[in]*handlepointer to an sx1262 handle structure
[in]valueset value
Returns
status code
  • 0 success
  • 1 set fsk whitening initial value failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 3676 of file driver_sx1262.c.

◆ sx1262_set_iq_polarity()

uint8_t sx1262_set_iq_polarity ( sx1262_handle_t * handle,
uint8_t setup )

set the iq polarity

Parameters
[in]*handlepointer to an sx1262 handle structure
[in]setupsettings
Returns
status code
  • 0 success
  • 1 set iq polarity failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 4219 of file driver_sx1262.c.

◆ sx1262_set_lora_sync_word()

uint8_t sx1262_set_lora_sync_word ( sx1262_handle_t * handle,
uint16_t sync_word )

set the lora sync word

Parameters
[in]*handlepointer to an sx1262 handle structure
[in]sync_wordsync word
Returns
status code
  • 0 success
  • 1 set lora sync word failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 4307 of file driver_sx1262.c.

◆ sx1262_set_ocp()

uint8_t sx1262_set_ocp ( sx1262_handle_t * handle,
uint8_t ocp )

set the ocp

Parameters
[in]*handlepointer to an sx1262 handle structure
[in]ocpover current protection level
Returns
status code
  • 0 success
  • 1 set ocp failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 4711 of file driver_sx1262.c.

◆ sx1262_set_pull_down_control()

uint8_t sx1262_set_pull_down_control ( sx1262_handle_t * handle,
uint8_t control )

set the pull down control

Parameters
[in]*handlepointer to an sx1262 handle structure
[in]controlpull down control
Returns
status code
  • 0 success
  • 1 set pull down control failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 5503 of file driver_sx1262.c.

◆ sx1262_set_pull_up_control()

uint8_t sx1262_set_pull_up_control ( sx1262_handle_t * handle,
uint8_t control )

set the pull up control

Parameters
[in]*handlepointer to an sx1262 handle structure
[in]controlpull up control
Returns
status code
  • 0 success
  • 1 set pull up control failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 5415 of file driver_sx1262.c.

◆ sx1262_set_rtc_control()

uint8_t sx1262_set_rtc_control ( sx1262_handle_t * handle,
uint8_t control )

set the rtc control

Parameters
[in]*handlepointer to an sx1262 handle structure
[in]controlrtc control
Returns
status code
  • 0 success
  • 1 set rtc control failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 4799 of file driver_sx1262.c.

◆ sx1262_set_rx_gain()

uint8_t sx1262_set_rx_gain ( sx1262_handle_t * handle,
uint8_t gain )

set the rx gain

Parameters
[in]*handlepointer to an sx1262 handle structure
[in]gainrx gain
Returns
status code
  • 0 success
  • 1 set rx gain failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 4535 of file driver_sx1262.c.

◆ sx1262_set_tx_clamp_config()

uint8_t sx1262_set_tx_clamp_config ( sx1262_handle_t * handle,
uint8_t config )

set the tx clamp config

Parameters
[in]*handlepointer to an sx1262 handle structure
[in]configtx clamp config
Returns
status code
  • 0 success
  • 1 set tx clamp config failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 4623 of file driver_sx1262.c.

◆ sx1262_set_tx_modulation()

uint8_t sx1262_set_tx_modulation ( sx1262_handle_t * handle,
uint8_t modulation )

set the tx modulation

Parameters
[in]*handlepointer to an sx1262 handle structure
[in]modulationtx modulation
Returns
status code
  • 0 success
  • 1 set tx modulation failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 4447 of file driver_sx1262.c.

◆ sx1262_set_xta_trim()

uint8_t sx1262_set_xta_trim ( sx1262_handle_t * handle,
uint8_t trim )

set the xta trim

Parameters
[in]*handlepointer to an sx1262 handle structure
[in]trimxta trim
Returns
status code
  • 0 success
  • 1 set xta trim failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 4887 of file driver_sx1262.c.

◆ sx1262_set_xtb_trim()

uint8_t sx1262_set_xtb_trim ( sx1262_handle_t * handle,
uint8_t trim )

set the xtb trim

Parameters
[in]*handlepointer to an sx1262 handle structure
[in]trimxtb trim
Returns
status code
  • 0 success
  • 1 set xtb trim failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 chip is busy
Note
none

Definition at line 4975 of file driver_sx1262.c.