nrfxlib API 0.1.0
Loading...
Searching...
No Matches
nrf_modem_dect_phy.h File Reference
#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  nrf_modem_dect_phy_modem_cfg
 Modem PHY configuration. More...
 
struct  nrf_modem_dect_phy_capability
 Modem PHY capabilities. More...
 
union  nrf_modem_dect_phy_hdr
 Physical header. More...
 
struct  nrf_modem_dect_phy_link_id
 Radio link identifier. More...
 
struct  nrf_modem_dect_phy_rx_filter
 Specification for reception filter. More...
 
struct  nrf_modem_dect_phy_rx_pcc_status
 Reception parameters (PCC). More...
 
struct  nrf_modem_dect_phy_rx_pdc_status
 Reception parameters (PDC). More...
 
struct  nrf_modem_dect_phy_rx_pcc_crc_failure
 Reception parameters for PCC CRC failures. More...
 
struct  nrf_modem_dect_phy_rx_pdc_crc_failure
 Reception parameters for PDC CRC failures. More...
 
struct  nrf_modem_dect_phy_rssi_meas
 RSSI measurement. More...
 
struct  nrf_modem_dect_phy_rx_params
 RX operation. More...
 
struct  nrf_modem_dect_phy_tx_params
 TX operation. More...
 
struct  nrf_modem_dect_phy_tx_rx_params
 Combined TX and RX operation. More...
 
struct  nrf_modem_dect_phy_rssi_params
 RSSI-1 measurement operation. More...
 
struct  nrf_modem_dect_phy_link_config_params
 Link configuration parameters. More...
 
struct  nrf_modem_dect_phy_callbacks
 DECT PHY callbacks. More...
 
struct  nrf_modem_dect_phy_init_params
 Configuration for DECT PHY interface. More...
 

Macros

#define NRF_MODEM_DECT_MODEM_TIME_TICK_RATE_KHZ   69120
 Modem time tick rate.
 
#define NRF_MODEM_DECT_SYMBOL_DURATION   2880
 Duration of a single DECT symbol in modem time units.
 
#define NRF_MODEM_DECT_LBT_PERIOD_MAX   (110 * NRF_MODEM_DECT_SYMBOL_DURATION)
 Maximum LBT measurement period in modem time units.
 
#define NRF_MODEM_DECT_LBT_PERIOD_MIN   (2 * NRF_MODEM_DECT_SYMBOL_DURATION)
 Minimum LBT measurement period in modem time units.
 
#define NRF_MODEM_DECT_PHY_RSSI_NOT_MEASURED   0
 Symbol RSSI not measured.
 
#define NRF_MODEM_DECT_PHY_TEMP_NOT_MEASURED   999
 Temperature not measured.
 
#define NRF_MODEM_DECT_PHY_RSSI2_NOT_MEASURED   -32768
 RSSI-2 not measured.
 
#define NRF_MODEM_DECT_PHY_SNR_NOT_MEASURED   -32768
 Signal to noise ratio not measured.
 
#define NRF_MODEM_DECT_PHY_BS_CQI_NOT_USED   0
 Buffer status and Channel quality indicator not used.
 
#define NRF_MODEM_DECT_PHY_LINK_UNSPECIFIED   ((struct nrf_modem_dect_phy_link_id){ 0 })
 Unspecified link identifier.
 

Enumerations

enum  nrf_modem_dect_phy_err {
  NRF_MODEM_DECT_PHY_SUCCESS = 0 , NRF_MODEM_DECT_PHY_ERR_LBT_CHANNEL_BUSY = 0x1 , NRF_MODEM_DECT_PHY_ERR_UNSUPPORTED_OP = 0x2 , NRF_MODEM_DECT_PHY_ERR_NO_ONGOING_OP = 0x3 ,
  NRF_MODEM_DECT_PHY_ERR_NO_MEMORY = 0x4 , NRF_MODEM_DECT_PHY_ERR_NOT_ALLOWED = 0x5 , NRF_MODEM_DECT_PHY_OK_WITH_HARQ_RESET = 0x6 , NRF_MODEM_DECT_PHY_ERR_OP_START_TIME_LATE = 0x1000 ,
  NRF_MODEM_DECT_PHY_ERR_LBT_START_TIME_LATE = 0x1001 , NRF_MODEM_DECT_PHY_ERR_RF_START_TIME_LATE = 0x1002 , NRF_MODEM_DECT_PHY_ERR_INVALID_START_TIME = 0x1003 , NRF_MODEM_DECT_PHY_ERR_OP_SCHEDULING_CONFLICT = 0x1004 ,
  NRF_MODEM_DECT_PHY_ERR_OP_TIMEOUT = 0x1005 , NRF_MODEM_DECT_PHY_ERR_NO_ONGOING_HARQ_RX = 0x1006 , NRF_MODEM_DECT_PHY_ERR_PARAMETER_UNAVAILABLE = 0x1007 , NRF_MODEM_DECT_PHY_ERR_PAYLOAD_UNAVAILABLE = 0x1008 ,
  NRF_MODEM_DECT_PHY_ERR_OP_CANCELED = 0x1009 , NRF_MODEM_DECT_PHY_ERR_COMBINED_OP_FAILED = 0x100A , NRF_MODEM_DECT_PHY_ERR_UNSUPPORTED_CARRIER = 0x6000 , NRF_MODEM_DECT_PHY_ERR_UNSUPPORTED_DATA_SIZE = 0x6001 ,
  NRF_MODEM_DECT_PHY_ERR_INVALID_NETWORK_ID = 0x6002 , NRF_MODEM_DECT_PHY_ERR_INVALID_PHY_HEADER = 0x6003 , NRF_MODEM_DECT_PHY_ERR_INVALID_DURATION = 0x6004 , NRF_MODEM_DECT_PHY_ERR_INVALID_PARAMETER = 0x6005 ,
  NRF_MODEM_DECT_PHY_ERR_MODEM_ERROR = 0x7000 , NRF_MODEM_DECT_PHY_ERR_MODEM_ERROR_RF_STATE = 0x7001 , NRF_MODEM_DECT_PHY_ERR_TEMP_HIGH = 0x7002 , NRF_MODEM_DECT_PHY_ERR_PROD_LOCK = 0x7003
}
 DECT PHY errors. More...
 
enum  nrf_modem_dect_phy_rx_mode { NRF_MODEM_DECT_PHY_RX_MODE_CONTINUOUS , NRF_MODEM_DECT_PHY_RX_MODE_SEMICONTINUOUS , NRF_MODEM_DECT_PHY_RX_MODE_SINGLE_SHOT }
 Reception mode. More...
 
enum  nrf_modem_dect_phy_rssi_interval { NRF_MODEM_DECT_PHY_RSSI_INTERVAL_OFF = 0 , NRF_MODEM_DECT_PHY_RSSI_INTERVAL_12_SLOTS = 12 , NRF_MODEM_DECT_PHY_RSSI_INTERVAL_24_SLOTS = 24 }
 RSSI reporting interval. More...
 
enum  nrf_modem_dect_phy_hdr_status { NRF_MODEM_DECT_PHY_HDR_STATUS_VALID = 0 , NRF_MODEM_DECT_PHY_HDR_STATUS_INVALID = 1 , NRF_MODEM_DECT_PHY_HDR_STATUS_VALID_RX_END = 2 }
 Physical header status. More...
 

Functions

int nrf_modem_dect_phy_callback_set (const struct nrf_modem_dect_phy_callbacks *cb)
 Set application callbacks for PHY operations.
 
int nrf_modem_dect_phy_capability_get (void)
 Retrieve DECT PHY capabilities.
 
int nrf_modem_dect_phy_init (const struct nrf_modem_dect_phy_init_params *params)
 Initialize DECT PHY interface.
 
int nrf_modem_dect_phy_deinit (void)
 De-initialize DECT PHY interface.
 
int nrf_modem_dect_phy_rx (const struct nrf_modem_dect_phy_rx_params *params)
 Schedule a reception.
 
int nrf_modem_dect_phy_tx (const struct nrf_modem_dect_phy_tx_params *params)
 Schedule a transmission.
 
int nrf_modem_dect_phy_tx_harq (const struct nrf_modem_dect_phy_tx_params *params)
 Schedule a HARQ response TX operation.
 
int nrf_modem_dect_phy_tx_rx (const struct nrf_modem_dect_phy_tx_rx_params *params)
 Schedule one TX and one RX operation.
 
int nrf_modem_dect_phy_rssi (const struct nrf_modem_dect_phy_rssi_params *params)
 Schedule an RSSI measurement operation.
 
int nrf_modem_dect_phy_rx_stop (uint32_t handle)
 Stop an ongoing reception.
 
int nrf_modem_dect_phy_link_config (const struct nrf_modem_dect_phy_link_config_params *params)
 Configure links.
 
int nrf_modem_dect_phy_time_get (void)
 Query modem time.