iqrfsdk / clibdpa

IQRF DPA library for Linux and Windows
Apache License 2.0
0 stars 2 forks source link

Wrong default timeout #24

Closed fmikulu closed 6 years ago

fmikulu commented 6 years ago

Handling a transaction without explicit timeout shows wrong default value:

14-11-2017 17:40:40.490412 {DBG} "BaseService.cpp" ln:96 BaseService::handleMsgFromMessaging()
==================================
Received from MESSAGING: 
7b 0a 20 20 20 20 22 63 74 79 70 65 22 3a 20 22 {....."ctype":."
64 70 61 22 2c 0a 20 20 20 20 22 74 79 70 65 22 dpa",....."type"
3a 20 22 72 61 77 2d 68 64 70 22 2c 0a 20 20 20 :."raw-hdp",....
20 22 6d 73 67 69 64 22 3a 20 22 31 32 33 22 2c ."msgid":."123",
0a 20 20 20 20 22 6e 61 64 72 22 3a 20 22 30 31 ....."nadr":."01
22 2c 0a 20 20 20 20 22 70 6e 75 6d 22 3a 20 22 ",....."pnum":."
66 66 22 2c 0a 20 20 20 20 22 70 63 6d 64 22 3a ff",....."pcmd":
20 22 33 66 22 2c 0a 20 20 20 20 22 68 77 70 69 ."3f",....."hwpi
64 22 3a 20 22 66 66 66 66 22 2c 0a 20 20 20 20 d":."ffff",.....
22 72 65 73 70 6f 6e 73 65 5f 74 73 22 3a 20 22 "response_ts":."
22 0a 7d                                        ".}             

14-11-2017 17:40:40.491412 {WAR} "DpaHandler.cpp" ln:225 DpaHandler::ExecuteDpaTransaction()
Explicit: requiredTimeout="-1" forced to: MINIMAL_TIMING="200" 
fmikulu commented 6 years ago

@spinarr : Required default timeout is 200 ms