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