Error compiling tutorial

I am using the tutorial from the rak docs:

RAK3172 Low-Level Development | STM32WL LoRaWAN SoC Firmware Guide

It says the following: On \STM32Cube_FW_WL_V1.2.0\Projects\NUCLEO-WL55JC\Applications\LoRaWAN\LoRaWAN_End_Node\LoRaWAN\Target\lorawan_conf.h , you need to change the version of LoRaWAN to 1.0.3 which is the commonly used LNS version at the moment of this writing. To do this, you have to change LORAMAC_SPECIFICATION_VERSION to 0x01000300. It should look like this #define LORAMAC_SPECIFICATION_VERSION 0x01000300 .

So I did change the lorawan_conf.h to version 1.0.3

During compilation I get the following errors
C:/Users/nick/Desktop/Raktests/STM32Cube_FW_WL_V1.3.0/Middlewares/Third_Party/LoRaWAN/Mac/LoRaMac.c:1650:40: error: ‘McpsIndication_t’ {aka ‘struct sMcpsIndication’} has no member named ‘ResponseTimeout’
1650 | ( MacCtx.McpsIndication.ResponseTimeout > 0 ) )

If I leave it at 1.0.4, no errors are created.

I did use the latest STM32Cube_FW_WL_V.1.3.0 with the patch to 1.3.1 from st.com

Any idea?

This example is provided by STMicroelectronics.

You should ask them about this error. We provide just the changes required to compile a code with STM32CubeIDE.