Go to the documentation of this file.
38 #define NETOPT_MAX_PACKET_SIZE NETOPT_MAX_PDU_SIZE
@ NETOPT_IPV6_ADDR_FLAGS
(array of uint8_t) get the flags to the addresses returned by NETOPT_IPV6_ADDR as array
@ NETOPT_IPV6_IID
(eui64_t) get the IPv6 interface identifier of a network interface
@ NETOPT_LORAWAN_APPKEY
(uint8_t*) LoRaWAN application key (16 bytes length)
@ NETOPT_IS_CHANNEL_CLR
(netopt_enable_t) check whether the network medium is clear
netopt_t
Global list of configuration options available throughout the network stack, e.g.
@ NETOPT_LORAWAN_PUBLIC_NETWORK
(netopt_enable_t) LoRaWAN public network
@ NETOPT_ACK_PENDING
(netopt_enable_t) frame pending bit of ACKs
@ NETOPT_PROTO
(gnrc_nettype_t) the protocol for the layer
@ NETOPT_SYNCWORD
(uint8_t*) phy layer syncword
@ NETOPT_MR_OFDM_MCS
(uint8_t) MR-OFDM PHY Modulation and Coding Scheme (Values: 0-6)
@ NETOPT_MR_OFDM_OPTION
(uint8_t) MR-OFDM PHY Option (Values: 1-4)
netopt_enable_t
Binary parameter for enabling and disabling options.
@ NETOPT_PREAMBLE_LENGTH
(uint16_t) preamble length
@ NETOPT_DEMOD_MARGIN
(uint8_t) Get the demodulation margin of the last Link Check request.
@ NETOPT_L2FILTER
(l2filter_t) add an address to a link layer filter list
@ NETOPT_IPV6_ADDR_REMOVE
(ipv6_addr_t) Removes an IPv6 address from an interface
@ NETOPT_RX_TIMEOUT
(uint32_t) reception timeout of a frame
@ NETOPT_CCA_THRESHOLD
(int8_t) CCA threshold for the radio transceiver
@ NETOPT_ENCRYPTION
(netopt_enable_t) link layer encryption.
@ NETOPT_ADDRESS
(byte array, see below) link layer address in network byte order
@ NETOPT_MAC_NO_SLEEP
(netopt_enable_t) block transceiver sleep
@ NETOPT_STATE
(netopt_state_t) state of network device
@ NETOPT_LAST_ED_LEVEL
(int8_t) Energy level during the last performed CCA or RX frame
@ NETOPT_DISABLE
disable a given option
@ NETOPT_LINK
(netopt_enable_t) network interface link status.
@ NETOPT_MR_FSK_FEC
(uint8_t) MR-FSK PHY Forward Error Correction
@ NETOPT_CHANNEL_PAGE
(uint16_t) channel page as defined by IEEE 802.15.4
@ NETOPT_RF_TESTMODE_CTX_CW
carrier wave continuous tx mode
@ NETOPT_IPV6_FORWARDING
(netopt_enable_t) IPv6 forwarding state
@ NETOPT_IPV6_GROUP
(ipv6_addr_t) get IPv6 multicast groups of an interface as array of ipv6_addr_t or join an IPv6 multi...
@ NETOPT_ENCRYPTION_KEY
(byte array) set encryption key
@ NETOPT_INTEGRITY_CHECK
(netopt_enable_t) frame integrity check (e.g CRC)
@ NETOPT_LORAWAN_DEVICE_CLASS
(uint8_t) LoRaWAN device class (A, B, C)
@ NETOPT_RSSI
(int8_t) Received Signal Strength Indicator (RSSI)
@ NETOPT_CSMA_MAXBE
(uint8_t) maximum backoff exponent for the CSMA-CA algorithm
@ NETOPT_MR_FSK_MODULATION_ORDER
(uint8_t) MR-FSK Modulation Order
@ NETOPT_RF_TESTMODE
(netopt_rf_testmode_t) Test mode for the radio, e.g.
@ NETOPT_LORAWAN_NWKSKEY
(uint8_t*) LoRaWAN network session key (16 bytes length)
@ NETOPT_RX_START_IRQ
(netopt_enable_t) trigger interrupt at reception start
@ NETOPT_TX_RETRIES_NEEDED
(uint8_t) retry amount from missing ACKs of the last transmission
@ NETOPT_PDU_SIZE
(uint16_t) protocol data unit size
@ NETOPT_TX_END_IRQ
(netopt_enable_t) trigger interrupt after frame transmission
@ NETOPT_TX_POWER
(int16_t) transmit power for radio devices in dBm
@ NETOPT_FIXED_HEADER
(netopt_enable_t) fixed header mode
@ NETOPT_IPV6_SND_RTR_ADV
(netopt_enable_t) sending of IPv6 router advertisements
@ NETOPT_IPV6_ADDR
(ipv6_addr_t[]) get IPv6 addresses of an interface as array of ipv6_addr_t or add an IPv6 address as ...
@ NETOPT_ADDR_LEN
(uint16_t) get the default address length a network device expects
@ NETOPT_PHY_BUSY
(netopt_enable_t) enable busy mode
@ NETOPT_STATE_RX
receive mode, the device currently receives a packet
@ NETOPT_PRELOADING
(netopt_enable_t) frame preloading
netopt_state_t
Option parameter to be used with NETOPT_STATE to set or get the state of a network device or protocol...
@ NETOPT_CHANNEL_HOP_PERIOD
(uint8_t) channel hopping period
@ NETOPT_NUM_GATEWAYS
(uint8_t) Get the number of gateways of the last Link Check request.
@ NETOPT_CSMA_MINBE
(uint8_t) minimum backoff exponent for the CSMA-CA algorithm
@ NETOPT_LORAWAN_DR
(uint8_t) LoRaWAN datarate
@ NETOPT_MR_FSK_SRATE
(uint8_t) MR-FSK PHY Symbol Rate (kHz)
@ NETOPT_6LO
(netopt_enable_t) 6Lo support
@ NETOPT_RF_TESTMODE_IDLE
idle mode, radio off
@ NETOPT_LORAWAN_TX_PORT
(uint8_t) LoRaWAN TX application port
@ NETOPT_STATS
(netstats_t*) get statistics about sent and received packets and data of the device or protocol
@ NETOPT_LORAWAN_ADR
(netopt_enable_t) LoRaWAN adaptive datarate
@ NETOPT_CSMA_RETRIES
(uint8_t) maximum number of CSMA retries
@ NETOPT_CHANNEL_HOP
(netopt_enable_t) channel hopping
@ NETOPT_RANDOM
(uint32_t) Get a random value from the device
@ NETOPT_ENABLE
enable a given option
@ NETOPT_RF_TESTMODE_CRX
continuous rx mode
@ NETOPT_CCA_MODE
(uint8_t) CCA mode for the radio transceiver
@ NETOPT_STATE_RESET
triggers a hardware reset.
@ NETOPT_BLE_CTX
(netdev_ble_ctx_t) set BLE radio context (channel, CRC, AA)
@ NETOPT_LORAWAN_RX2_FREQ
(uint32_t) LoRaWAN frequency used for second RX window
@ NETOPT_RX_END_IRQ
(netopt_enable_t) trigger interrupt after frame reception
@ NETOPT_MR_OQPSK_RATE
(uint8_t) MR-O-QPSK Rate Mode
@ NETOPT_6LO_IPHC
(netopt_enable_t) header compression
@ NETOPT_CSMA
(netopt_enable_t) CSMA/CA support
netopt_rf_testmode_t
Option parameter to be used with NETOPT_RF_TESTMODE.
@ NETOPT_STATE_IDLE
idle mode, the device listens to receive packets
@ NETOPT_LORAWAN_APPEUI
(uint8_t*) LoRaWAN application EUI (8 bytes length)
@ NETOPT_PROMISCUOUSMODE
(netopt_enable_t) promiscuous mode
@ NETOPT_STATE_STANDBY
standby mode.
@ NETOPT_TX_TIMEOUT
(uint32_t) transmission timeout of a frame
@ NETOPT_L2_GROUP_LEAVE
(array of byte arrays) Leave an link layer multicast group
@ NETOPT_OTAA
(netopt_enable_t) Enable or disable OTAA activation (LoRaWAN)
@ NETOPT_MR_OQPSK_CHIPS
(uint8_t) MR-O-QPSK Chip Rate (kchip/s)
@ NETOPT_L2_GROUP
(array of byte array) get link layer multicast groups as array of byte arrays (length of each byte ar...
@ NETOPT_LINK_CHECK
(netopt_enable_t) Perform a Link Check request (LoRaWAN)
@ NETOPT_SRC_LEN
(uint16_t) address length to use for the link layer source address
@ NETOPT_LORAWAN_APPSKEY
(uint8_t*) LoRaWAN application session key (16 bytes length)
@ NETOPT_MAX_PDU_SIZE
(uint16_t) maximum protocol data unit
@ NETOPT_SINGLE_RECEIVE
(netopt_enable_t) single frame reception
@ NETOPT_IQ_INVERT
(netopt_enable_t) IQ inverted
@ NETOPT_HOP_LIMIT
(uint8_t) hop limit
@ NETOPT_STATE_TX
transmit mode, set: triggers transmission of a preloaded packet (see NETOPT_PRELOADING*).
@ NETOPT_CODING_RATE
(uint8_t) radio coding rate
@ NETOPT_MR_FSK_MODULATION_INDEX
(uint8_t) MR-FSK PHY Modulation Index (x 64)
@ NETOPT_CHANNEL_FREQUENCY
(uint32_t) channel center frequency
@ NETOPT_IPV6_GROUP_LEAVE
(ipv6_addr_t) Leave an IPv6 multicast group on an interface
@ NETOPT_IS_WIRED
(netopt_enable_t) read-only check for a wired interface.
@ NETOPT_LORAWAN_RX2_DR
(loramac_dr_idx_t) LoRaWAN datarate for second RX window
@ NETOPT_STATE_SLEEP
sleep mode
@ NETOPT_RAWMODE
(netopt_enable_t) when enabled, bypass protocol processing of incoming frames
@ NETOPT_RF_TESTMODE_CTX_PRBS9
PRBS9 continuous tx mode.
@ NETOPT_BANDWIDTH
(uint8_t) radio modulation bandwidth
@ NETOPT_L2FILTER_RM
(l2filter_t) remove an address from a link layer filter list
@ NETOPT_STATE_OFF
powered off
@ NETOPT_AUTOACK
(netopt_enable_t) automatic link layer ACKs
@ NETOPT_NUMOF
maximum number of options defined here.
@ NETOPT_CHANNEL
(uint16_t) channel number
@ NETOPT_CHANNEL_SPACING
(uint8_t) PHY Channel Spacing (kHz)
@ NETOPT_SPREADING_FACTOR
(uint8_t) radio spreading factor
@ NETOPT_IEEE802154_PHY
(uint8_t) 802.15.4 PHY mode
@ NETOPT_AUTOCCA
(netopt_enable_t) perform channel clear assessment before transmitting
@ NETOPT_LORAWAN_MAX_RX_ERROR
(uint32_t) LoRaWAN maximum system overall timing error (ms)
@ NETOPT_RETRANS
(uint8_t) maximum number of retransmissions
@ NETOPT_LORAWAN_MIN_RX_SYMBOL
(uint8_t) LoRaWAN maximum system overall timing error (symbols)
@ NETOPT_OQPSK_RATE
(uint8_t) legacy O-QPSK proprietary mode Allows to select higher data rates than standard 250 kbit/s ...
@ NETOPT_DEVICE_TYPE
(uint16_t) device type
@ NETOPT_TX_START_IRQ
(netopt_enable_t) trigger interrupt at transmission start
@ NETOPT_NID
(uint16_t) network ID
@ NETOPT_RX_SYMBOL_TIMEOUT
(uint8_t) Get or set the number of PHY symbols before assuming there's no data
@ NETOPT_CHECKSUM
(netopt_enable_t) enable hardware checksumming
@ NETOPT_ADDRESS_LONG
(byte array, see below) long link layer address in network byte order
@ NETOPT_ACK_REQ
(netopt_enable_t) acknowledgement request on outgoing frames
const char * netopt2str(netopt_t opt)
Get a string ptr corresponding to opt, for debugging.