Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serial port not read on Reboot for first time #2883

Open
Pavan-keus opened this issue Aug 22, 2024 · 0 comments
Open

Serial port not read on Reboot for first time #2883

Pavan-keus opened this issue Aug 22, 2024 · 0 comments

Comments

@Pavan-keus
Copy link

SerialPort Version

9.0.6

Node Version

16.20.2

Electron Version

No response

Platform

aarch64 GNU/Linux

Architecture

aarch 64

Hardware or chipset of serialport

/dev/ttyAMA0

What steps will reproduce the bug?

  1. make the Script to run on reboot
  2. wait for 120 seconds (making sure os settle down)
  3. close if the serial port already exists
  4. open the serial port
  5. read the serial port

What happens?

when i reboot the raspberry pi , on restart after 120 seconds node js script open the serial port and wait for data, it not reading the uart data. I have check from other chip uart data is coming via cool term. after Restart I stopped the running process , and run manually it Receive data always . only issue is it's not receiving data on restart
NOTE: only first time , i have done another test like on open port after 20 seconds closed the port opened again it receive data.

What should have happened?

It has to receive on first open of the serial port

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant