This is the mqtt_ptr.txt content:
01 B9 6C 61 ..la
this is the log:
#Configuration received... [ OK ]
#Load configuration... [ OK ]
#--> type: report-gsm
#--> version: 3.3
#--> sensors: 6
#--> ConstantData: 2
#--> CD 0: B01019 : test station
#--> CD 1: B07030 : 20
#--> gsm apn: ibox.tim.it
#--> gsm username:
#--> gsm password:
#--> ntp server: it.pool.ntp.org
#--> mqtt server: test.rmap.cc
#--> mqtt port: 1883
#--> mqtt root topic: report/pat1/1165625,4485892/fixed/
#--> mqtt maint topic: maint/pat1/1165625,4485892/fixed/
#--> mqtt subscribe topic: report/pat1/1165625,4485892/fixed/rx
#--> mqtt username: pat1
#--> mqtt password: 1password
#--> 1: I2C-ITH [ 0x23 ]: 254,0,0/103,2000,-,-/ [ OK ]
#--> 2: I2C-NTH [ 0x23 ]: 3,0,900/103,2000,-,-/ [ OK ]
#--> 3: I2C-MTH [ 0x23 ]: 0,0,900/103,2000,-,-/ [ OK ]
#--> 4: I2C-XTH [ 0x23 ]: 2,0,900/103,2000,-,-/ [ OK ]
#--> 5: I2C-TBR [ 0x21 ]: 1,0,900/1,-,-,-/ [ OK ]
#--> 6: I2C-DEP [ 0x30 ]: 254,0,0/265,1,-,-/ [ OK ]
#
#SIM800 switching ON... [ OK ] [ ON ]
#SIM800 reset to factory default [ OK ]
#SIM800 echo mode off [ OK ]
#SIM800 signal [ OK ] [ rssi 11, ber 5 ]
#SIM800 network registered... [ OK ]
#SIM800 setup... [ OK ]
#SIM800 GPRS attach... [ OK ] [ YES ]
#SIM800 single IP mode... [ OK ]
#SIM800 switch to data mode... [ OK ]
#SIM800 transparent mode... [ OK ]
#SIM800 set APN, username and password... [ OK ]
#SIM800 setting up connection... [ OK ]
#SIM800 IP... [ OK ] [ 10.72.143.115 ]
#SIM800 start connection... [ OK ]
#SIM800 UDP status... [ OK ] [ CONNECT ]
#Current date and time is: 18/10/2021 10:21:20
#Acquisition scheduling...
#--> observations every 1 minutes
#--> report every 15 minutes
#--> starting at: 10:30:00
#--> testing at: 10:22:00
#SIM800 stop connection... [ OK ]
#SIM800 PDP close... [ OK ]
#SIM800 detach GPRS... [ OK ]
#SIM800 stop connection... [ OK ]
#SIM800 switching OFF... [ OK ] [ OFF ]
#Sensors reading...
#Sensors reading...
#Sensors reading...
#Restart I2C BUS
#Sensors reading...
#Sensors reading...
#Restart I2C BUS
#Sensors reading...
#Sensors reading...
#Sensors reading...
#Restart I2C BUS
#Next acquisition scheduled at: 10:45:00
#Sensors reading...
#Sensors reading...
#Restart I2C BUS
#Sensors reading...
#Sensors reading...
#Sensors reading...
#Restart I2C BUS
#Sensors reading...
#Sensors reading...
#Restart I2C BUS
#Sensors reading...
#Sensors reading...
#Sensors reading...
#Restart I2C BUS
#Sensors reading...
#Sensors reading...
#Restart I2C BUS
#Sensors reading...
#Sensors reading...
#Sensors reading...
#Restart I2C BUS
#Next acquisition scheduled at: 11:00:00
#Sensors reading...
#SD Card open file 2021_10_18.txt... [ FAIL ]
#[ 0 ] data stored in sdcard... [ ERROR ]
#SIM800 switching ON... [ OK ] [ ON ]
#SIM800 reset to factory default [ OK ]
#SIM800 echo mode off [ OK ]
#SIM800 signal [ OK ] [ rssi 9, ber 5 ]
#SIM800 network registered... [ OK ]
#SIM800 setup... [ OK ]
#SIM800 GPRS attach... [ OK ] [ NO ]
#SIM800 attach GPRS... [ OK ]
#SIM800 single IP mode... [ OK ]
#SIM800 switch to data mode... [ OK ]
#SIM800 transparent mode... [ OK ]
#SIM800 set APN, username and password... [ OK ]
#SIM800 setting up connection... [ OK ]
#SIM800 IP... [ OK ] [ 10.187.110.217 ]
#SIM800 start connection... [ OK ]
#Data pointer... [ FIND ]
#2021_01_01.txt... [ NOT FOUND ]
#2021_01_02.txt... [ NOT FOUND ]
#2021_01_03.txt... [ NOT FOUND ]
#2021_01_04.txt... [ NOT FOUND ]
#2021_01_05.txt... [ NOT FOUND ]
#2021_01_06.txt... [ NOT FOUND ]
#2021_01_07.txt... [ NOT FOUND ]
#2021_01_08.txt... [ NOT FOUND ]
#2021_01_09.txt... [ NOT FOUND ]
#2021_01_10.txt... [ NOT FOUND ]
#2021_01_11.txt... [ NOT FOUND ]
#2021_01_12.txt... [ NOT FOUND ]
#2021_01_13.txt... [ NOT FOUND ]
#2021_01_14.txt... [ NOT FOUND ]
#2021_01_15.txt... [ NOT FOUND ]
#2021_01_16.txt... [ NOT FOUND ]
#2021_01_17.txt... [ NOT FOUND ]
#2021_01_18.txt... [ NOT FOUND ]
#2021_01_19.txt... [ NOT FOUND ]
#2021_01_20.txt... [ NOT FOUND ]
#2021_01_21.txt... [ NOT FOUND ]
#2021_01_22.txt... [ NOT FOUND ]
#2021_01_23.txt... [ NOT FOUND ]
#2021_01_24.txt... [ NOT FOUND ]
#2021_01_25.txt... [ NOT FOUND ]
#2021_01_26.txt... [ NOT FOUND ]
#2021_01_27.txt... [ NOT FOUND ]
#2021_01_28.txt... [ NOT FOUND ]
#2021_01_29.txt... [ NOT FOUND ]
#2021_01_30.txt... [ NOT FOUND ]
#2021_01_31.txt... [ NOT FOUND ]
#2021_02_01.txt... [ NOT FOUND ]
#2021_02_02.txt... [ NOT FOUND ]
#2021_02_03.txt... [ NOT FOUND ]
#2021_02_04.txt... [ NOT FOUND ]
#2021_02_05.txt... [ NOT FOUND ]
#2021_02_06.txt... [ NOT FOUND ]
#2021_02_07.txt... [ NOT FOUND ]
#2021_02_08.txt... [ NOT FOUND ]
#2021_02_09.txt... [ NOT FOUND ]
#2021_02_10.txt... [ NOT FOUND ]
#2021_02_11.txt... [ NOT FOUND ]
#2021_02_12.txt... [ NOT FOUND ]
#2021_02_13.txt... [ NOT FOUND ]
#2021_02_14.txt... [ NOT FOUND ]
#2021_02_15.txt... [ NOT FOUND ]
#2021_02_16.txt... [ NOT FOUND ]
#2021_02_17.txt... [ NOT FOUND ]
#2021_02_18.txt... [ NOT FOUND ]
#2021_02_19.txt... [ NOT FOUND ]
#2021_02_20.txt... [ NOT FOUND ]
#2021_02_21.txt... [ NOT FOUND ]
#2021_02_22.txt... [ NOT FOUND ]
#2021_02_23.txt... [ NOT FOUND ]
#2021_02_24.txt... [ NOT FOUND ]
#2021_02_25.txt... [ NOT FOUND ]
#2021_02_26.txt... [ NOT FOUND ]
#2021_02_27.txt... [ NOT FOUND ]
#2021_02_28.txt... [ NOT FOUND ]
#2021_03_01.txt... [ NOT FOUND ]
#2021_03_02.txt... [ NOT FOUND ]
#2021_03_03.txt... [ NOT FOUND ]
#2021_03_04.txt... [ NOT FOUND ]
#2021_03_05.txt... [ NOT FOUND ]
#2021_03_06.txt... [ NOT FOUND ]
#2021_03_07.txt... [ NOT FOUND ]
#2021_03_08.txt... [ NOT FOUND ]
#2021_03_09.txt... [ NOT FOUND ]
#2021_03_10.txt... [ NOT FOUND ]
#2021_03_11.txt... [ NOT FOUND ]
#2021_03_12.txt... [ NOT FOUND ]
#2021_03_13.txt... [ NOT FOUND ]
#2021_03_14.txt... [ NOT FOUND ]
#2021_03_15.txt... [ NOT FOUND ]
#2021_03_16.txt... [ NOT FOUND ]
#2021_03_17.txt... [ NOT FOUND ]
#2021_03_18.txt... [ NOT FOUND ]
#2021_03_19.txt... [ NOT FOUND ]
#2021_03_20.txt... [ NOT FOUND ]
#2021_03_21.txt... [ NOT FOUND ]
#2021_03_22.txt... [ NOT FOUND ]
#2021_03_23.txt... [ NOT FOUND ]
#2021_03_24.txt... [ NOT FOUND ]
#2021_03_25.txt... [ NOT FOUND ]
#2021_03_26.txt... [ NOT FOUND ]
#2021_03_27.txt... [ NOT FOUND ]
#2021_03_28.txt... [ NOT FOUND ]
#2021_03_29.txt... [ NOT FOUND ]
#2021_03_30.txt... [ NOT FOUND ]
#2021_03_31.txt... [ NOT FOUND ]
#2021_04_01.txt... [ NOT FOUND ]
#2021_04_02.txt... [ NOT FOUND ]
#2021_04_03.txt... [ NOT FOUND ]
#2021_04_04.txt... [ NOT FOUND ]
#2021_04_05.txt... [ NOT FOUND ]
#2021_04_06.txt... [ NOT FOUND ]
#2021_04_07.txt... [ NOT FOUND ]
#2021_04_08.txt... [ NOT FOUND ]
#2021_04_09.txt... [ NOT FOUND ]
#2021_04_10.txt... [ NOT FOUND ]
#2021_04_11.txt... [ NOT FOUND ]
#2021_04_12.txt... [ NOT FOUND ]
#2021_04_13.txt... [ NOT FOUND ]
#2021_04_14.txt... [ NOT FOUND ]
#2021_04_15.txt... [ NOT FOUND ]
#2021_04_16.txt... [ NOT FOUND ]
#2021_04_17.txt... [ NOT FOUND ]
#2021_04_18.txt... [ NOT FOUND ]
#2021_04_19.txt... [ NOT FOUND ]
#2021_04_20.txt... [ NOT FOUND ]
#2021_04_21.txt... [ NOT FOUND ]
#2021_04_22.txt... [ NOT FOUND ]
#2021_04_23.txt... [ NOT FOUND ]
#2021_04_24.txt... [ NOT FOUND ]
#2021_04_25.txt... [ NOT FOUND ]
#2021_04_26.txt... [ NOT FOUND ]
#2021_04_27.txt... [ NOT FOUND ]
#2021_04_28.txt... [ NOT FOUND ]
#2021_04_29.txt... [ NOT FOUND ]
#2021_04_30.txt... [ NOT FOUND ]
#2021_05_01.txt... [ NOT FOUND ]
#2021_05_02.txt... [ NOT FOUND ]
#2021_05_03.txt... [ NOT FOUND ]
#2021_05_04.txt... [ NOT FOUND ]
#2021_05_05.txt... [ NOT FOUND ]
#2021_05_06.txt... [ NOT FOUND ]
#2021_05_07.txt... [ NOT FOUND ]
#2021_05_08.txt... [ NOT FOUND ]
#2021_05_09.txt... [ NOT FOUND ]
#2021_05_10.txt... [ NOT FOUND ]
#2021_05_11.txt... [ NOT FOUND ]
#2021_05_12.txt... [ NOT FOUND ]
#2021_05_13.txt... [ NOT FOUND ]
#2021_05_14.txt... [ NOT FOUND ]
#2021_05_15.txt... [ NOT FOUND ]
#2021_05_16.txt... [ NOT FOUND ]
#2021_05_17.txt... [ NOT FOUND ]
#2021_05_18.txt... [ NOT FOUND ]
#2021_05_19.txt... [ NOT FOUND ]
#2021_05_20.txt... [ NOT FOUND ]
#2021_05_21.txt... [ NOT FOUND ]
#2021_05_22.txt... [ NOT FOUND ]
#2021_05_23.txt... [ NOT FOUND ]
#2021_05_24.txt... [ NOT FOUND ]
#2021_05_25.txt... [ NOT FOUND ]
#2021_05_26.txt... [ NOT FOUND ]
#2021_05_27.txt... [ NOT FOUND ]
#2021_05_28.txt... [ NOT FOUND ]
#2021_05_29.txt... [ NOT FOUND ]
#2021_05_30.txt... [ NOT FOUND ]
#2021_05_31.txt... [ NOT FOUND ]
#2021_06_01.txt... [ NOT FOUND ]
#2021_06_02.txt... [ NOT FOUND ]
#2021_06_03.txt... [ NOT FOUND ]
#2021_06_04.txt... [ NOT FOUND ]
#2021_06_05.txt... [ NOT FOUND ]
#2021_06_06.txt... [ NOT FOUND ]
#2021_06_07.txt... [ NOT FOUND ]
#2021_06_08.txt... [ NOT FOUND ]
#2021_06_09.txt... [ NOT FOUND ]
#2021_06_10.txt... [ NOT FOUND ]
#2021_06_11.txt... [ NOT FOUND ]
#2021_06_12.txt... [ NOT FOUND ]
#2021_06_13.txt... [ NOT FOUND ]
#2021_06_14.txt... [ NOT FOUND ]
#2021_06_15.txt... [ NOT FOUND ]
#2021_06_16.txt... [ NOT FOUND ]
#2021_06_17.txt... [ NOT FOUND ]
#2021_06_18.txt... [ NOT FOUND ]
#2021_06_19.txt... [ NOT FOUND ]
#2021_06_20.txt... [ NOT FOUND ]
#2021_06_21.txt... [ NOT FOUND ]
#2021_06_22.txt... [ NOT FOUND ]
#2021_06_23.txt... [ NOT FOUND ]
#2021_06_24.txt... [ NOT FOUND ]
#2021_06_25.txt... [ NOT FOUND ]
#2021_06_26.txt... [ NOT FOUND ]
#2021_06_27.txt... [ NOT FOUND ]
#2021_06_28.txt... [ NOT FOUND ]
#2021_06_29.txt... [ NOT FOUND ]
#2021_06_30.txt... [ NOT FOUND ]
#2021_07_01.txt... [ NOT FOUND ]
#2021_07_02.txt... [ NOT FOUND ]
#2021_07_03.txt... [ NOT FOUND ]
#2021_07_04.txt... [ NOT FOUND ]
#2021_07_05.txt... [ NOT FOUND ]
#2021_07_06.txt... [ NOT FOUND ]
#2021_07_07.txt... [ NOT FOUND ]
#2021_07_08.txt... [ NOT FOUND ]
#2021_07_09.txt... [ NOT FOUND ]
#2021_07_10.txt... [ NOT FOUND ]
#2021_07_11.txt... [ NOT FOUND ]
#2021_07_12.txt... [ NOT FOUND ]
#2021_07_13.txt... [ NOT FOUND ]
#2021_07_14.txt... [ NOT FOUND ]
#2021_07_15.txt... [ NOT FOUND ]
#2021_07_16.txt... [ NOT FOUND ]
#2021_07_17.txt... [ NOT FOUND ]
#2021_07_18.txt... [ NOT FOUND ]
#2021_07_19.txt... [ NOT FOUND ]
#2021_07_20.txt... [ NOT FOUND ]
#2021_07_21.txt... [ NOT FOUND ]
#2021_07_22.txt... [ NOT FOUND ]
#2021_07_23.txt... [ NOT FOUND ]
#2021_07_24.txt... [ NOT FOUND ]
#2021_07_25.txt... [ NOT FOUND ]
#2021_07_26.txt... [ NOT FOUND ]
#2021_07_27.txt... [ NOT FOUND ]
#2021_07_28.txt... [ NOT FOUND ]
#2021_07_29.txt... [ NOT FOUND ]
#2021_07_30.txt... [ NOT FOUND ]
#2021_07_31.txt... [ NOT FOUND ]
#2021_08_01.txt... [ NOT FOUND ]
#2021_08_02.txt... [ NOT FOUND ]
#2021_08_03.txt... [ NOT FOUND ]
#2021_08_04.txt... [ NOT FOUND ]
#2021_08_05.txt... [ NOT FOUND ]
#2021_08_06.txt... [ NOT FOUND ]
#2021_08_07.txt... [ NOT FOUND ]
#2021_08_08.txt... [ NOT FOUND ]
#2021_08_09.txt... [ NOT FOUND ]
#2021_08_10.txt... [ NOT FOUND ]
#2021_08_11.txt... [ NOT FOUND ]
#2021_08_12.txt... [ NOT FOUND ]
#2021_08_13.txt... [ NOT FOUND ]
#2021_08_14.txt... [ NOT FOUND ]
#2021_08_15.txt... [ NOT FOUND ]
#2021_08_16.txt... [ NOT FOUND ]
#2021_08_17.txt... [ NOT FOUND ]
#2021_08_18.txt... [ NOT FOUND ]
#2021_08_19.txt... [ NOT FOUND ]
#2021_08_20.txt... [ NOT FOUND ]
#2021_08_21.txt... [ NOT FOUND ]
#2021_08_22.txt... [ NOT FOUND ]
#2021_08_23.txt... [ NOT FOUND ]
#2021_08_24.txt... [ NOT FOUND ]
#2021_08_25.txt... [ NOT FOUND ]
#2021_08_26.txt... [ NOT FOUND ]
#2021_08_27.txt... [ NOT FOUND ]
#2021_08_28.txt... [ NOT FOUND ]
#2021_08_29.txt... [ NOT FOUND ]
#2021_08_30.txt... [ NOT FOUND ]
#2021_08_31.txt... [ NOT FOUND ]
#2021_09_01.txt... [ NOT FOUND ]
#2021_09_02.txt... [ NOT FOUND ]
#2021_09_03.txt... [ NOT FOUND ]
#2021_09_04.txt... [ NOT FOUND ]
#2021_09_05.txt... [ NOT FOUND ]
#2021_09_06.txt... [ NOT FOUND ]
#2021_09_07.txt... [ NOT FOUND ]
#2021_09_08.txt... [ NOT FOUND ]
#2021_09_09.txt... [ NOT FOUND ]
#2021_09_10.txt... [ NOT FOUND ]
#2021_09_11.txt... [ NOT FOUND ]
#2021_09_12.txt... [ NOT FOUND ]
#2021_09_13.txt... [ NOT FOUND ]
#2021_09_14.txt... [ NOT FOUND ]
#2021_09_15.txt... [ NOT FOUND ]
#2021_09_16.txt... [ NOT FOUND ]
#2021_09_17.txt... [ NOT FOUND ]
#2021_09_18.txt... [ NOT FOUND ]
#2021_09_19.txt... [ NOT FOUND ]
#2021_09_20.txt... [ NOT FOUND ]
#2021_09_21.txt... [ NOT FOUND ]
#2021_09_22.txt... [ NOT FOUND ]
#2021_09_23.txt... [ NOT FOUND ]
#2021_09_24.txt... [ NOT FOUND ]
#2021_09_25.txt... [ NOT FOUND ]
#2021_09_26.txt... [ NOT FOUND ]
#2021_09_27.txt... [ NOT FOUND ]
#2021_09_28.txt... [ NOT FOUND ]
#2021_09_29.txt... [ NOT FOUND ]
#2021_09_30.txt... [ NOT FOUND ]
#2021_10_01.txt... [ NOT FOUND ]
#2021_10_02.txt... [ NOT FOUND ]
#2021_10_03.txt... [ NOT FOUND ]
#2021_10_04.txt... [ NOT FOUND ]
#2021_10_05.txt... [ NOT FOUND ]
#2021_10_06.txt... [ NOT FOUND ]
#2021_10_07.txt... [ NOT FOUND ]
#2021_10_08.txt... [ NOT FOUND ]
#2021_10_09.txt... [ NOT FOUND ]
#2021_10_10.txt... [ NOT FOUND ]
#2021_10_11.txt... [ NOT FOUND ]
#2021_10_12.txt... [ NOT FOUND ]
#2021_10_13.txt... [ NOT FOUND ]
#2021_10_14.txt... [ NOT FOUND ]
#2021_10_15.txt... [ NOT FOUND ]
#2021_10_16.txt... [ NOT FOUND ]
#2021_10_17.txt... [ NOT FOUND ]
#2021_10_18.txt... [ NOT FOUND ]
#Data pointer... [ --/--/---- --:--:-- ] [ ERROR ]
#SIM800 TCP status... [ OK ] [ CONNECT ]
#Data pointer... [ 18/10/2021 00:00:01 ] [ UPDATE ]
#[ 12 ] data published through mqtt... [ OK ]
#SIM800 stop connection... [ OK ]
#SIM800 PDP close... [ OK ]
#SIM800 detach GPRS... [ OK ]
#SIM800 stop connection... [ OK ]
#SIM800 switching OFF... [ OK ] [ OFF ]
#Sensors reading...
#Restart I2C BUS
#Sensors reading...
#Sensors reading...
#Restart I2C BUS
#Sensors reading...
#Sensors reading...
#Sensors reading...
#Restart I2C BUS
#Sensors reading...
#Sensors reading...
#Restart I2C BUS
#Sensors reading...
#Sensors reading...
#Sensors reading...
#Restart I2C BUS
#Sensors reading...
#Sensors reading...
#Restart I2C BUS
#Sensors reading...
#Next acquisition scheduled at: 11:15:00
#Sensors reading...
#Restart I2C BUS
#SD Card open file 2021_10_18.txt... [ FAIL ]
#[ 0 ] data stored in sdcard... [ ERROR ]
#SIM800 switching ON... [ OK ] [ ON ]
#SIM800 reset to factory default [ OK ]
#SIM800 echo mode off [ OK ]
#SIM800 signal [ OK ] [ rssi 4, ber 5 ]
#SIM800 network registered... [ OK ]
#SIM800 setup... [ OK ]
#SIM800 GPRS attach... [ OK ] [ YES ]
#SIM800 single IP mode... [ OK ]
#SIM800 switch to data mode... [ OK ]
#SIM800 transparent mode... [ OK ]
#SIM800 set APN, username and password... [ OK ]
#SIM800 setting up connection... [ OK ]
#SIM800 IP... [ OK ] [ 10.187.2.6 ]
#SIM800 start connection... [ OK ]
#Data pointer... [ --/--/---- --:--:-- ] [ ERROR ]
#SIM800 TCP status... [ OK ] [ CONNECT ]
#[ 12 ] data published through mqtt... [ OK ]
#SIM800 stop connection... [ OK ]
#SIM800 PDP close... [ OK ]
#SIM800 detach GPRS... [ OK ]
#SIM800 stop connection... [ OK ]
#SIM800 switching OFF... [ OK ] [ OFF ]
#Sensors reading...
#Sensors reading...
#Sensors reading...
#Restart I2C BUS
#Sensors reading...
#Sensors reading...
#Restart I2C BUS
#Sensors reading...
#Sensors reading...
#Sensors reading...
#Restart I2C BUS
#Sensors reading...
data pointer is broken on SDcard
Data pointer... [ --/--/---- --:--:-- ] [ ERROR ]
This is the mqtt_ptr.txt content: 01 B9 6C 61 ..la
this is the log: