Problem:
Programmed a universal Xhorse XM38 remote on a Mazda 2 2023 and the smart function does not work.
Generate remote under CX-5 (2021) ID49 option.
Solution:
Your remote database is too old.
Xhorse update remote database on this option in July 2024.
Update your database and try again.