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

Add SerialPort data bits, parity, and stop bits configuration #88

Merged
merged 1 commit into from
Aug 26, 2024

Conversation

nlindn
Copy link
Contributor

@nlindn nlindn commented Aug 26, 2024

When using the Raspberry Pi with an RS485 hat, the BWA service fails to start and times out due to missing SerialPort configuration. This change adds the necessary data_bits, parity, and stop_bits settings during initialization to ensure proper communication and prevent the service from failing.

The configuration parameters are according to the Wiki page:

"The internal serial bus is RS-485 at 115200 baud, 8 bits per byte, no parity, 1 stop bit (115200/8-N-1)."

@ccutrer ccutrer merged commit cac7da9 into ccutrer:main Aug 26, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants