Skip to main content
Code formatting and fixed typos. Some issues may still remain (i.e. the "(ryltr998)")
Source Link
Greenonline
  • 3.2k
  • 7
  • 37
  • 49

I am new to Lora module and ESP32 and only playing around for a week. 

I have successfully sent AT commands to rylr998RYLR998 module via ESP32 and received messages via other rylr998RYLR998 connected to another computer via usb uartUSB UART serial. you You need use trim()trim() before you send your string to Serial2Serial2.(ryltr998)

trim() [StringObject Function] Description Get a version of the String with any leading and trailing whitespace removed. The trim() function modifies the String in place rather than returning a new one.

Syntax myString.trim()

trim()
[StringObject Function]
Description
Get a version of the String with any leading and trailing whitespace removed. The trim() function modifies the String in place rather than returning a new one.

Syntax
myString.trim()

I am new to Lora module and ESP32 and only playing around for a week. I have successfully sent AT commands to rylr998 module via ESP32 and received messages via other rylr998 connected to another computer via usb uart serial. you need use trim() before you send your string to Serial2.(ryltr998)

trim() [StringObject Function] Description Get a version of the String with any leading and trailing whitespace removed. The trim() function modifies the String in place rather than returning a new one.

Syntax myString.trim()

I am new to Lora module and ESP32 and only playing around for a week. 

I have successfully sent AT commands to RYLR998 module via ESP32 and received messages via other RYLR998 connected to another computer via USB UART serial. You need use trim() before you send your string to Serial2.(ryltr998)

trim()
[StringObject Function]
Description
Get a version of the String with any leading and trailing whitespace removed. The trim() function modifies the String in place rather than returning a new one.

Syntax
myString.trim()
Source Link

I am new to Lora module and ESP32 and only playing around for a week. I have successfully sent AT commands to rylr998 module via ESP32 and received messages via other rylr998 connected to another computer via usb uart serial. you need use trim() before you send your string to Serial2.(ryltr998)

trim() [StringObject Function] Description Get a version of the String with any leading and trailing whitespace removed. The trim() function modifies the String in place rather than returning a new one.

Syntax myString.trim()