Go to the documentation of this file.
57 typedef uint16_t (*
rx_handler_cb_t) (uint8_t header, uint8_t length, uint8_t *p_payload);
void gdx_lcp_rx_window_size_set(uint32_t time_us)
Set LCP rx windows size.
uint16_t gdx_lcp_channel_get(uint32_t *freq_mhz)
Get the channel of LCP.
void gdx_lcp_r2t_turn_around_time_adjust(uint8_t added_us)
uint16_t gdx_lcp_init(gdx_lcp_config_t *gdx_lcp_config)
Initialize LCP.
uint32_t trx_timer_trigger_trx_time_us
uint32_t rx_window_size_us
PROTOCOL_MODE
Protocol Mode.
void gdx_lcp_deinit(void)
Deinitialize LCP.
void gdx_lcp_timer_binding(bool b_dual_timer, uint8_t timer_id)
uint16_t gdx_lcp_tx_power_set(int8_t txpwr_dbm)
Set the tx power of LCP.
uint16_t gdx_lcp_rx_stop(void)
Stop receiving packets.
uint16_t gdx_lcp_data_tx(uint8_t header, uint8_t length, uint8_t *p_payload)
Transmmit a packet.
uint16_t(* rx_handler_cb_t)(uint8_t header, uint8_t length, uint8_t *p_payload)
RX handler callback function.
uint16_t gdx_lcp_tx_power_get(int8_t *txpwr_dbm)
Get the tx power of LCP.
uint16_t gdx_lcp_channel_set(uint32_t freq_mhz)
Set the channel of LCP.
uint16_t gdx_lcp_rx_start(void)
Start receiving packets.
bool b_disable_rx_oneshot_mode
rx_handler_cb_t rx_handler_cb
void gdx_lcp_auto_txrx_mode_set(bool enable)
Auto TXRX mode enable or disable.
void(* rx_done_cb_t)(uint8_t type)
void(* tx_done_cb_t)(void)
void gdx_lcp_rx_oneshot_mode_set(bool enable)
Rx oneshot mode enable or disable.
void gdx_lcp_t2r_turn_around_time_adjust(uint8_t added_us)
uint16_t gdx_lcp_whitening_seed_set(uint8_t whitening_seed)
uint32_t trx_timer_period_us