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

Enabling eDRX or PSM Mode with iot.1nce.net sim

Hi Dev Team,

I have an iot.1nce.net sim that I am using in Germany.

+CGDCONT: 0,"IP","iot.1nce.net","10.205.84.3",0,0

I was trying the eDRX configuration using a basic mqtt_simple example with the thingy91 board.

My COPS Value returns this: 

+COPS: 0,2,"26201",7

I was trying to enable eDRX but I got issues in enabling eDRX. 

+CEDRXRDP: 4,"1001","",""

The network does not provide Network eDRX and the PTW.

My question was is eDRX and PSM supported for this Sim ?
If not , what could be the alternate.

Regards,
Adeel.
Parents
  • Hi Adeel,

     

    PSM usually has a lower limit, and in your network it seems to be 60 minutes.

    If you're using mqtt, you can set the CONFIG_MQTT_KEEPALIVE equal to your polling interval if you want to poll more often.

     

    This will then make the nRF go out of PSM before the TAU has expired, and automatically re-negotiate PSM afterwards.

     

    Kind regards,

    Håkon

  • Hi Hakon,

    Yes, I am using MQTT to send out my sensor data.

    Oh great, So you mean I can keep the CONFIG_MQTT_KEEPALIVE = 600 so that I can come out of PSM every 10 mins and send the data ?

    Does it automatically go back to PSM mode again as that is what I want to do.

    Regards,

    Adeel.

  • Hi,

     

    Adeel said:
    Oh great, So you mean I can keep the CONFIG_MQTT_KEEPALIVE = 600 so that I can come out of PSM every 10 mins and send the data ?

    The meaning behind both eDRX and PSM is to poll for data, ie. a application requirement to receive something from the network (SMS, IP, or anything at all) in a given interval.

    If your application is transmission based (the NRF drives the dataflow), you can just set the PSM (or EDRX) interval really high; and trigger a send() function from your application at-will.

     

    Adeel said:
    Does it automatically go back to PSM mode again as that is what I want to do.

    Yes, it will automatically go back to PSM. 

     

    Kind regards,

    Håkon  

Reply
  • Hi,

     

    Adeel said:
    Oh great, So you mean I can keep the CONFIG_MQTT_KEEPALIVE = 600 so that I can come out of PSM every 10 mins and send the data ?

    The meaning behind both eDRX and PSM is to poll for data, ie. a application requirement to receive something from the network (SMS, IP, or anything at all) in a given interval.

    If your application is transmission based (the NRF drives the dataflow), you can just set the PSM (or EDRX) interval really high; and trigger a send() function from your application at-will.

     

    Adeel said:
    Does it automatically go back to PSM mode again as that is what I want to do.

    Yes, it will automatically go back to PSM. 

     

    Kind regards,

    Håkon  

Children
  • Hi Hakon,

    Thanks for that clarification. I assumed that its not possible to send or receive anything during the PSM interval. 

    I will try this configuration out with the mqtt_simple example again and update you Slight smile.

    My application is basically to receive sensor data value every minute and send it out via MQTT every 10 minutes. I hope both the receiving and sending tasks are possible in the PSM mode as well then.

    Regards,

    Adeel. 

Related