Loading...
Searching...
No Matches

RN2483/RN2903 device descriptor. More...

Detailed Description

RN2483/RN2903 device descriptor.

Definition at line 165 of file rn2xx3.h.

#include <rn2xx3.h>

Data Fields

netdev_t netdev
 Netdev parent struct.
 
rn2xx3_params_t p
 configuration parameters
 
loramac_settings_t loramac
 loramac communication settings
 
char cmd_buf [RN2XX3_MAX_BUF]
 command to send data buffer
 
mutex_t cmd_lock
 mutex to allow only one command at a time
 
uint8_t int_state
 current state of the device
 
mutex_t resp_lock
 mutex for waiting for command response
 
char resp_buf [RN2XX3_MAX_BUF]
 command response data buffer
 
uint16_t resp_size
 counter for received char in response
 
uint8_t resp_done
 check if response has completed
 
char rx_tmp_buf [2]
 Temporary RX buffer used to convert 2 hex characters in one byte on the fly.
 
uint8_t rx_buf [RN2XX3_RX_MAX_BUF]
 RX data buffer.
 
uint16_t rx_size
 counter for received char in RX
 
ztimer_t sleep_timer
 Timer used to count module sleep time.
 
uint32_t sleep
 module sleep duration
 

Field Documentation

◆ cmd_buf

char rn2xx3_t::cmd_buf[RN2XX3_MAX_BUF]

command to send data buffer

Definition at line 172 of file rn2xx3.h.

◆ cmd_lock

mutex_t rn2xx3_t::cmd_lock

mutex to allow only one command at a time

Definition at line 173 of file rn2xx3.h.

◆ int_state

uint8_t rn2xx3_t::int_state

current state of the device

Definition at line 175 of file rn2xx3.h.

◆ loramac

loramac_settings_t rn2xx3_t::loramac

loramac communication settings

Definition at line 169 of file rn2xx3.h.

◆ netdev

netdev_t rn2xx3_t::netdev

Netdev parent struct.

Definition at line 166 of file rn2xx3.h.

◆ p

rn2xx3_params_t rn2xx3_t::p

configuration parameters

Definition at line 168 of file rn2xx3.h.

◆ resp_buf

char rn2xx3_t::resp_buf[RN2XX3_MAX_BUF]

command response data buffer

Definition at line 180 of file rn2xx3.h.

◆ resp_done

uint8_t rn2xx3_t::resp_done

check if response has completed

Definition at line 182 of file rn2xx3.h.

◆ resp_lock

mutex_t rn2xx3_t::resp_lock

mutex for waiting for command response

Definition at line 178 of file rn2xx3.h.

◆ resp_size

uint16_t rn2xx3_t::resp_size

counter for received char in response

Definition at line 181 of file rn2xx3.h.

◆ rx_buf

uint8_t rn2xx3_t::rx_buf[RN2XX3_RX_MAX_BUF]

RX data buffer.

Definition at line 188 of file rn2xx3.h.

◆ rx_size

uint16_t rn2xx3_t::rx_size

counter for received char in RX

Definition at line 189 of file rn2xx3.h.

◆ rx_tmp_buf

char rn2xx3_t::rx_tmp_buf[2]

Temporary RX buffer used to convert 2 hex characters in one byte on the fly.

Definition at line 185 of file rn2xx3.h.

◆ sleep

uint32_t rn2xx3_t::sleep

module sleep duration

Definition at line 193 of file rn2xx3.h.

◆ sleep_timer

ztimer_t rn2xx3_t::sleep_timer

Timer used to count module sleep time.

Definition at line 192 of file rn2xx3.h.


The documentation for this struct was generated from the following file: