Skip to main content

Module protocol

Module protocol 

Source

Structs§

DeviceReport
PacketPhyState
RadioConfig
Frequency and bandwidth are whole hertz, transmit power is in dBm, coding rate is the 4/n denominator, and airtime locks remain pre-scaled as RNS’s wire int(percent * 100).
RadioConfigInput

Enums§

RadioConfigError

Constants§

AIRTIME_LIMIT_CENTI_PERCENT_MAX
BANDWIDTH_HZ_MAX
BANDWIDTH_HZ_MIN
CMD_BANDWIDTH
CMD_CR
CMD_DATA
CMD_DETECT
CMD_ERROR
CMD_FREQUENCY
CMD_FW_VERSION
CMD_LT_ALOCK
CMD_MCU
CMD_PLATFORM
CMD_RADIO_STATE
CMD_RESET
CMD_SF
CMD_STAT_RSSI
CMD_STAT_SNR
CMD_ST_ALOCK
CMD_TXPOWER
CODING_RATE_MAX
CODING_RATE_MIN
DETECT_REQ
DETECT_RESP
ERROR_EEPROM_LOCKED
ERROR_INIT_RADIO
ERROR_TX_FAILED
FRAMED_LEN
FREQUENCY_HZ_MAX
FREQUENCY_HZ_MIN
RADIO_STATE_OFF
RADIO_STATE_ON
READ_BUF_LEN
RNS RNodeInterface.HW_MTU, including the reference read loop’s strict data-frame bound.
REQUIRED_FW_VER_MAJ
RNS panics below this firmware version; the host interface warns and continues.
REQUIRED_FW_VER_MIN
RESET_RESP
RNODE_FRAME_LEN
SPREADING_FACTOR_MAX
SPREADING_FACTOR_MIN
TXPOWER_DBM_MAX
TXPOWER_DBM_MIN

Functions§

detect_frames
The batched RNS hardware-detect query: detect request, firmware, platform, and MCU.
detect_request_frame
encode_data_frame

Type Aliases§

CommandDecoder