OtaUpload does not return response if DPA transaction fails
Case 1: Node at address 1 exists, but is offline.
31-03-2021 17:00:08.827560 INF 0 JsonSplitter.cpp:266 handleMessageFromMessaging()
Incoming message:
Messaging ID="WebsocketMessaging/0x7fb7b0008a80"
Message="{"mType":"iqmeshNetwork_OtaUpload","data":{"repeat":1,"req":{"deviceAddr":1,"hwpid":65535,"fileName":"ChangeOS-TR7x-307(0870)-308(0879).iqrf","startMemAddr":0,"loadingAction":"Upload"},"returnVerbose":true,"msgId":"0061ceba-8220-4aaa-8189-8e1e5156d20d"}}"
31-03-2021 17:00:08.827696 INF 0 JsonSplitter.cpp:250 validate()
Message successfully validated.
31-03-2021 17:00:08.828544 INF 0 DpaHandler2.cpp:253 sendRequest()
<<<<<<<<<<<<<<<<<<
Sent to DPA interface:
01.00.04.03.ff.ff.00.00.cf.61.2a.ad.37.ba.35.fa.c7.4f.b4.17.13.64.f6.2c.2d.39.00.00.1a.94.a2.3d.73.ba.d4.29.b0.28.a2.59.08.13.66.6e.01.82.00.01.13.02.1e.4f.75.8c.79.d2
31-03-2021 17:00:08.828580 INF 0 IqrfCdc.cpp:43 send()
Sending to IQRF CDC:
01.00.04.03.ff.ff.00.00.cf.61.2a.ad.37.ba.35.fa.c7.4f.b4.17.13.64.f6.2c.2d.39.00.00.1a.94.a2.3d.73.ba.d4.29.b0.28.a2.59.08.13.66.6e.01.82.00.01.13.02.1e.4f.75.8c.79.d2
31-03-2021 17:00:08.828595 INF 0 IqrfCdc.cpp:47 send()
Trying to sent: 162.1
31-03-2021 17:00:08.863603 INF 0 DpaHandler2.cpp:89 ResponseMessageHandler()
>>>>>>>>>>>>>>>>>>
Received from IQRF interface:
01.00.04.03.ff.ff.ff.00.01.0a.01
31-03-2021 17:00:08.863681 INF 0 DpaTransaction2.cpp:552 EstimateLpTimeout()
Estimated LP timeout: estimatedTimeoutMs="460"
31-03-2021 17:00:08.863712 INF 0 DpaTransaction2.cpp:396 processReceivedMessage()
Expected duration to wait :m_userTimeoutMs="500" estimatedTimeMs="460"
31-03-2021 17:00:08.863740 INF 0 DpaTransaction2.cpp:409 processReceivedMessage()
Confirmation processed.
31-03-2021 17:00:09.363952 WAR 0 IqrfDpa.cpp:162 executeDpaTransactionRepeat()
Throwing std::logic_error: Transaction error: ERROR_TIMEOUT
31-03-2021 17:00:09.364082 WAR 0 IqrfDpa.cpp:166 executeDpaTransactionRepeat()
Caught std::logic_error: Transaction error: ERROR_TIMEOUT
Transaction error: ERROR_TIMEOUT
31-03-2021 17:00:09.614270 INF 0 DpaHandler2.cpp:253 sendRequest()
<<<<<<<<<<<<<<<<<<
Sent to DPA interface:
01.00.04.03.ff.ff.00.00.cf.61.2a.ad.37.ba.35.fa.c7.4f.b4.17.13.64.f6.2c.2d.39.00.00.1a.94.a2.3d.73.ba.d4.29.b0.28.a2.59.08.13.66.6e.01.82.00.01.13.02.1e.4f.75.8c.79.d2
31-03-2021 17:00:09.614361 INF 0 IqrfCdc.cpp:43 send()
Sending to IQRF CDC:
01.00.04.03.ff.ff.00.00.cf.61.2a.ad.37.ba.35.fa.c7.4f.b4.17.13.64.f6.2c.2d.39.00.00.1a.94.a2.3d.73.ba.d4.29.b0.28.a2.59.08.13.66.6e.01.82.00.01.13.02.1e.4f.75.8c.79.d2
31-03-2021 17:00:09.614391 INF 0 IqrfCdc.cpp:47 send()
Trying to sent: 163.1
31-03-2021 17:00:09.649703 INF 0 DpaHandler2.cpp:89 ResponseMessageHandler()
>>>>>>>>>>>>>>>>>>
Received from IQRF interface:
01.00.04.03.ff.ff.ff.00.01.0a.01
31-03-2021 17:00:09.649776 INF 0 DpaTransaction2.cpp:552 EstimateLpTimeout()
Estimated LP timeout: estimatedTimeoutMs="460"
31-03-2021 17:00:09.649807 INF 0 DpaTransaction2.cpp:396 processReceivedMessage()
Expected duration to wait :m_userTimeoutMs="500" estimatedTimeMs="460"
31-03-2021 17:00:09.649835 INF 0 DpaTransaction2.cpp:409 processReceivedMessage()
Confirmation processed.
31-03-2021 17:00:10.150069 WAR 0 IqrfDpa.cpp:162 executeDpaTransactionRepeat()
Throwing std::logic_error: Transaction error: ERROR_TIMEOUT
31-03-2021 17:00:10.150175 WAR 0 IqrfDpa.cpp:166 executeDpaTransactionRepeat()
Caught std::logic_error: Transaction error: ERROR_TIMEOUT
Transaction error: ERROR_TIMEOUT
31-03-2021 17:00:10.150206 WAR 0 IqrfDpa.cpp:170 executeDpaTransactionRepeat()
Throwing std::logic_error: Transaction error: ERROR_TIMEOUT
31-03-2021 17:00:10.150374 WAR 0 OtaUploadService.cpp:1146 handleMsg()
Caught std::exception: Transaction error: ERROR_TIMEOUT
Transaction error: ERROR_TIMEOUT
31-03-2021 17:00:10.150424 INF 0 JsonSplitter.cpp:366 handleMessageFromSplitterQueue()
Incoming message successfully handled.
Case 2: No device is bonded to address 2.
31-03-2021 17:06:04.382256 INF 0 JsonSplitter.cpp:266 handleMessageFromMessaging()
Incoming message:
Messaging ID="WebsocketMessaging/0x7fb7b00012c0"
Message="{"mType":"iqmeshNetwork_OtaUpload","data":{"repeat":1,"req":{"deviceAddr":2,"hwpid":65535,"fileName":"ChangeOS-TR7x-307(0870)-308(0879).iqrf","startMemAddr":0,"loadingAction":"Upload"},"returnVerbose":true,"msgId":"23f64975-0890-4172-9193-957dd4e3e0e0"}}"
31-03-2021 17:06:04.382353 INF 0 JsonSplitter.cpp:250 validate()
Message successfully validated.
31-03-2021 17:06:04.382786 INF 0 DpaHandler2.cpp:253 sendRequest()
<<<<<<<<<<<<<<<<<<
Sent to DPA interface:
02.00.04.03.ff.ff.00.00.cf.61.2a.ad.37.ba.35.fa.c7.4f.b4.17.13.64.f6.2c.2d.39.00.00.1a.94.a2.3d.73.ba.d4.29.b0.28.a2.59.08.13.66.6e.01.82.00.01.13.02.1e.4f.75.8c.79.d2
31-03-2021 17:06:04.382812 INF 0 IqrfCdc.cpp:43 send()
Sending to IQRF CDC:
02.00.04.03.ff.ff.00.00.cf.61.2a.ad.37.ba.35.fa.c7.4f.b4.17.13.64.f6.2c.2d.39.00.00.1a.94.a2.3d.73.ba.d4.29.b0.28.a2.59.08.13.66.6e.01.82.00.01.13.02.1e.4f.75.8c.79.d2
31-03-2021 17:06:04.382827 INF 0 IqrfCdc.cpp:47 send()
Trying to sent: 167.1
31-03-2021 17:06:04.417831 INF 0 DpaHandler2.cpp:89 ResponseMessageHandler()
>>>>>>>>>>>>>>>>>>
Received from IQRF interface:
02.00.04.83.ff.ff.08.00
31-03-2021 17:06:04.417913 INF 0 DpaTransaction2.cpp:552 EstimateLpTimeout()
Estimated LP timeout: estimatedTimeoutMs="120"
31-03-2021 17:06:04.417944 INF 0 DpaTransaction2.cpp:449 processReceivedMessage()
Response processed.
31-03-2021 17:06:04.538226 WAR 0 IqrfDpa.cpp:162 executeDpaTransactionRepeat()
Throwing std::logic_error: DPA error: ERROR_NADR
31-03-2021 17:06:04.538335 WAR 0 IqrfDpa.cpp:166 executeDpaTransactionRepeat()
Caught std::logic_error: DPA error: ERROR_NADR
DPA error: ERROR_NADR
31-03-2021 17:06:04.788598 INF 0 DpaHandler2.cpp:253 sendRequest()
<<<<<<<<<<<<<<<<<<
Sent to DPA interface:
02.00.04.03.ff.ff.00.00.cf.61.2a.ad.37.ba.35.fa.c7.4f.b4.17.13.64.f6.2c.2d.39.00.00.1a.94.a2.3d.73.ba.d4.29.b0.28.a2.59.08.13.66.6e.01.82.00.01.13.02.1e.4f.75.8c.79.d2
31-03-2021 17:06:04.788669 INF 0 IqrfCdc.cpp:43 send()
Sending to IQRF CDC:
02.00.04.03.ff.ff.00.00.cf.61.2a.ad.37.ba.35.fa.c7.4f.b4.17.13.64.f6.2c.2d.39.00.00.1a.94.a2.3d.73.ba.d4.29.b0.28.a2.59.08.13.66.6e.01.82.00.01.13.02.1e.4f.75.8c.79.d2
31-03-2021 17:06:04.788692 INF 0 IqrfCdc.cpp:47 send()
Trying to sent: 168.1
31-03-2021 17:06:04.823689 INF 0 DpaHandler2.cpp:89 ResponseMessageHandler()
>>>>>>>>>>>>>>>>>>
Received from IQRF interface:
02.00.04.83.ff.ff.08.00
31-03-2021 17:06:04.823747 INF 0 DpaTransaction2.cpp:552 EstimateLpTimeout()
Estimated LP timeout: estimatedTimeoutMs="120"
31-03-2021 17:06:04.823769 INF 0 DpaTransaction2.cpp:449 processReceivedMessage()
Response processed.
31-03-2021 17:06:04.944119 WAR 0 IqrfDpa.cpp:162 executeDpaTransactionRepeat()
Throwing std::logic_error: DPA error: ERROR_NADR
31-03-2021 17:06:04.944227 WAR 0 IqrfDpa.cpp:166 executeDpaTransactionRepeat()
Caught std::logic_error: DPA error: ERROR_NADR
DPA error: ERROR_NADR
31-03-2021 17:06:04.944258 WAR 0 IqrfDpa.cpp:170 executeDpaTransactionRepeat()
Throwing std::logic_error: DPA error: ERROR_NADR
31-03-2021 17:06:04.944399 WAR 0 OtaUploadService.cpp:1146 handleMsg()
Caught std::exception: DPA error: ERROR_NADR
DPA error: ERROR_NADR
31-03-2021 17:06:04.944448 INF 0 JsonSplitter.cpp:366 handleMessageFromSplitterQueue()
Incoming message successfully handled.