Ajout timeout d'update MQTT
This commit is contained in:
parent
ffd15d14aa
commit
34cf515944
@ -7996,3 +7996,89 @@ Démarrage du logiciel Otarcik CAN le 2023-05-17 à 15:52:16
|
||||
2023-05-17 15:52:16 Dispositif [ParkerCAN] initialisé avec succès!
|
||||
2023-05-17 15:52:32 Déinitialisation du module PCAN USB ID 81
|
||||
2023-05-17 15:52:32 Module PCAN USB déinitialisé avec succès...
|
||||
|
||||
|
||||
********************************************************************
|
||||
Démarrage du logiciel Otarcik CAN le 2023-05-25 à 14:28:06
|
||||
********************************************************************
|
||||
2023-05-25 14:28:06 Démarrage du logiciel OtarcikCAN
|
||||
2023-05-25 14:28:06 Chargement de la configuration système...
|
||||
2023-05-25 14:28:06 Configuration système chargée avec succès!
|
||||
2023-05-25 14:28:06 Initialisation du dispositif [ParkerCAN]
|
||||
2023-05-25 14:28:06 Chargement de la base de données D:/Main/Dev/YULTek/Otarcik_CAN/IVT-S_all-variations_12082020.dbc
|
||||
2023-05-25 14:28:06 Base de données chargée avec succès. Flags: 0x0
|
||||
2023-05-25 14:28:06 Démarrage d'un module CAN...
|
||||
2023-05-25 14:28:06 Initialisation d'un module PCAN. Channel:81, Baudrate:28
|
||||
2023-05-25 14:28:06 Module PCAN USB initialisé avec succès
|
||||
2023-05-25 14:28:06 Dispositif [ParkerCAN] initialisé avec succès!
|
||||
2023-05-25 14:28:19 Déinitialisation du module PCAN USB ID 81
|
||||
2023-05-25 14:28:19 Module PCAN USB déinitialisé avec succès...
|
||||
|
||||
|
||||
********************************************************************
|
||||
Démarrage du logiciel Otarcik CAN le 2023-05-25 à 14:32:04
|
||||
********************************************************************
|
||||
2023-05-25 14:32:04 Démarrage du logiciel OtarcikCAN
|
||||
2023-05-25 14:32:04 Chargement de la configuration système...
|
||||
2023-05-25 14:32:04 Configuration système chargée avec succès!
|
||||
2023-05-25 14:32:04 Initialisation du dispositif [ParkerCAN]
|
||||
2023-05-25 14:32:04 Chargement de la base de données D:/Main/Dev/YULTek/Otarcik_CAN/IVT-S_all-variations_12082020.dbc
|
||||
2023-05-25 14:32:04 Base de données chargée avec succès. Flags: 0x0
|
||||
2023-05-25 14:32:04 Démarrage d'un module CAN...
|
||||
2023-05-25 14:32:04 Initialisation d'un module PCAN. Channel:81, Baudrate:28
|
||||
2023-05-25 14:32:04 Module PCAN USB initialisé avec succès
|
||||
2023-05-25 14:32:04 Dispositif [ParkerCAN] initialisé avec succès!
|
||||
2023-05-25 14:34:07 Déinitialisation du module PCAN USB ID 81
|
||||
2023-05-25 14:34:07 Module PCAN USB déinitialisé avec succès...
|
||||
|
||||
|
||||
********************************************************************
|
||||
Démarrage du logiciel Otarcik CAN le 2023-05-25 à 14:37:07
|
||||
********************************************************************
|
||||
2023-05-25 14:37:07 Démarrage du logiciel OtarcikCAN
|
||||
2023-05-25 14:37:07 Chargement de la configuration système...
|
||||
2023-05-25 14:37:07 Configuration système chargée avec succès!
|
||||
2023-05-25 14:37:07 Initialisation du dispositif [ParkerCAN]
|
||||
2023-05-25 14:37:07 Chargement de la base de données D:/Main/Dev/YULTek/Otarcik_CAN/IVT-S_all-variations_12082020.dbc
|
||||
2023-05-25 14:37:07 Base de données chargée avec succès. Flags: 0x0
|
||||
2023-05-25 14:37:07 Démarrage d'un module CAN...
|
||||
2023-05-25 14:37:07 Initialisation d'un module PCAN. Channel:81, Baudrate:28
|
||||
2023-05-25 14:37:07 Module PCAN USB initialisé avec succès
|
||||
2023-05-25 14:37:07 Dispositif [ParkerCAN] initialisé avec succès!
|
||||
2023-05-25 14:37:12 Déinitialisation du module PCAN USB ID 81
|
||||
2023-05-25 14:37:12 Module PCAN USB déinitialisé avec succès...
|
||||
|
||||
|
||||
********************************************************************
|
||||
Démarrage du logiciel Otarcik CAN le 2023-05-25 à 14:38:54
|
||||
********************************************************************
|
||||
2023-05-25 14:38:54 Démarrage du logiciel OtarcikCAN
|
||||
2023-05-25 14:38:54 Chargement de la configuration système...
|
||||
2023-05-25 14:38:54 Configuration système chargée avec succès!
|
||||
2023-05-25 14:38:54 Initialisation du dispositif [ParkerCAN]
|
||||
2023-05-25 14:38:54 Chargement de la base de données D:/Main/Dev/YULTek/Otarcik_CAN/IVT-S_all-variations_12082020.dbc
|
||||
2023-05-25 14:38:54 Base de données chargée avec succès. Flags: 0x0
|
||||
2023-05-25 14:38:54 Démarrage d'un module CAN...
|
||||
2023-05-25 14:38:54 Initialisation d'un module PCAN. Channel:81, Baudrate:28
|
||||
2023-05-25 14:38:54 Module PCAN USB initialisé avec succès
|
||||
2023-05-25 14:38:54 Dispositif [ParkerCAN] initialisé avec succès!
|
||||
2023-05-25 14:46:47 Déinitialisation du module PCAN USB ID 81
|
||||
2023-05-25 14:46:47 Module PCAN USB déinitialisé avec succès...
|
||||
|
||||
|
||||
********************************************************************
|
||||
Démarrage du logiciel Otarcik CAN le 2023-05-25 à 14:48:26
|
||||
********************************************************************
|
||||
2023-05-25 14:48:26 Démarrage du logiciel OtarcikCAN
|
||||
2023-05-25 14:48:26 Chargement de la configuration système...
|
||||
2023-05-25 14:48:26 Configuration système chargée avec succès!
|
||||
2023-05-25 14:48:26 Initialisation du dispositif [ParkerCAN]
|
||||
2023-05-25 14:48:26 Chargement de la base de données D:/Main/Dev/YULTek/Otarcik_CAN/IVT-S_all-variations_12082020.dbc
|
||||
2023-05-25 14:48:26 Base de données chargée avec succès. Flags: 0x0
|
||||
2023-05-25 14:48:26 Démarrage d'un module CAN...
|
||||
2023-05-25 14:48:26 Initialisation d'un module PCAN. Channel:81, Baudrate:28
|
||||
2023-05-25 14:48:26 Impossible d'initialiser un module USB PCAN. Erreur:The value of a handle (PCAN-Channel, PCAN-Hardware, PCAN-Net, PCAN-Client) is invalid
|
||||
2023-05-25 14:48:26 Impossible d'initialiser le matériel CAN
|
||||
2023-05-25 14:48:26 Le dispositif [ParkerCAN] n'a pas pu s'initialiser
|
||||
2023-05-25 14:48:31 Déinitialisation du module PCAN USB ID 81
|
||||
2023-05-25 14:48:31 Impossible de déinitialiser un module USB PCAN.. Error:The transmit buffer in CAN controller is full
|
||||
|
||||
@ -3,16 +3,16 @@
|
||||
# Generated by qmake (3.1) (Qt 5.14.2)
|
||||
# Project: Otarcik_CAN.pro
|
||||
# Template: app
|
||||
# Command: C:\Qt\Qt5.14.2\5.14.2\mingw73_64\bin\qmake.exe -o Makefile Otarcik_CAN.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
|
||||
# Command: C:\Qt\Qt5.14.2\5.14.2\mingw73_64\bin\qmake.exe -o Makefile Otarcik_CAN.pro -spec win32-g++ "CONFIG+=qtquickcompiler"
|
||||
#############################################################################
|
||||
|
||||
MAKEFILE = Makefile
|
||||
|
||||
EQ = =
|
||||
|
||||
first: debug
|
||||
install: debug-install
|
||||
uninstall: debug-uninstall
|
||||
first: release
|
||||
install: release-install
|
||||
uninstall: release-uninstall
|
||||
QMAKE = C:\Qt\Qt5.14.2\5.14.2\mingw73_64\bin\qmake.exe
|
||||
DEL_FILE = del
|
||||
CHK_DIR_EXISTS= if not exist
|
||||
@ -37,24 +37,10 @@ RES_FILE =
|
||||
SED = $(QMAKE) -install sed
|
||||
MOVE = move
|
||||
SUBTARGETS = \
|
||||
debug \
|
||||
release
|
||||
release \
|
||||
debug
|
||||
|
||||
|
||||
debug: FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Debug
|
||||
debug-make_first: FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Debug
|
||||
debug-all: FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Debug all
|
||||
debug-clean: FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Debug clean
|
||||
debug-distclean: FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Debug distclean
|
||||
debug-install: FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Debug install
|
||||
debug-uninstall: FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Debug uninstall
|
||||
release: FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Release
|
||||
release-make_first: FORCE
|
||||
@ -69,6 +55,20 @@ release-install: FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Release install
|
||||
release-uninstall: FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Release uninstall
|
||||
debug: FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Debug
|
||||
debug-make_first: FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Debug
|
||||
debug-all: FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Debug all
|
||||
debug-clean: FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Debug clean
|
||||
debug-distclean: FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Debug distclean
|
||||
debug-install: FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Debug install
|
||||
debug-uninstall: FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Debug uninstall
|
||||
|
||||
Makefile: Otarcik_CAN.pro C:/Qt/Qt5.14.2/5.14.2/mingw73_64/mkspecs/win32-g++/qmake.conf C:/Qt/Qt5.14.2/5.14.2/mingw73_64/mkspecs/features/spec_pre.prf \
|
||||
C:/Qt/Qt5.14.2/5.14.2/mingw73_64/mkspecs/qdevice.pri \
|
||||
@ -237,11 +237,11 @@ Makefile: Otarcik_CAN.pro C:/Qt/Qt5.14.2/5.14.2/mingw73_64/mkspecs/win32-g++/qma
|
||||
C:/Qt/Qt5.14.2/5.14.2/mingw73_64/mkspecs/features/resolve_config.prf \
|
||||
C:/Qt/Qt5.14.2/5.14.2/mingw73_64/mkspecs/features/exclusive_builds_post.prf \
|
||||
C:/Qt/Qt5.14.2/5.14.2/mingw73_64/mkspecs/features/default_post.prf \
|
||||
C:/Qt/Qt5.14.2/5.14.2/mingw73_64/mkspecs/features/qml_debug.prf \
|
||||
C:/Qt/Qt5.14.2/5.14.2/mingw73_64/mkspecs/features/resources_functions.prf \
|
||||
C:/Qt/Qt5.14.2/5.14.2/mingw73_64/mkspecs/features/qtquickcompiler.prf \
|
||||
C:/Qt/Qt5.14.2/5.14.2/mingw73_64/mkspecs/features/precompile_header.prf \
|
||||
C:/Qt/Qt5.14.2/5.14.2/mingw73_64/mkspecs/features/warn_on.prf \
|
||||
C:/Qt/Qt5.14.2/5.14.2/mingw73_64/mkspecs/features/qt.prf \
|
||||
C:/Qt/Qt5.14.2/5.14.2/mingw73_64/mkspecs/features/resources_functions.prf \
|
||||
C:/Qt/Qt5.14.2/5.14.2/mingw73_64/mkspecs/features/resources.prf \
|
||||
C:/Qt/Qt5.14.2/5.14.2/mingw73_64/mkspecs/features/moc.prf \
|
||||
C:/Qt/Qt5.14.2/5.14.2/mingw73_64/mkspecs/features/win32/opengl.prf \
|
||||
@ -262,7 +262,7 @@ Makefile: Otarcik_CAN.pro C:/Qt/Qt5.14.2/5.14.2/mingw73_64/mkspecs/win32-g++/qma
|
||||
C:/Qt/Qt5.14.2/5.14.2/mingw73_64/lib/Qt5Core.prl \
|
||||
C:/Qt/Qt5.14.2/5.14.2/mingw73_64/lib/qtmain.prl \
|
||||
C:/Qt/Qt5.14.2/5.14.2/mingw73_64/mkspecs/features/build_pass.prf
|
||||
$(QMAKE) -o Makefile Otarcik_CAN.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
|
||||
$(QMAKE) -o Makefile Otarcik_CAN.pro -spec win32-g++ "CONFIG+=qtquickcompiler"
|
||||
C:/Qt/Qt5.14.2/5.14.2/mingw73_64/mkspecs/features/spec_pre.prf:
|
||||
C:/Qt/Qt5.14.2/5.14.2/mingw73_64/mkspecs/qdevice.pri:
|
||||
C:/Qt/Qt5.14.2/5.14.2/mingw73_64/mkspecs/features/device_config.prf:
|
||||
@ -430,11 +430,11 @@ C:/Qt/Qt5.14.2/5.14.2/mingw73_64/mkspecs/features/win32/default_pre.prf:
|
||||
C:/Qt/Qt5.14.2/5.14.2/mingw73_64/mkspecs/features/resolve_config.prf:
|
||||
C:/Qt/Qt5.14.2/5.14.2/mingw73_64/mkspecs/features/exclusive_builds_post.prf:
|
||||
C:/Qt/Qt5.14.2/5.14.2/mingw73_64/mkspecs/features/default_post.prf:
|
||||
C:/Qt/Qt5.14.2/5.14.2/mingw73_64/mkspecs/features/qml_debug.prf:
|
||||
C:/Qt/Qt5.14.2/5.14.2/mingw73_64/mkspecs/features/resources_functions.prf:
|
||||
C:/Qt/Qt5.14.2/5.14.2/mingw73_64/mkspecs/features/qtquickcompiler.prf:
|
||||
C:/Qt/Qt5.14.2/5.14.2/mingw73_64/mkspecs/features/precompile_header.prf:
|
||||
C:/Qt/Qt5.14.2/5.14.2/mingw73_64/mkspecs/features/warn_on.prf:
|
||||
C:/Qt/Qt5.14.2/5.14.2/mingw73_64/mkspecs/features/qt.prf:
|
||||
C:/Qt/Qt5.14.2/5.14.2/mingw73_64/mkspecs/features/resources_functions.prf:
|
||||
C:/Qt/Qt5.14.2/5.14.2/mingw73_64/mkspecs/features/resources.prf:
|
||||
C:/Qt/Qt5.14.2/5.14.2/mingw73_64/mkspecs/features/moc.prf:
|
||||
C:/Qt/Qt5.14.2/5.14.2/mingw73_64/mkspecs/features/win32/opengl.prf:
|
||||
@ -456,32 +456,32 @@ C:/Qt/Qt5.14.2/5.14.2/mingw73_64/lib/Qt5Core.prl:
|
||||
C:/Qt/Qt5.14.2/5.14.2/mingw73_64/lib/qtmain.prl:
|
||||
C:/Qt/Qt5.14.2/5.14.2/mingw73_64/mkspecs/features/build_pass.prf:
|
||||
qmake: FORCE
|
||||
@$(QMAKE) -o Makefile Otarcik_CAN.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
|
||||
@$(QMAKE) -o Makefile Otarcik_CAN.pro -spec win32-g++ "CONFIG+=qtquickcompiler"
|
||||
|
||||
qmake_all: FORCE
|
||||
|
||||
make_first: debug-make_first release-make_first FORCE
|
||||
all: debug-all release-all FORCE
|
||||
clean: debug-clean release-clean FORCE
|
||||
distclean: debug-distclean release-distclean FORCE
|
||||
make_first: release-make_first debug-make_first FORCE
|
||||
all: release-all debug-all FORCE
|
||||
clean: release-clean debug-clean FORCE
|
||||
distclean: release-distclean debug-distclean FORCE
|
||||
-$(DEL_FILE) Makefile
|
||||
|
||||
debug-mocclean:
|
||||
$(MAKE) -f $(MAKEFILE).Debug mocclean
|
||||
release-mocclean:
|
||||
$(MAKE) -f $(MAKEFILE).Release mocclean
|
||||
mocclean: debug-mocclean release-mocclean
|
||||
debug-mocclean:
|
||||
$(MAKE) -f $(MAKEFILE).Debug mocclean
|
||||
mocclean: release-mocclean debug-mocclean
|
||||
|
||||
debug-mocables:
|
||||
$(MAKE) -f $(MAKEFILE).Debug mocables
|
||||
release-mocables:
|
||||
$(MAKE) -f $(MAKEFILE).Release mocables
|
||||
mocables: debug-mocables release-mocables
|
||||
debug-mocables:
|
||||
$(MAKE) -f $(MAKEFILE).Debug mocables
|
||||
mocables: release-mocables debug-mocables
|
||||
|
||||
check: first
|
||||
|
||||
benchmark: first
|
||||
FORCE:
|
||||
|
||||
$(MAKEFILE).Debug: Makefile
|
||||
$(MAKEFILE).Release: Makefile
|
||||
$(MAKEFILE).Debug: Makefile
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -82,7 +82,7 @@ void CCANAnalyzer::CANTimerExpired()
|
||||
{
|
||||
QList<CCANMessage *> NewMessagesList = mCANDriverIF->ReadCANFullBuffer(mCANDeviceChannel);
|
||||
|
||||
qDebug("CAN Buffer size: %d",NewMessagesList.size());
|
||||
// qDebug("CAN Buffer size: %d",NewMessagesList.size());
|
||||
|
||||
|
||||
for(int i = 0 ; i < NewMessagesList.size(); i++)
|
||||
|
||||
@ -62,6 +62,8 @@ int CMQTTClientWrapper::NewMQTTMessages(QList<CMQTTMessage> MessagesList)
|
||||
for(int i = 0; i < MessagesList.size(); i++)
|
||||
{
|
||||
qint32 res = mMQTTClient.publish(MessagesList.at(i).mMessageTopic,MessagesList.at(i).mMessagePayload.toLocal8Bit(),0,true);
|
||||
qDebug("%s : %s",qPrintable(MessagesList.at(i).mMessageTopic), qPrintable(MessagesList.at(i).mMessagePayload));
|
||||
|
||||
}
|
||||
mMQTTRefreshTimer->start(mMQTTParams.mMQTTTransmitTimeout);
|
||||
qDebug("Sent %d MQTT messages",MessagesList.size());
|
||||
|
||||
Binary file not shown.
@ -5397,3 +5397,21 @@ Démarrage du logiciel Otarcik CAN le 2023-02-11 à 08:44:44
|
||||
2023-02-11 08:44:44 Le dispositif [Module Parker] n'a pas pu s'initialiser
|
||||
2023-02-11 08:44:49 Déinitialisation du module PCAN USB ID 81
|
||||
2023-02-11 08:44:49 Impossible de déinitialiser un module USB PCAN.. Error:The transmit buffer in CAN controller is full
|
||||
|
||||
|
||||
********************************************************************
|
||||
Démarrage du logiciel Otarcik CAN le 2023-05-25 à 14:58:58
|
||||
********************************************************************
|
||||
2023-05-25 14:58:58 Démarrage du logiciel OtarcikCAN
|
||||
2023-05-25 14:58:58 Chargement de la configuration système...
|
||||
2023-05-25 14:58:58 Configuration système chargée avec succès!
|
||||
2023-05-25 14:58:58 Initialisation du dispositif [Module Parker]
|
||||
2023-05-25 14:58:58 Chargement de la base de données D:/Main/Dev/YULTek/Otarcik_CAN/IVT-S_all-variations_12082020.dbc
|
||||
2023-05-25 14:58:58 Base de données chargée avec succès. Flags: 0x0
|
||||
2023-05-25 14:58:58 Démarrage d'un module CAN...
|
||||
2023-05-25 14:58:58 Initialisation d'un module PCAN. Channel:81, Baudrate:28
|
||||
2023-05-25 14:58:58 Impossible d'initialiser un module USB PCAN. Erreur:The value of a handle (PCAN-Channel, PCAN-Hardware, PCAN-Net, PCAN-Client) is invalid
|
||||
2023-05-25 14:58:58 Impossible d'initialiser le matériel CAN
|
||||
2023-05-25 14:58:58 Le dispositif [Module Parker] n'a pas pu s'initialiser
|
||||
2023-05-25 14:59:20 Déinitialisation du module PCAN USB ID 81
|
||||
2023-05-25 14:59:20 Impossible de déinitialiser un module USB PCAN.. Error:The transmit buffer in CAN controller is full
|
||||
|
||||
Binary file not shown.
BIN
PC Industriel/ebox626-853-fl-1.pdf
Normal file
BIN
PC Industriel/ebox626-853-fl-1.pdf
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user