SARA-R4/N4 series-AT Commands Manual
UBX-17003787 - R09

22GNSS
Page 228 of 307
• Into a file on the cellular module: A file with GNSS data can be accessed via +ULSTFILE command. The file
name is automatically chosen by the cellular module as a unique ID based on date and time or a further
incremental number (e.g. "GPS_200910061500" or "GPS_20091006_001" according to the used cellular
module). When the files size reaches 500 kB the file is closed and no more data is saved. It is possible to
save further data by restarting the GNSS (this will create a new file)
It is possible to send GNSS data to multiple destinations at the same time by summing the <GNSS_I/O_
configuration> values of each required destinations (e.g. if AT+UGPRF=6 the data will be sent on multiplexer
and stored in a file in the file system).
The messages to be output by the u-blox GNSS receiver need to be activated separately with UBX-CFG-MSG
configuration messages according to the GNSS Receiver Protocol Specification.
It is not possible to select the GNSS data flow to and from USB (or alternatively AUX UART) and multiplexer
concurrently.
The configuration of the GNSS profile must be performed only when GNSS is switched off, otherwise an
error result code will be displayed.
22.4.2î™–î™–î™–î™–Syntax
Type Syntax Response Example
Set AT+UGPRF=<GNSS_I/O_
configuration>[,<IP Port>,<server
address string>]
OK AT+UGPRF=0
OK
Read AT+UGPRF? +UGPRF: <GNSS_I/O_
configuration>,<IP port>,<server
address string>
OK
+UGPRF: 0,0,""
OK
Test AT+UGPRF=? +UGPRF: (list of supported
<GNSS_I/O_configuration>),(list
of supported <IP port>),<server
address string>
OK
+UGPRF: (0-127),(0-65535),"addr"
OK
22.4.3î™–î™–î™–î™–Defined values
Parameter Type Description
<GNSS_IO_
configuration>
Number
• 0 (default value and factory-programmed value): no data flow to multiplexer, file or
IP address
• 1: GNSS data flow to and from USB (or alternatively AUX UART)
• 2: GNSS data flow to and from multiplexer
• 4: GNSS data flow saved to file
• 8: GNSS data flow over the air to an Internet host
• 16: GNSS data ready function
• 32: GNSS RTC sharing function
• 64: reserved
• 128: reset the GNSS after the GNSS power on (see AT+UGPS command description)
• 256: use the auxiliary GNSS receiver instead of the default one. If the feature is not
provided then an error result code will be displayed
<IP port> Number IP port of the server where the GNSS data are sent (default value and factory-
programmed value: 0). If GNSS data flow over the air is enabled the parameter is
mandatory otherwise is forbidden.
<server address
string>
String Address string of the server where the GNSS data are sent (default value and factory-
programmed value: ""). If GNSS data flow over the air is enabled the parameter is
mandatory otherwise is forbidden. The address could be provided in both URL or IP
format and the maximum length of the string is 47 characters.
22.4.4î™–î™–î™–î™–Notes
SARA-R4 / SARA-N4
• <GNSS_IO_configuration>=128 (GNSS reset after the GNSS power on) and <GNSS_IO_configuration>=
256 (use an auxiliary GNSS receiver) are not supported.