nrf9160

Set command

The set command stops neighboring cell measurement if measuring has started, and causes the modem to send a response to the %NCELLMEAS command.

If the modem has already received the measurement results, the %NCELLMEAS response contains the normal response parameters. If the measurement is still ongoing and can be stopped, the response does not contain any measurement results.

After the %NCELLMEAS response, OK is sent as a response to stop the command.

If the measuring has not started, the response is OK.

Syntax:

%NCELLMEASSTOP

The following command example starts neighboring cell measurement and stops the measuring successfully:

AT%NCELLMEAS
OK
AT%NCELLMEASSTOP
%NCELLMEAS:  1
OK

The following command example starts neighboring cell measurement and tries to stop the measurement, but the measurement has been done before the stop command is given. The response can contain, for example, the serving cell and two neighboring cells:

AT%NCELLMEAS
OK
AT%NCELLMEASSTOP
%NCELLMEAS:0,"00011B07","26295","00B7",2300,7,63,31,2300,8,60,29,0,2400,11,55,26,0
OK

The following command example stops neighboring cell measurement when the neighboring cell measurement command %NCELLMEAS has been given but the modem has not started the measurement due to other prioritized activities:

AT%NCELLMEAS
OK
AT%NCELLMEASSTOP
OK