Closed teceP closed 3 years ago
Not sure if this the problem, but are you sure the serial port is not in use by the OS itself?
See https://pi4j.com/1.2/example/serial.html
_Prerequisites
By default, the serial port on the Raspberry Pi is configured as a console port for communicating with the Linux OS shell. If you want to use the serial port in a software program, you must disable the OS from using this port. Please see this blog article by Clayton Smith for step-by-step instructions on how to disable the OS console for this port: http://www.irrational.net/2012/04/19/using-the-raspberry-pis-serial-port/_
Closed. No further activity/response at this time. @FDelporte is right, serial port must be ENABLED in RPi config and DISABLED for system console.
Iam trying to send and read data with my LoRa module, which is connected to my raspberry pi 3.
My setup is the following:
I tried to open on the Default port and on "/dev/ttyS0" but I dont receive any data.
And my Eventlistener:
After I open the port, I try to configure with:
But I dont receive any data and no one receives any data from me. What am I doing wrong?
Thanks in advance!