RAK3172 Serial Connectivity

Good Day for everyone,
can someone help with connectivity issue.
According doc: RAK3172 Module Quick Start Guide | RAKwireless Documentation Center
Serial configuration will be:

  • Baud Rate: 9600 baud
  • Data Bits: 8 bits
  • Stop Bits: 1 stop bit
  • Parity: NONE

From the “RAK Serial Port Tool” where able to select only PortName + Baud Rate everything working properly but… If I try to use some different tools like Putty or custom code based on Posix Termios - have errors or black window.

Can someone share code how to initialize Serial for device in any programming language? Linux and Termios - it’s better.
Or share these information from “RAK Serial Port Tool” sources (As I see - sources of this tool not available).

Thanks.

Welcome to RAK forum @Sanders :slight_smile:

Do you have line terminations /r/n on your commands?

Magic, thanks :slight_smile: it’s help.

Problem why it’s not working in Linux from “code” - WSL not support some features for serial communication. In bare metal over POSIX it’s working fine.

1 Like