Hello,
Sorry for the inconvenience this might cause you but we do not have an example that fulfills your requirements, nonetheless , this implementation can be done in the application level but it will be your own one.
When using SMAC the packed is not immediately re-transmitted , you will need to do it in your application you will need to decrement the maximum hops of the transmission and you will also need to verify that you have not send the message before.
Please take into account that this MCU it's not recommended for new designs, if you are just starting your design, I would recommend you to work with the MKW21Z.
Regards ,
Estephania