Gnsssetassistanceposition; Gnss Scanning Results Description; Nav Message Description; Table 11-5: Gnsssetassistanceposition Command - Semtech LR1110 User Manual

Hide thumbs Also See for LR1110:
Table of Contents

Advertisement

ResultMask: bit mask indicating which information is added in the output payload.
Set to 0x03. Other values are RFU.
NbSvMax defines the maximum number of satellites to detect.
If NbSvMax=0, all the detected satellites will be returned. Otherwise, only the NbSvMax satellites with higher C/N will
be returned.
Please note that calling this command resets the previous GNSS results, if any.

11.3.5 GnssSetAssistancePosition

The command GnssSetAssistancePosition( ) allows configuring the approximate position for the GNSS assisted mode.

Table 11-5: GnssSetAssistancePosition Command

Byte
0
Data from Host
0x04
Data to Host
Stat1
Latitude: Latitude, coded on 12bits (resolution of 0.044°)
Latitude= latitude in degrees (decimal value)* 2048/90.
For example for 47.006° latitude: 47.006*2048/90=1070 (rounded)=0x042E.
Longitude: Longitude, coded on 12bits (resolution of 0.088°)
Longitude= longitude in degrees (decimal value)* 2048/180.
For example, for 6.966°longitude: 6.966*2048/180=79 (rounded)=0x004F.

11.4 GNSS Scanning Results Description

GNSS scanning results are formatted in NAV messages, of variable length depending on the number of satellites detected
and on the GnssMode (single or dual scanning). The NAV messages destination can be either to the host (for status
information), to the Solver (for geolocation cloud calculation), or to the DMC (for almanac management).
In order to read back the GNSS scanning results, the size of results stream to read has to be determined first using the
command GnssGetResultSize( ). Afterwards, the results can be read using the command GnssReadResult( ).

11.4.1 NAV Message Description

The NAV message format is shown in
a Payload of variable length:
LR1110
User Manual
Rev.1.0
UM.LR1110.W.APP
March 2020
1
2
Latitude
0x10
(15-8)
IrqStatus
Stat2
(31:24)
Figure 11-2: NAV Message Format
www.semtech.com
3
4
Latitude
Longitude
(7-0)
(15-8)
IrqStatus
IrqStatus
(23:16)
(15:8)
It is composed of a DestinationID field, followed by
5
Longitude
(7:0)
IrqStatus
(7:0)
98 of 130
Semtech

Advertisement

Table of Contents
loading

Table of Contents