Closed dhineshkumarmcci closed 2 years ago
Have also updated the error message for check SD card error.
------------------------------------------------------------------------
This is Catena4430_Sensor.ino v0.5.2-0.
Target network: The Things Network / us915
System clock rate is 2.097 MHz
Enter 'help' for a list of commands.
------------------------------------------------------------------------
FLASH found, put power down
cMeasurementLoop::fsmDispatch: enter stInactive
RTC is running. Date: 2022-03-01 11:24:29Z
?CatenaStm32L0::LoRaWAN::begin: Arduino_LoRaWAN:begin failed
?Catena461x::LoRaWAN::begin: Super::begin() failed
cMeasurementLoop::fsmDispatch: enter stWarmup
cMeasurementLoop::fsmDispatch: enter stMeasure
cMeasurementLoop::fsmDispatch: enter stTransmit
Vbat: 4139 mV
Vbus: 5136 mV
BME280: T: 29 P: 101133 RH: 38
Si1133: 706520 White
cMeasurementLoop::fsmDispatch: enter stWriteFile
Sd2Card::error: 0x1
** SD card not detected!
gSD.end() timed out
cMeasurementLoop::fsmDispatch: enter stAwaitCard
** lorawan not provisioned!
cMeasurementLoop::fsmDispatch: enter stSleeping
using light sleep
This is tested with placing the RTC battery and uninstalling the SD card, as the sketch do not check for SD card if RTC is not set.
Have modified the error messages to provide correct information, and followed the steps to reproduce the issue. Please find the log: