nrf9160

Set command

The set command subscribes unsolicited network time notifications. The notification is sent when EPS Mobility Management (EMM) information Protocol Data Unit (PDU) with time information is received.

Syntax:

%XTIME=<n>

Notification syntax:

%XTIME: [<local_time_zone>],[<universal_time>],[<daylight_saving_time>]

The set command and notification parameters and their defined values are the following:

<n>
0 – Unsubscribe unsolicited network time
1 – Subscribe unsolicited network time
<local_time_zone>
String in hexadecimal format. 1-byte optional field for the local time zone as specified in 3GPP TS 24.008 Ch. 10.5.3.8 Time Zone and received from network.
<universal_time>
String in hexadecimal format. 7-byte optional field for universal time as specified in 3GPP TS 24.008 Ch. 10.5.3.9 Time Zone and Time and received from network.
<daylight_saving_time>
String in hexadecimal format. 1-byte optional field for daylight saving time as specified in 3GPP TS 24.008 Ch. 10.5.3.12 Daylight Saving Time and received from network.

The following command example subscribes notifications:

AT%XTIME=1
OK

An example of an unsolicited notification for network time with all parameters:

%XTIME: "08","81109251714208","01"

An example of an unsolicited notification for network time without local time zone:

%XTIME: ,"81109251714208","01"