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

Hardware Direction change #9

Open
scroggyg opened this issue Sep 7, 2021 · 1 comment
Open

Hardware Direction change #9

scroggyg opened this issue Sep 7, 2021 · 1 comment

Comments

@scroggyg
Copy link

scroggyg commented Sep 7, 2021

I am trying to use the library with a hat. I am using GPIO 14&15 and using RTS (GPIPO 17) as the direction change. I can see data on the UART, no state change to change the direction on the RS485 transceiver.
Is there a method to change the transceiver direction. I realise if you are using a USB 485 transceiver this is not an issue, or it is handle directly by the hardware.

@ryanhz
Copy link
Owner

ryanhz commented Apr 10, 2022

Hi, sorry replying late, and github didn't notify me of issues.

Regarding communication direction, OSDP is designed for RS485, which is half-duplex. You can use burst communications to control the direction, where each computer kicks out its messages then sniffs for packets.

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

No branches or pull requests

2 participants