BC660K-GL eDRK mode problem

Hello,

I am working with a BC660K-GL-TE-B KIT. I am able to connect to the server via TCP or UDP, send a value and receive a response from the server. My goal is to use eDRX mode to listen every 20 seconds or so, and read if the sensor has sent me back any messages. The problem is that when the eDRX mode starts, I am not receiving any message from the server and I am using the same procedure as when the module sends the first message.
I have seen that when starting eDRX the module closes the connection, I don’t know if it has something to do with it.
These are the AT commands I have used:

AT+CEDRXS=1,5,"0010"
OK

AT+CEDRXRDP
+CEDRXRDP: 5,"0010","0010","0011"

OK
AT+QIOPEN=0,0,"TCP","80.30.68.244",5680,15589,1
OK

+CSCON: 1

+QIOPEN: 0,0
AT+QISEND=0,76,"480204053132333475363738B36170690276310D0762476F36463343386F3161566732494A5459444E0974656C656D65747279123530FF7B202274656D7065726174757265223A203236207D"
OK

SEND OK

+QIURC: "recv",0,13,"80.30.68.244",5680,"Turn on light"

+CSCON: 0

And this is the power consumption where you can see that the eDRX mode is working:

Any idea what the problem might be?

Thanks in advance

According to the current chart you provided, your eDRX is normal; However, the module fails to receive data in the eDRX state, mainly because the network link is aging out, or the server has a short storage time after sending data to the core network.

The server is mine, when the sensor sends a message, it saves the IP and the port and I can send messages back from the server. As long as the sensor is in +CSCON: 1 the server can answer without problems, but when I enter to eDRX the connection enters in +CSCON: 0 and the messages that the server sends don’t arrive.

What do you mean by “the network link is aging out”? how can I fix that?

eDRX state consists of PTW and sleep state. In sleep state, the module cannot receive data and can only receive data within the PTW receiving window. Usually your data is sent by the server to the core network, the core network will save your data, when the module is in the PTW state will be forwarded, but the core network saves your data is timeliness, the data may be discarded by the core network;
Link aging out means that the network has a limited time to provide the link from the terminal to the server. The time is often very short. When the server sends data to the module again, the port of the network link may have changed, resulting in data unable to reach the terminal