33 Commits

Author SHA1 Message Date
2d7af21ab8 testing 10 2023-02-03 11:48:30 +01:00
b4c98c7ae0 testing 10 2023-02-03 11:48:06 +01:00
7433c3d14e test commit 8 2023-02-03 09:45:40 +01:00
aa31df91ac test commit 8 2023-02-03 09:40:44 +01:00
d768658769 test commit 7 2023-02-03 09:38:47 +01:00
7b0c89ad2b test commit 6 2023-02-03 09:34:28 +01:00
bc1b830d34 test commit 5 2023-02-03 09:30:52 +01:00
47f1eaa4a6 test commit 4 2023-02-03 09:27:38 +01:00
b53f76261e test commit 3 2023-02-03 09:02:10 +01:00
fc526255c7 test commit 2 2023-02-03 08:43:49 +01:00
46d6b37e1d testing update 2023-02-02 15:53:28 +01:00
a6dd5d737e Add current configuartion after running write_config in opgk.sh 2022-06-13 19:46:50 +02:00
998de0616c Added device.conf 2022-06-12 17:26:08 +02:00
90d0a1364b Merge from master.
Merge branch 'master' of https://git.mimbach49.de/GerhardHoffmann/customer_281
2022-06-12 17:20:54 +02:00
347b7d590b current as copy of update 2023-01-25 15:00:01 +01:00
aafef2dfc2 Add basic items 2022-06-12 17:17:09 +02:00
05e3f47f92 Add device.conf 2022-06-12 17:13:58 +02:00
e66c5d7f44 Add file for current psa-status 2022-06-11 21:22:09 +02:00
10b7127cb5 Removed 2022-06-11 21:11:30 +02:00
2f3b47a06e Add first structures to update.conf 2023-01-25 14:41:20 +01:00
1911e6711c Add init-files (like for PTU4) 2023-01-25 14:21:55 +01:00
49abff7eb7 Add init-files (like for PTU4) 2023-01-25 14:21:01 +01:00
7b32ba5234 Add update.conf 2023-01-25 13:34:52 +01:00
5ee830df17 Hide zone file 2023-01-25 13:32:52 +01:00
e12646efb1 Add .psa.conf 2023-01-25 13:32:18 +01:00
c645d5afd2 rename to make hidden 2023-01-25 13:31:15 +01:00
7ba0e9d080 rename to make hidden 2023-01-25 13:30:51 +01:00
87d8b7ca4a Add tmp-dir 2023-01-25 13:29:48 +01:00
42fcba89fb Add zone-description file 2022-06-11 19:47:20 +02:00
7e79b2e01c description of zone_group 2022-06-11 19:46:44 +02:00
08304f5dc4 location file (describe szeged) 2022-06-11 19:45:34 +02:00
2bcbf27671 Added szeged-dir plus subdirectories 2023-01-25 13:14:46 +01:00
b77017768a first commit 2023-01-25 13:09:26 +01:00
86 changed files with 2692 additions and 6517 deletions

View File

@@ -1,54 +0,0 @@
#!/bin/bash -
# FILE="/tmp/post-merge$(date +%FT%H-%M-%S)"
# commit=$(git rev-parse --verify HEAD)
# echo "$commit $(git cat-file commit $commit)" >> /tmp/post-merge
# Redirect output to stderr.
exec 1>&2
if [ -z $IFS ]; then
IFS=$'\n'
fi
GIT_PULL_TMP=/tmp/git_changed_files_for_last_pull
OPKG_CMDS_TMP=/tmp/opkg_commands
rm -f $GIT_PULL_TMP
rm -f $OPKG_CMDS_TMP
get_blob () { # get the blob of the file(name) passed as $1
# note: this can be used for any file in the filesystem
echo $(git hash-object $1)
}
get_commit_for_blob () {
# search for the blob in all commits for the file(name) $1
echo $(git log --all --pretty=format:%H -- $2 |
xargs -I{} bash -c "git ls-tree {} -- $2 |
grep -q $1 && echo -n {} && head -n 1")
}
for fn in $(git diff-tree -r HEAD@{1} HEAD --name-only); do
if grep -E -q "(DC.*json|dc.*hex|dc.*bin|tariff.*json)" <<< $fn; then
# called in repository: $fn is e.g. etc/psa_tariff/tariff01.json
# add '/' prefix
fn=$(echo $fn | awk '{ printf "/"$0 }')
if [[ -f "$fn" ]]; then
blob=$(get_blob "$fn")
commit=$(get_commit_for_blob $blob "$fn")
fsize=$(ls -l "$fn" | awk '{ print $5 }')
echo "$fn $fsize $blob $commit" >> $GIT_PULL_TMP
fi
fi
if grep -E -q ".*opkg_commands" <<< $fn; then
readarray opkg_commands < <(cat $fn)
for opkg_c in "${opkg_commands[@]}"; do
test -z $opkg_c && continue;
test ! -z $(grep -E "^\s*[#]+.*$" <<< $opkg_c) && continue
echo -n "$opkg_c" | tr -d '\n\r' >> $OPKG_CMDS_TMP 2>&1
echo "" >> $OPKG_CMDS_TMP 2>&1
done
source "$fn"
fi
done

16
.gitignore vendored
View File

@@ -1,16 +0,0 @@
*
## Except
!**/.gitignore
!**/.githooks/post-merge
!/etc/*.ini
!/etc/atb/*.ini
!/etc/psa_config/*
!/etc/psa_update/*
!/etc/psa_tariff/*
!/etc/dc/dc2c.hex
!/opt/app/ATBAPP/*.ini
!/opt/app/sysconfig/*.ini
!/opt/app/ISMASMgr/*.ini

View File

@@ -1,100 +0,0 @@
[COMMON]
com_port_name=/dev/ttyS1
com_baud_rate=9600
lang1=hu_HU
lang2=en_GB
lang3=de_DE
lang4=sr
lang5=ro_RO
defaultLanguage=1
showInfoButton=false
showHelpButton=false
CharacterSet="ISO 8859-2"
#useLanguage=[128+][64+][32+][16]
useLanguage=248
#usePayment=[128+][64+][32+][16]
usePayment=96
#useVehicle=[128+][64+][32+][16+][8]
useVehicle=240
#useProduct=[128+][64+][32+][16+][8]
useProduct=240
textfile=/opt/app/ATBAPP/text/HMI_Texte.xml
logfile=/var/log/atbqt.log
alternativeLogoFile=
feature_Log=off
feature_TouchFeedback=off
feature_DisplayControl=off
feature_SystemSuspend=off
feature_StartButton=on
feature_selfOOO=off
feature_DBusDisplayControl=on
feature_DBusSuspendControl=on
feature_ShowParkingTime=off
suspend_methode=sysfs
suspend_program=
suspend_time=8
touch_feedback_gpio=121
touch_feedback_on_value=1
touch_feedback_off_value=0
#ooo_mode={useDisk|otherMachine}
ooo_mode=otherMachine
sellTimeout_time=60
showInfoButton=false
showHelpButton=false
useAppStates=1
statefile=/opt/app/ATBAPP/states/APP_States.xml
[SCREENCONFIG]
sc_31="1,1,0"
sc_33="1,0,1"
sc_3F="1,0,0"
sc_40="1,0,1"
sc_41="1,0,1"
sc_35="0,0,0"
sc_51="1,0,1"
sc_52="1,0,0"
sc_53="1,0,0"
[PLUGINS]
CCPlugin=IngenicoISelf_CCPlugin
CalculatePricePlugin=MOBILISIS_CalculatePricePlugin
DeviceControllerPlugin=ATBDeviceControllerPlugin
[IngenicoISelf_CCPlugin]
debug=1
PortName=/dev/ttymxc0
ZVT=DE
sleep=1
sleepExtended=1
Currency=HUF
[TCP_CONTROL]
enable=1
[PAYMENT]
currencySymbol=
cashVariant=CoinsOnly
paymentPointInTime=poa
[MOBILISIS_CalculatePricePlugin]
useDebug=1
[ATBDeviceControllerPlugin]
serialPort=ttymxc2

View File

@@ -1,51 +0,0 @@
[COMMON]
startBacklightController=1
startSuspendController=1
startMonitoringController=0
startMQTTController=0
[BACKLIGHT]
inputBrightness=80
curve=1
dimLowValue=1
SensorMax=3500
SensorMin=0
dimMin=20
dimMax=100
[SUSPEND]
program=/home/root/system_powerdown_wakeup.sh
[MONITORING]
protocol=mqtt
useDeviceId=on
monitoring_heartbeatInterval=60
[MQTT]
mqtt_host=mqtt2.atb-comm.de
mqtt_port=8883
mqtt_username=testuser
mqtt_password=xyz123
mqtt_useSsl=on
mqtt_debug=on
mqtt_QoS=0
mqtt_TopicScheme=ATB_ISMAS
mqtt_TopicDeviceType=MP
mqtt_TopicPrefix=ATB
[NETWORKCHECK]
useNetworkCheck=on
setOOO=off
PingHost=google.com
networkRestart="/sbin/ifup -a"
[AT_TASKS]
size=1
1\id=PTU5UPDATE
1\program="/opt/app/tools/atbupdate/PTUGitInstaller"
1\arguments=-q,--platform,wayland
1\envs=QT_QPA_EGLFS_KMS_ATOMIC=1,QT_QPA_EGLFS_ALWAYS_SET_MODE=1,XDG_RUNTIME_DIR=/var/run/user/0
1\hourOfDay=1

File diff suppressed because it is too large Load Diff

View File

@@ -1,16 +0,0 @@
{
"title":"DC2C_cash ",
"project":"DBM Szeged",
"version":"13.02.2023 12:20 00001",
"localCoinAccept(7..0)":[0,0,0,1,1,1,1,1],
"Name of Currency":"Huf",
"local tax rate":20,
"foreignCoinAccept(15..8)":[0,0,0,0,0,1,1,1],
"CurrencyName":"EUR",
"foreign tax rate":19,
"TokenChannel":3,
"Bills(7..0)":[0,0,0,0,0,0,0,0],
"surcharge":0,
"discount":0,
"":""
}

View File

@@ -1,13 +0,0 @@
{
"title":"DC2C_config",
"project":"DBM Szeged",
"version":"13.02.2023 12:20 00001",
"custNum":281,
"machNum":999,
"borough":1,
"zone":1,
"alias":1357,
"location":"92637Weiden/Opf_Bahnhofstraße 65",
"":""
}

View File

@@ -1,28 +0,0 @@
{
"title":"DC2C_pri01",
"project":"DBM Szeged",
"version":"13.02.2023 12:20 00001",
"styl":"bold on",
"text":"Parkingticket ",
"styl":"bold off",
"feed":"nl",
"text":"Parkingticket ",
"styl":"under on",
"text":"Parkingticket ",
"styl":"under off",
"feed":"nl",
"text":"Parkingticket ",
"styl":"latin on",
"text":"Parkingticket ",
"styl":"latin off",
"feed":"nl",
"text":"Parkingticket ",
"styl":"font 09",
"text":"Park ",
"styl":"font 16",
"text":"Park ",
"feed":"nl",
"":""
}

View File

@@ -1,5 +0,0 @@
{
"title":"DC2C_pri02",
"version":"27.02.2023 12:20 00001",
"":""
}

View File

@@ -1,5 +0,0 @@
{
"title":"DC2C_pri03",
"version":"27.02.2023 12:20 00001",
"":""
}

View File

@@ -1,5 +0,0 @@
{
"title":"DC2C_pri04",
"version":"27.02.2023 12:20 00001",
"":""
}

View File

@@ -1,5 +0,0 @@
{
"title":"DC2C_pri05",
"version":"27.02.2023 12:20 00001",
"":""
}

View File

@@ -1,5 +0,0 @@
{
"title":"DC2C_pri06",
"version":"27.02.2023 12:20 00001",
"":""
}

View File

@@ -1,5 +0,0 @@
{
"title":"DC2C_pri07",
"version":"27.02.2023 12:20 00001",
"":""
}

View File

@@ -1,5 +0,0 @@
{
"title":"DC2C_pri08",
"version":"27.02.2023 12:20 00001",
"":""
}

View File

@@ -1,5 +0,0 @@
{
"title":"DC2C_pri09",
"version":"27.02.2023 12:20 00001",
"":""
}

View File

@@ -1,5 +0,0 @@
{
"title":"DC2C_pri10",
"version":"27.02.2023 12:20 00001",
"":""
}

View File

@@ -1,5 +0,0 @@
{
"title":"DC2C_pri11",
"version":"27.02.2023 12:20 00001",
"":""
}

View File

@@ -1,5 +0,0 @@
{
"title":"DC2C_pri12",
"version":"27.02.2023 12:20 00001",
"":""
}

View File

@@ -1,5 +0,0 @@
{
"title":"DC2C_pri13",
"version":"27.02.2023 12:20 00001",
"":""
}

View File

@@ -1,5 +0,0 @@
{
"title":"DC2C_pri14",
"version":"27.02.2023 12:20 00001",
"":""
}

View File

@@ -1,5 +0,0 @@
{
"title":"DC2C_pri15",
"version":"27.02.2023 12:20 00001",
"":""
}

View File

@@ -1,5 +0,0 @@
{
"title":"DC2C_pri16",
"version":"27.02.2023 12:20 00001",
"":""
}

View File

@@ -1,5 +0,0 @@
{
"title":"DC2C_pri17",
"version":"27.02.2023 12:20 00001",
"":""
}

View File

@@ -1,5 +0,0 @@
{
"title":"DC2C_pri18",
"version":"27.02.2023 12:20 00001",
"":""
}

View File

@@ -1,5 +0,0 @@
{
"title":"DC2C_pri19",
"version":"27.02.2023 12:20 00001",
"":""
}

View File

@@ -1,5 +0,0 @@
{
"title":"DC2C_pri20",
"version":"27.02.2023 12:20 00001",
"":""
}

View File

@@ -1,5 +0,0 @@
{
"title":"DC2C_pri21",
"version":"27.02.2023 12:20 00001",
"":""
}

View File

@@ -1,5 +0,0 @@
{
"title":"DC2C_pri22",
"version":"27.02.2023 12:20 00001",
"":""
}

View File

@@ -1,5 +0,0 @@
{
"title":"DC2C_pri23",
"version":"27.02.2023 12:20 00001",
"":""
}

View File

@@ -1,5 +0,0 @@
{
"title":"DC2C_pri24",
"version":"27.02.2023 12:20 00001",
"":""
}

View File

@@ -1,5 +0,0 @@
{
"title":"DC2C_pri25",
"version":"27.02.2023 12:20 00001",
"":""
}

View File

@@ -1,5 +0,0 @@
{
"title":"DC2C_pri26",
"version":"27.02.2023 12:20 00001",
"":""
}

View File

@@ -1,5 +0,0 @@
{
"title":"DC2C_pri27",
"version":"27.02.2023 12:20 00001",
"":""
}

View File

@@ -1,5 +0,0 @@
{
"title":"DC2C_pri28",
"version":"27.02.2023 12:20 00001",
"":""
}

View File

@@ -1,5 +0,0 @@
{
"title":"DC2C_pri29",
"version":"27.02.2023 12:20 00001",
"":""
}

View File

@@ -1,5 +0,0 @@
{
"title":"DC2C_pri30",
"version":"27.02.2023 12:20 00001",
"":""
}

View File

@@ -1,5 +0,0 @@
{
"title":"DC2C_pri31",
"version":"27.02.2023 12:20 00001",
"":"iiii"
}

View File

@@ -1,6 +0,0 @@
{
"title":"DC2C_pri32",
"version":"27.02.2023 12:20 00001",
"":"",
"":"10001"
}

View File

@@ -1,13 +0,0 @@
{
"title":"DC2C_serial",
"setup_master_interface":"",
"project":"DBM Szeged",
"version":"13.02.2023 12:20 00001",
"crcChk":1,
"baudRate":9600,
"data":8,
"parity":"no",
"stop":1,
"":""
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,28 +0,0 @@
# opkg prefix will be added inside evaluating script
#
# package manipulation commands without package:
# update, upgrade, clean
#
# informational commands without package:
# list, list-installed, list-upgradable
#
# ptu5-atb-apinfo
# ptu5-scripts
# ptu5-atb-apinfo
# atb-plugin-calculateprice-prm
# atb-plugin-cc-tcpzvt
# atbqt
# list-installed
# --force-reinstall install ptu5-atb-apinfo
# --force-reinstall install atbqt
# update
opkg update
opkg --noaction install atbqt
opkg install atbqt
#
#
#

View File

@@ -1 +0,0 @@
"VERSION":"0.1.0","PROJECT":"szeged","ZONE":1,"INFO":"summer sale","LOADED":"2022-06-02T21:57:29"

1
szeged/.location Normal file
View File

@@ -0,0 +1 @@
szeged

1
szeged/1/.zone_group Normal file
View File

@@ -0,0 +1 @@
contained zones in group 1

1
szeged/1/1/.zone Normal file
View File

@@ -0,0 +1 @@
1

View File

@@ -0,0 +1,7 @@
{
"project_number" : "",
"device_number" : "",
"atb_serial_id" : "",
"ismas_broker" : {},
"backbone_broker" : {}
}

View File

@@ -0,0 +1,2 @@
{
}

1
szeged/1/1/zone Normal file
View File

@@ -0,0 +1 @@
1

1
szeged/1/zone_group Normal file
View File

@@ -0,0 +1 @@
contained zones in group 1

2658
szeged/current.conf Normal file

File diff suppressed because it is too large Load Diff

19
szeged/update.conf Normal file
View File

@@ -0,0 +1,19 @@
{
"ini" : {
"/opt/app/sysconfig/ISMASMgr.ini" : "d41d8cd98f00b204e9800998ecf8427e",
"/opt/app/sysconfig/sysconfig.ini" : "d41d8cd98f00b204e9800998ecf8427e",
"/opt/app/sysconfig/SystemControl.ini" : "d41d8cd98f00b204e9800998ecf8427e"
},
"conf" : {
"szeged/1/1/etc/psa_config/emp.conf" : "d41d8cd98f00b204e9800998ecf8427e",
"szeged/1/1/etc/psa_config/printer.conf": "d41d8cd98f00b204e9800998ecf8427e",
"szeged/1/1/etc/psa_config/device.conf" : "654266f05908e9a9984df42fd80c9254"
},
"opkg" : {
"atbqt" : {
"Version" : "1.0.0-r1",
"MD5Sum" : "642eda2b3637291b024ef152479218bc",
"Architecture" : "cortexa9t2hf-neon"
}
}
}