9160 Serial lte modem at command question

hi support team,

customer is asking how to add keep alive time in https request header,

i was trying to do this command as below: adding "Keep-Alive: 60\r\n" in XHTTPCREQ, but since this is https, i am not sure if this is correct

customer is using mfm1.3.0 or 1.3.1 and ncs is 1.6.0 or 1.6.1. and command format should not a problem.

AT#XHTTPCREQ="POST","/post.aspx","HOST:app.coordinationcentric.com\r\nKeep-Alive: 60\r\nContent-Type: application/json\r\nContent-Length: 165\r\n",165

by the way HOST should not include in the header, right?

Regards,

William.

  • Hi William,

    Sorry for the delay, I am looking into it.

    Best regards,

    Michal

  • Thanks Michal,

    i have another question, why our 9160 signal  rsrq is jumping from 33 to 20 and not so stable?

    i don't know why and is it important for 9160 communication?

    customer want to use rsrp as one stander of the device signal level

    [2022-11-30_21:35:52:411]AT+CESQ
    [2022-11-30_21:35:52:432]
    [2022-11-30_21:35:52:432]+CESQ: 99,99,255,255,21,65

    [2022-11-30_21:35:52:432]OK
    [2022-11-30_21:35:53:413]AT+CESQ
    [2022-11-30_21:35:53:432]
    [2022-11-30_21:35:53:432]+CESQ: 99,99,255,255,33,65

    [2022-11-30_21:35:53:432]OK
    [2022-11-30_21:35:54:412]AT+CESQ
    [2022-11-30_21:35:54:433]
    [2022-11-30_21:35:54:433]+CESQ: 99,99,255,255,33,65

    [2022-11-30_21:35:54:436]OK
    [2022-11-30_21:35:55:413]AT+CESQ
    [2022-11-30_21:35:55:422]
    [2022-11-30_21:35:55:422]+CESQ: 99,99,255,255,33,65

    [2022-11-30_21:35:55:425]OK
    [2022-11-30_21:35:56:415]AT+CESQ
    [2022-11-30_21:35:56:433]
    [2022-11-30_21:35:56:433]+CESQ: 99,99,255,255,20,66

    [2022-11-30_21:35:56:433]OK
    [2022-11-30_21:35:57:413]AT+CESQ
    [2022-11-30_21:35:57:435]
    [2022-11-30_21:35:57:435]+CESQ: 99,99,255,255,20,66

    [2022-11-30_21:35:57:435]OK
    [2022-11-30_21:35:58:413]AT+CESQ
    [2022-11-30_21:35:58:434]
    [2022-11-30_21:35:58:434]+CESQ: 99,99,255,255,33,65

    Regards,

    William.

  • Really sorry about the delay, I was a bit unavailable lately.

    Hmm, could it be that it is switching between two base stations for example and that is the reason for the instability of the signal RSRQ?

    As for the #XHTTPCREQ then yes, HOST should not be included, since it is supposed to be a part of #XHTTPCCON from my understanding.

    Also, in the 2.0.0(+) documentation there is a following note

    which I think is also valid for 1.6.1, as they are not included in the examples in 1.6.1 documentation either.

    I am a bit unsure about the Keep-Alive. I will have to research it a bit more.

    Best regards,

    Michal

Related