R410M Failed to connect to modem

I have an SODAQ Sara R410M and have have successful registered the device by T-Mobile. If I sending the AT commands manually they arrived successfully at t-mobile. But when I used the sketch NBIOT-Test-UDP I get the error “Failed to connect to the modem” and “Failed to create socket”. Is there anyone here that have successful get this sketch working with the R410M?

@gerrit

I see that the #define R4XX is missing in the example sketch.
Add it to the top of the sketch and the example will work :slight_smile:

Best regards,
Jan