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

NRF91 PSM / eDRX application operation mode

Hi,

I have some questions about application operation while in PSM / eDRX mode.

1. when modem is in deep sleep mode, is the application halted too ? 

2. if not, what happens when sending data to the internet? 

3. does the application get an interrupt when the modem is active? 

Thanks !

  • Hi,

     

    1. when modem is in deep sleep mode, is the application halted too ? 

    The application has a dedicated CPU (Cortex M33), so it runs asynchronous to the modem.

    The state of the application depends on your running program.

    2. if not, what happens when sending data to the internet?

    If the application needs to transmit data while the modem is in eDRX or PSM mode, it'll wake up and send the specific data, then go back to eDRX or PSM. 

    PSM and eDRX is for receive "polling" only, you can send data at any time.

    3. does the application get an interrupt when the modem is active? 

     Are you referring to the PSM or eDRX timeout? No, that is not conveyed to the application.

    The application should use functions like recv() or poll() to check if there's any received data available for the current opened socket.

     

    Kind regards,

    Håkon

Related