Sounds like the BACnet stack that you're using might also (now / for Android 12) need to be told which NIC (Network Interface Card) to use.
Try using (/can you use?) Wireshark to check/confirm what's happening.