group::RADIO

This is the interface for accessing radios (such as ISM band radios).

Details

defineRADIO_VERSION


defineRADIO_IOC_CHAR


defineI_RADIO_GETVERSION


defineI_RADIO_GETINFO

This request reads the radio attributes.

Example:

ioctl(fildes, I_RADIO_GETINFO);

defineI_RADIO_SETATTR

This request sets the radio attributes.

Example:

ioctl(fildes, I_RADIO_SETATTR);

defineI_RADIO_SETFREQUENCY

This request sets the radio attributes.

Example:

ioctl(fildes, I_RADIO_SETATTR);

defineI_RADIO_SETMODE

This request sets the radio mode

Example:

ioctl(fildes, I_RADIO_SETMODE, RADIO_MODE_TX);

defineI_RADIO_SETPACKETSIZE

This request sets the radio packet size.

Example:

ioctl(fildes, I_RADIO_SETPACKET_SIZE, 24);

defineI_RADIO_TOTAL


enum@26

  • RADIO_MODE_STANDBY
  • RADIO_MODE_SLEEP
  • RADIO_MODE_IDLE
  • RADIO_MODE_TX
  • RADIO_MODE_RX


date: “2019-06-27” layout: post title: struct::radio_attr_t katex: true

categories: struct

Methods

Details

public u8mode


public u8resd


public u16preamble_len


public u16fixed_len


public u16payload_len


public u32code_rate

LoRa Code rate


public u32data_rate

Radio data rate


public u32freq

Radio Frequency


public u32 *hopping_table

A pointer to the frequency hopping table


public u16hopping_entries

The number of entries in the frequency hopping table


public u16power

The power output


X

Thanks for Coming!

Subscribe to news and updates