osdp-python icon indicating copy to clipboard operation
osdp-python copied to clipboard

Hardware Direction change

Open scroggyg opened this issue 2 years ago • 1 comments

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.

scroggyg avatar Sep 07 '21 13:09 scroggyg

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.

ryanhz avatar Apr 10 '22 21:04 ryanhz