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

PSM Mode NOT work when set AT+CPSMS=1,"","","10101010","00100001";

Hi,all:

     I use 9160DK to test PSM mode as follow steps with at_client example:

    1、set ”AT+CFUN=0“  to power off mode;

    2、set "AT+CPSMS=1,"","","10101010","00100001""  to enter PSM mode;

    3、then set “AT+CFUN=1” to power on the mode;

    The problem comes here,As nrf91_at_commands_v1.2.pdf 7.3 written:“Configured values are stored in the non-volatile memory when the device is poweredoff with +CFUN=0.”,after I do the three steps, If I reset the nrf9160DK,and set "AT+CPSMS?" to query the mode,it should return ""+CPSMS: 1,,,"10101010","00100001"",but now it returns +CPSMS: 0;

    So,can anybody knows help me what's wrong here?

    Thank U all;

Parents
  • Hi,

     

    “Configured values are stored in the non-volatile memory when the device is poweredoff with +CFUN=0.”

     This is correct.

     

    after I do the three steps, If I reset the nrf9160DK,and set "AT+CPSMS?" to query the mode,it should return ""+CPSMS: 1,,,"10101010","00100001"",but now it returns +CPSMS: 0;

     This is also the correct behavior.

    The configured values are stored in non-voloatile memory when you send +CFUN=0, not when the modem is in "the +CFUN=0 state". If you send AT+CFUN=0 after you send AT+CPSMS=..., the value will be stored in flash.

    Best regards,

    Didrik

Reply
  • Hi,

     

    “Configured values are stored in the non-volatile memory when the device is poweredoff with +CFUN=0.”

     This is correct.

     

    after I do the three steps, If I reset the nrf9160DK,and set "AT+CPSMS?" to query the mode,it should return ""+CPSMS: 1,,,"10101010","00100001"",but now it returns +CPSMS: 0;

     This is also the correct behavior.

    The configured values are stored in non-voloatile memory when you send +CFUN=0, not when the modem is in "the +CFUN=0 state". If you send AT+CFUN=0 after you send AT+CPSMS=..., the value will be stored in flash.

    Best regards,

    Didrik

Children
Related