Hi flachrelais_48 anbei das Logfile:

Hast du eine neuere Version von SDS2DB weil bei dir anstelle der Pfeile TR und RX steht?

Inhalt vom Logfile ttyS1:
Sep 16 08:23:40 linuxFR-Feinblech sds2db: <- ATZ
Sep 16 08:23:41 linuxFR-Feinblech sds2db: <- AT+CTSP=1,3,130
Sep 16 08:23:41 linuxFR-Feinblech sds2db: -> OK
Sep 16 08:23:58 linuxFR-Feinblech sds2db: -> R: 12,473010,0,491016,0,40
Sep 16 08:23:58 linuxFR-Feinblech sds2db: -> 82065F0141
Sep 16 08:23:59 linuxFR-Feinblech sds2db: <- AT+CMGS=473010,32
Sep 16 08:23:59 linuxFR-Feinblech sds2db: <- 8210005F^Z
Sep 16 08:23:59 linuxFR-Feinblech sds2db: -> +CME ERROR: 35
Sep 16 08:23:59 linuxFR-Feinblech sds2db: -> +CMGS: 0
Sep 16 08:23:59 linuxFR-Feinblech sds2db: -> OK
Sep 16 08:23:59 linuxFR-Feinblech sds2db: -> +CMGS: 0,4,95
Sep 16 08:24:01 linuxFR-Feinblech sds2db: -> +CTSDS0060,0,491016,0,40
Sep 16 08:24:01 linuxFR-Feinblech sds2db: -> 8206620141
Sep 16 08:24:05 linuxFR-Feinblech sds2db: -> +CTSDS3010,0,491016,0,40
Sep 16 08:24:05 linuxFR-Feinblech sds2db: -> 8206600141

Die erste SDS wurde fehlerfrei Empfangen und quittiert anschließend kamen die CTSDS rein.


Inhalt der PEI.init:

# Config-File einlesen
source /usr/local/sds2db/etc/sds2db.conf

# Initialisierung aller PEI Connections für den übergebenem Parameter ausführen
device=$1
if [ ! -c "/dev/$device" ]; then
device="null"
fi
# Sequenzzähler der Write-Spooler-Dateien initial auf Zufallswert setzen
seqnr=$RANDOM

# PEI-Schnittstelle initialisieren
echo "$(date +"%b %d %H:%M:%S") $host $inithelper: initialisiere PEI Schnittstelle an \"$device\"" >> $logfile
printf "ATZ\r" > $writespooldir/$(date +%s).$seqnr.$device
sleep 1
#echo "$(date +"%b %d %H:%M:%S") $host $inithelper: registriere TE für Status-SDS" >> $logfile #wird nicht benötigt #GPS
#printf "AT+CTSP=2,2,20\r" > $writespooldir/$(date +%s).$(($seqnr+1)).$device
#sleep 1
#echo "$(date +"%b %d %H:%M:%S") $host $inithelper: registriere TE für LIP" >> $logfile #wird nicht benötigt
#printf "AT+CTSP=1,3,10\r" > $writespooldir/$(date +%s).$(($seqnr+2)).$device
#sleep 1
echo "$(date +"%b %d %H:%M:%S") $host $inithelper: registriere TE für Text Messaging" >> $logfile
printf "AT+CTSP=1,3,130\r" > $writespooldir/$(date +%s).$(($seqnr+3)).$device
sleep 1
#echo "$(date +"%b %d %H:%M:%S") $host $inithelper: lese MS Identität" >> $logfile
#printf "AT+CNUMF?\r" > $writespooldir/$(date +%s).$(($seqnr+4)).$device
#sleep 1

exit 0

Alles Auskommentiert außer SDS (1,3,130)

mfg
CS