reeiving message to switch relais

Hi,

I know that with Sigfox you can uplink and downlink messages.

Now I can't find any example to receive a message with the MKRFox1200 to use to switch a relais.

Can anyone help me with that?

Thanks in advance.

Full code is available at GitHub - nicolsc/mkrfox-downlink: Simple Sigfox downlink demo using a MKRFOX Arduino board

Note that you are guaranteed a maximum of 4 downlinks per 24h per device, and that downlinks can only be sent when the device sends an uplink message to request a downlink.