The central locking and door control modules (PM-SB/BT & PM-SB/FT) communicate over the P-bus. So an understanding of the P-bus and it's major control module (the GM) may be helpful in understanding how the data/commands travel. You can also do a search on the BMW TIS website...try typing in the last 7 digits of your VIN...then use the search box to help find what you're looking for:
https://www.newtis.info/tisv2/a/en/
You can get a lot of info like pin-out and wiring diagrams for the aforementioned modules on the TIS website.
]