This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

subscribing in Assert tracker v2

Hello,

I'm trying to send messages from the cloud (AWS-IoT ) to the device, so I modified the device so that it subscribes to a new topic and when I send messages from could, it seems that the device doesn't listen frequently to the cloud. sometimes it receives a message, sometimes not. and when I sent multi messages very fast, the device receive all messages after a random delay. 

I tried to check the code if there is any configuration I can use to force the device to listen to Cloud always. but without luck. This behavior is in Active and Passive mode as well. 

My question is: How can the device receive messages instantly from the cloud without delay. 

Thanks in advance.

Parents
  • Hello again,

    I already got some feedback from our modem team :-)

    Analysis from log:

    Application has configured PSM. Sleep period 1 hour, active time 2 seconds
    00:00:00.206512 L23_AT_STRING AT_STRING => +CPSMS=1,,,"00100001","00000001"

    UE sends TLS data that is acked by server. This is last data transmission.

    40 sec after data transmission RRC connection is released and after 2 seconds active time the modem falls to PSM and is not listening to network.

    00:00:49.655944 ERRC_PDU_TYPE_DL_DCCH_3 ERRC PDU: RRCConnectionRelease
    00:00:52.933563 EMM_STATE_CHANGE : EMM_REG_NORMAL_SERVICE => EMM_REG_NO_CELL_AVAILABLE

    After 20 minutes from last user data, the application tries to send more data, but TCP connection is already closed by the server.

    So, PSM prevents the client from receiving DL data. Our recommendation is that you should start with disabling PSM completely. Afterwards, you could adjust the active time to the servers response time.

    Regards,

    Markus

Reply
  • Hello again,

    I already got some feedback from our modem team :-)

    Analysis from log:

    Application has configured PSM. Sleep period 1 hour, active time 2 seconds
    00:00:00.206512 L23_AT_STRING AT_STRING => +CPSMS=1,,,"00100001","00000001"

    UE sends TLS data that is acked by server. This is last data transmission.

    40 sec after data transmission RRC connection is released and after 2 seconds active time the modem falls to PSM and is not listening to network.

    00:00:49.655944 ERRC_PDU_TYPE_DL_DCCH_3 ERRC PDU: RRCConnectionRelease
    00:00:52.933563 EMM_STATE_CHANGE : EMM_REG_NORMAL_SERVICE => EMM_REG_NO_CELL_AVAILABLE

    After 20 minutes from last user data, the application tries to send more data, but TCP connection is already closed by the server.

    So, PSM prevents the client from receiving DL data. Our recommendation is that you should start with disabling PSM completely. Afterwards, you could adjust the active time to the servers response time.

    Regards,

    Markus

Children
Related