Hi,
there’s a library called DRV_mbus for master or slave functionality, some more Infos can be found here:
Best regards!