+ Post New Thread
Results 1 to 2 of 2
  1. #1
    Member level 2
    Points: 463, Level: 4

    Join Date
    Mar 2017
    Posts
    49
    Helped
    0 / 0
    Points
    463
    Level
    4

    how to measure signal strength without closing netconn connection.

    Hello, I created a client(using LWIP, netconn functions) and receiving and sending back the data I received from the server. Loop is [netconn_recv and netconn_write].


    Moreover, I have to measure the signal strength of Module. Currently, I am using (delay1s)+++(delay1s), AT+CSQ, ATO to go to command mode(without closing PPP), measure signal strength and, ATO to go back to data mode.

    However, the problem is that when I try to measure the signal str.
    I go to comm mode, measure sig.str., back to data mode but I cant receive or write any more. As a result after netconn_rcv in server gives timeout and client close, delete and connects again, than recv and write data until next sig.str. measure function.

    How can I stop the netconn_recv or netconn_write for a while until I measure the signal str and resume where it was left over. Is it possible? I don't want to close, delete and connect again. I want to resume recv and write fn where it was left.

    Click image for larger version. 

Name:	11.PNG 
Views:	2 
Size:	19.3 KB 
ID:	146661

    •   Alt16th May 2018, 07:34

      advertising

        
       

  2. #2
    Super Moderator
    Points: 243,288, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    42,255
    Helped
    12861 / 12861
    Points
    243,288
    Level
    100

    Re: how to measure signal strength without closing netconn connection.

    Learn about multiplexing mode, at+cmux.



--[[ ]]--