M0, M1 are managed by software, the switch are tied in such a way to have null modem connection with raspberry, accordingly to schematic in waveshare web page.
When configuration mode is active i set GPIO 27 output high and GPIO 22 output low
According to manual attached i send the following binary (non ASCII) bytes to the modules:
1)
C0000900010F630011430000
the module reply with
C1000900010F630011430000
2)
C0000900020F630011430000
the module reply with
C1000900020F630011430000
When i wish to communicate i set GPIO 27 and GPIO 22 output low.
I don’t think it’s necessary the connection diagram since the module responds accordingly the manual at par. 7.1. Anyway the board is installed close to raspberry and connected through 40 pin header as said above.
Let me know if you need further info.
P.S.
i don’t even use python for my project. i started with C