RUI3-Arduino-Library V1.0.1
RAKWireless library for communication over UART with RUI3 based WisDuo modules.
Loading...
Searching...
No Matches
rui3_at.h File Reference

A library for controlling RUI3 based RAKwireless modules with AT commands over UART from a host MCU. More...

#include "Arduino.h"

Go to the source code of this file.

Classes

struct  _stParam
 
struct  _p2p_settings
 
class  RUI3
 

Macros

#define NO_RESPONSE   255
 
#define ARRAY_SIZE(array)   (sizeof((array)) / sizeof((array[0])))
 
#define CLASS_A   0
 
#define CLASS_B   1
 
#define CLASS_C   2
 
#define LoRaWAN   1
 
#define LoRaP2P   0
 
#define OTAA   1
 
#define ABP   0
 
#define EU433   0
 
#define CN470   1
 
#define RU864   2
 
#define IN865   3
 
#define EU868   4
 
#define US915   5
 
#define AU915   6
 
#define KR920   7
 
#define AS923   8
 
#define AS923_1   8
 
#define AS923_2   9
 
#define AS923_3   10
 
#define AS923_4   11
 
#define LA915   12
 
#define CONF   1
 
#define UNCONF   0
 
#define LPM_LVL_1   1
 
#define LPM_LVL_2   2
 
#define LPM_OFF   0
 
#define LPM_ON   1
 
#define MAX_CMD_LEN   (32)
 
#define MAX_ARGUMENT   25
 
#define DEBUG_MODE   0
 
#define MYLOG(...)
 

Typedefs

typedef struct _stParam stParam
 
typedef struct _p2p_settings p2p_settings
 

Detailed Description

A library for controlling RUI3 based RAKwireless modules with AT commands over UART from a host MCU.

Author
Bernd Giesecke (bernd.nosp@m.@gie.nosp@m.secke.nosp@m..tk)
Version
0.1
Date
2024-04-28

Build from of RAK811.h written by Leopold Wang Updated to use RUI3 AT commands

Macro Definition Documentation

◆ ABP

#define ABP   0

ABP join mode

◆ ARRAY_SIZE

#define ARRAY_SIZE (   array)    (sizeof((array)) / sizeof((array[0])))

Get size of an array

◆ AS923

#define AS923   8

◆ AS923_1

#define AS923_1   8

◆ AS923_2

#define AS923_2   9

◆ AS923_3

#define AS923_3   10

◆ AS923_4

#define AS923_4   11

◆ AU915

#define AU915   6

◆ CLASS_A

#define CLASS_A   0

LoRaWAN class A

◆ CLASS_B

#define CLASS_B   1

LoRaWAN class B

◆ CLASS_C

#define CLASS_C   2

LoRaWAN class C

◆ CN470

#define CN470   1

◆ CONF

#define CONF   1

Confirmed packet mode

◆ DEBUG_MODE

#define DEBUG_MODE   0

◆ EU433

#define EU433   0

LoRaWAN egions

◆ EU868

#define EU868   4

◆ IN865

#define IN865   3

◆ KR920

#define KR920   7

◆ LA915

#define LA915   12

◆ LoRaP2P

#define LoRaP2P   0

LoRa P2P mode

◆ LoRaWAN

#define LoRaWAN   1

LoRaWAN mode

◆ LPM_LVL_1

#define LPM_LVL_1   1

LPM level 1

◆ LPM_LVL_2

#define LPM_LVL_2   2

LPM level 2 (only RAK3172)

◆ LPM_OFF

#define LPM_OFF   0

LPM off

◆ LPM_ON

#define LPM_ON   1

LPM level 1

◆ MAX_ARGUMENT

#define MAX_ARGUMENT   25

◆ MAX_CMD_LEN

#define MAX_CMD_LEN   (32)

◆ MYLOG

#define MYLOG (   ...)

◆ NO_RESPONSE

#define NO_RESPONSE   255

No response from WisDuo

◆ OTAA

#define OTAA   1

OTAA join mode

◆ RU864

#define RU864   2

◆ UNCONF

#define UNCONF   0

Unconfirmed packet mode

◆ US915

#define US915   5

Typedef Documentation

◆ p2p_settings

typedef struct _p2p_settings p2p_settings

Structure for P2P settings

◆ stParam

typedef struct _stParam stParam

Structure for parsed received string