pic-1, it is the version with LTE
4 antennas,
I have installed the correct firmware
The GPS antenna is placed indoors, but it is at the last floor of the building.
Even if that is the cause,
a. how does it set the correct coordinates?
b. why does periodically states coordinates and time and then spams the syslog with warnings?
I will try the module outside, but the main issue is how not to write hundreds of warnings into syslog.
I let (indoors) the
test_loragw_gps
run a little longer
Beginning of test for loragw_gps.c
*** Library version information ***
Version: 5.0.1;
***
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
~~ UBX NAV-TIMEGPS sentence, triggering synchronization attempt ~~
Synchronization error.
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
~~ UBX NAV-TIMEGPS sentence, triggering synchronization attempt ~~
Synchronization error.
~~ UBX NAV-TIMEGPS sentence, triggering synchronization attempt ~~
* Synchronization successful *
UTC reference time: 1567001263.000000000
GPS reference time: 1251036480.999656661
Internal counter reference value: 8354525
Clock error: 1.000000000
* Test of timestamp counter <-> GPS value conversion *
Test value: 8854525
Conversion to GPS: 1251036481.499656661
Converted back: 8854525 ==> 0µs
* Test of timestamp counter <-> UTC value conversion *
Test value: 8854525
Conversion to UTC: 1567001263.500000000
Converted back: 8854525 ==> 0µs
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
~~ UBX NAV-TIMEGPS sentence, triggering synchronization attempt ~~
* Synchronization successful *
UTC reference time: 1567001265.000000000
GPS reference time: 1251036483.999656841
Internal counter reference value: 11354525
Clock error: 1.000000000
* Test of timestamp counter <-> GPS value conversion *
Test value: 11854525
Conversion to GPS: 1251036484.499656841
Converted back: 11854525 ==> 0µs
* Test of timestamp counter <-> UTC value conversion *
Test value: 11854525
Conversion to UTC: 1567001265.500000000
Converted back: 11854525 ==> 0µs
~~ UBX NAV-TIMEGPS sentence, triggering synchronization attempt ~~
* Synchronization successful *
UTC reference time: 1567001265.000000000
GPS reference time: 1251036484.999656901
Internal counter reference value: 12354525
Clock error: 1.000000000
* Test of timestamp counter <-> GPS value conversion *
Test value: 12854525
Conversion to GPS: 1251036485.499656901
Converted back: 12854525 ==> 0µs
* Test of timestamp counter <-> UTC value conversion *
Test value: 12854525
Conversion to UTC: 1567001265.500000000
Converted back: 12854525 ==> 0µs
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
~~ UBX NAV-TIMEGPS sentence, triggering synchronization attempt ~~
* Synchronization successful *
UTC reference time: 1567001269.000000000
GPS reference time: 1251036487.999657080
Internal counter reference value: 15354526
Clock error: 1.000000000
* Test of timestamp counter <-> GPS value conversion *
Test value: 15854526
Conversion to GPS: 1251036488.499657080
Converted back: 15854526 ==> 0µs
* Test of timestamp counter <-> UTC value conversion *
Test value: 15854526
Conversion to UTC: 1567001269.500000000
Converted back: 15854526 ==> 0µs
~~ UBX NAV-TIMEGPS sentence, triggering synchronization attempt ~~
* Synchronization successful *
UTC reference time: 1567001269.000000000
GPS reference time: 1251036488.999657139
Internal counter reference value: 16354526
Clock error: 1.000000000
* Test of timestamp counter <-> GPS value conversion *
Test value: 16854526
Conversion to GPS: 1251036489.499657139
Converted back: 16854526 ==> 0µs
* Test of timestamp counter <-> UTC value conversion *
Test value: 16854526
Conversion to UTC: 1567001269.500000000
Converted back: 16854526 ==> 0µs
~~ UBX NAV-TIMEGPS sentence, triggering synchronization attempt ~~
* Synchronization successful *
UTC reference time: 1567001269.000000000
GPS reference time: 1251036489.999657199
Internal counter reference value: 17354526
Clock error: 1.000000000
* Test of timestamp counter <-> GPS value conversion *
Test value: 17854526
Conversion to GPS: 1251036490.499657199
Converted back: 17854526 ==> 0µs
* Test of timestamp counter <-> UTC value conversion *
Test value: 17854526
Conversion to UTC: 1567001269.500000000
Converted back: 17854526 ==> 0µs
^C
End of test for loragw_gps.c
It seems like syncing time successfully and then warning a lot for not valid messages (just like syslog)




