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);
uint16_t gdx_lcp_init(gdx_lcp_config_t *gdx_lcp_config)
Initialize LCP.
PROTOCOL_MODE
Protocol Mode.
int8_t gdx_lcp_rssi_get(void)
Get the rssi of LCP.
uint16_t gdx_lcp_tx_power_set(int8_t txpwr_dbm)
Set the tx power of LCP.
void gdx_lcp_rate_set(bool rate)
Set the rate of LCP.
uint16_t gdx_lcp_rx_stop(void)
Stop receiving packets.
bool gdx_lcp_rate_get(void)
Get the rate of LCP.
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_rx_start(void)
Start receiving packets.
uint16_t gdx_lcp_channel_set(uint32_t freq, uint8_t ch_idx)
Set the channel of LCP.
rx_handler_cb_t rx_handler_cb
uint16_t gdx_lcp_deinit(void)
Deinitialize LCP.
uint16_t gdx_lcp_channel_get(uint32_t *freq, uint8_t *ch_idx)
Get the channel of LCP.