Error while testing GPS, ERROR: failed to close I2C temperature sensor device (err=-1)

Issue: ERROR: failed to close I2C temperature sensor device (err=-1)

Setup: Raspberry pi 4 and rak2287 connected with pihat

Server: configured with chirpstack network gateway(raspberrypi4 + rak2287)is working fine with lora communication but GPS is causing problem
(Raspberry pi + pi_hat + Rak2287)

Details: I ran test_loragw_gps program located at pi@rak-gateway:~/rak_common_for_gateway/lora/rak2287/lora_gateway/tst/

This is output:-
pi@rak-gateway:~/rak_common_for_gateway/lora/rak2287 $ ./lora_gateway/test_loragw_gps
Beginning of test for loragw_gps.c
*** Library version information ***
Version: 2.0.1;

CoreCell reset through GPIO17…
This is uart for GPS.
Opening SPI communication interface
Note: chip version is 0x10 (v1.0)
INFO: using legacy timestamp
ARB: dual demodulation disabled for all SF
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)
^CClosing SPI communication interface
ERROR: failed to close I2C temperature sensor device (err=-1)
CoreCell reset through GPIO17…

End of test for loragw_gps.c

I’m testing GPS no temperature sensor is connected via I2C still getting this kind of error, I’ve gone through test_loragw_gps.c file warning was in the program but unable to find code contains this ERROR statement, need help?

Thanks,
Prasad

I just realise that the error is from the test_loragw_gps file the sample test program provided by the rak_common_for_gateway(https://github.com/RAKWireless/rak_common_for_gateway) so the WARNING: [gps] could not get a valid message from GPS (no time) is there for data from header is receiving but the data might be corrupted.
so is there any solution for that or suggest me something to solve this issue
Thanks,
PSrak

I think you might want to ask this question to RAK, as I don’t believe it is in any way related to the Concentratord component?