Lantronix PNT Series PNT-SG3FS GNSS Module Software User Guide - Page 46

Password Generation, Real-Time Assistance Data Uploading Procedure

Page 46 highlights

5. Assisted GNSS Then the almanacs can be injected into the device using the $PSTMALMANAC command for each satellite(between two consecutive commands there must be at least a 20-millisecond delay). Now the device will be capable of achieving the fix very quickly if enough satellites are in view. Password Generation As mentioned, in order to access the RxNetworks servers, the user has to provide a set of parameters which are used in generating the HTTP request. These parameters are used to generate a password string (up to 41 characters in length) that is required by the HTTP request string. GNSS device provides the $PSTMSTAGPS8PASSGEN NMEA command that performs the password generation. The user must supply three parameters to this command that will be used to generate a unique password. In order to generate the password the user must pass the following parameters: ♦ The current time expressed as GPS seconds (i.e., the number of seconds since midnight 06-Jan-1980) ♦ The vendor id string (RxNetworks refers to as customer ID; see cId in Appendix B) ♦ The model id string (RxNetworks refers to as model ID; see mId in Appendix B) The device id and password strings will be returned in response to the password generation NMEA command in a $PSTMSTAGPS8PASSRTN NMEA message. The parameters provided can be used to access the RxNetworks location.io service (refer to Section 4.1 in ST Microelectronics Application Note "AN5160: RxNetworks Assisted GNSS Server Interface Specification"). Real-Time Assistance Data Uploading Procedure The real-time AGNSS performances depend on the availability of a network connection in order to download assistance data, which include: ♦ The current time (if not available, from instance, from RTC) ♦ The ephemerides ♦ The almanacs ♦ The rough position (optional) Once those data have been downloaded from the server, the first thing to do is to inject the current time into thedevice (if the device has no RTC, or if it is set to the wrong time). This can be done either using the $PSTMINITTIME command or, if the approximate position is available, then both current time and position can be injected using the $PSTMINITGPS command. Then the ephemerides can be injected into the device using the $PSTMEPHEM command for each satellite (between two consecutive commands there must be at least a 20-millisecond delay). Then the almanacs can be injected into the device using the $PSTMALMANAC command for each satellite (between two consecutive commands there must be at least a 20-millisecond delay). Now the device will be capable of achieving the fix very quickly if enough satellites are in view. PNT-SG3FS GNSS Module Software User Guide 46

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249
  • 250
  • 251
  • 252
  • 253
  • 254
  • 255
  • 256
  • 257
  • 258
  • 259
  • 260
  • 261
  • 262
  • 263
  • 264
  • 265
  • 266
  • 267
  • 268
  • 269
  • 270
  • 271
  • 272
  • 273
  • 274

5. Assisted GNSS
PNT-SG3FS GNSS Module Software User Guide
46
Then the almanacs can be injected into the device using the $PSTMALMANAC command for
each satellite (between two consecutive commands there must be at least a 20-millisecond delay).
Now the device will be capable of achieving the fix very quickly if enough satellites are in view.
Password Generation
As mentioned, in order to access the RxNetworks servers, the user has to provide a set of
parameters which are used in generating the HTTP request. These parameters are used to
generate a password string (up to 41 characters in length) that is required by the HTTP request
string.
GNSS device provides the $PSTMSTAGPS8PASSGEN NMEA command that performs the
password generation
. The user must supply three parameters to this command that will be used
to generate a unique password.
In order to generate the password the user must pass the following parameters:
The current time expressed as GPS seconds (i.e., the number of seconds since
midnight 06-Jan-1980)
The vendor id string (RxNetworks refers to as customer ID; see cId in Appendix B)
The model id string (RxNetworks refers to as model ID; see mId in Appendix B)
The device id and password strings will be returned in response to the password generation
NMEA command in a $PSTMSTAGPS8PASSRTN NMEA message. The parameters provided
can be used to access the RxNetworks location.io service (refer to Section 4.1 in ST
Microelectronics Application Note "AN5160: RxNetworks Assisted GNSS Server Interface
Specification").
Real-Time Assistance Data Uploading Procedure
The real-time AGNSS performances depend on the availability of a network connection in order
to download assistance data, which include:
The current time (if not available, from instance, from RTC)
The ephemerides
The almanacs
The rough position (optional)
Once those data have been downloaded from the server, the first thing to do is to inject the
current time into the device (if the device has no RTC, or if it is set to the wrong time). This can be
done either using the $PSTMINITTIME command or, if the approximate position is available, then
both current time and position can be injected using the $PSTMINITGPS command.
Then the ephemerides can be injected into the device using the $PSTMEPHEM command for
each satellite (between two consecutive commands there must be at least a 20-millisecond
delay).
Then the almanacs can be injected into the device using the $PSTMALMANAC command for
each satellite (between two consecutive commands there must be at least a 20-millisecond
delay).
Now the device will be capable of achieving the fix very quickly if enough satellites are in view.