nrf9160

Set command

The set command sets the requested network time support.

Network time support is enabled by default. The command configuration is stored to Non-volatile Memory (NVM) approximately every 48 hours and when the modem is set to minimum functionality mode with the +CFUN=0 command.

Active %XPOFWARN warning blocks the storing to NVM.v1.3.x≥2

The network time may be received in NITZ IE as a part of EMM information message or from SIB16. If both are available, the SIB16 time is prioritized due to higher accuracy. SIB16 reception has its own control options in addition to the network time support. If optional parameter for SIB16 support is not set, the functionality is as specified in parameter value 2.

Syntax:

%XNETTIME=<network_time_support>[,<sib16_support>]

The set command parameter and its defined values are the following:

<network_time_support>
0 – Disable network time support.
1 – Enable network time support.
<sib16_support>v1.3.x≥1
0 – Support for time information from SIB16 is disabled.
1 – The modem supports time information from SIB16. When a cell is changed before starting idle mode operations or entering a connection, the modem attempts to receive SIB16 until it is received successfully. The cell selections might take more time, but the time information from SIB16 is more likely available for applications after a cell has been selected, for example, during the first connection that is established after modem activation.
2 – The modem supports time information from SIB16. The SIB16 reception does not cause delays in cell selections, but the time information from SIB16 is available only after the modem has been in RRC IDLE state long enough to capture the broadcast message.
Note:
  • Setting <sib16_support> to 1 might cause a delay in establishing a connection after modem activation. The delay can be up to 40 seconds in LTE-M and up to 5 minutes 30 seconds in Narrowband Internet of Things (NB-IoT) in every cell where connection is attempted until time information from SIB16 is received.
  • Setting <sib16_support> to 1 or 2 does not stop the modem from selecting a cell if SIB16 reception fails, for example, due to poor radio conditions. The modem makes more attempts later to receive time information from SIB16 during normal idle mode operation before establishing a connection.

The following command example disables network time support:

AT%XNETTIME=0
OK