Ian,?
Thanks for the log.
?
I see 2 places your ESU command station responded with the SYNTAX error:
?
13:10:07.131 12572 12598 D Engine_Driver: comm_thread.wifiSend: ? ? ? ? ? ?-->:M0AL954<;>F102 (2693) ? ? ? ? ? ? ?
13:10:07.155 12572 12860 D Engine_Driver: comm_thread.processWifiResponse: <--:M0AL954<;>F102 ? ? ? ? ? ? ? ? ? ??
13:10:07.727 12572 12598 D Engine_Driver: comm_thread.wifiSend: ? ? ? ? ? ?-->:M0AL954<;>F002 (596) ? ? ? ? ? ? ??
13:10:07.745 12572 12860 D Engine_Driver: comm_thread.processWifiResponse: <--:M0AL954<;>F002 ? ? ? ? ? ? ? ? ? ??
13:10:10.609 12572 12598 D Engine_Driver: comm_thread.wifiSend: ? ? ? ? ? ?-->:M0A*<;>F108 (2882) ? ? ? ? ? ? ? ??
13:10:10.610 12572 12598 D Engine_Driver: comm_thread.timingSensitive: timeSensitive msg, not requeuing: ? ? ? ? ?
13:10:10.610 12572 12598 D Engine_Driver: comm_thread.wifiSend: ? ? ? ? ? ?-->:M0A*<;>F008 (1) ? ? ? ? ? ? ? ? ? ?
13:10:10.651 12572 12860 D Engine_Driver: comm_thread.processWifiResponse: <--:HMESU: Error while writing: ?SYNTAX
?
13:10:16.571 12572 12598 D Engine_Driver: comm_thread.wifiSend: ? ? ? ? ? ?-->:M0AL954<;>F102 (2417) ? ? ? ? ? ? ?
13:10:16.588 12572 12860 D Engine_Driver: comm_thread.processWifiResponse: <--:M0AL954<;>F102 ? ? ? ? ? ? ? ? ? ??
13:10:17.241 12572 12598 D Engine_Driver: comm_thread.wifiSend: ? ? ? ? ? ?-->:M0AL954<;>F002 (670) ? ? ? ? ? ? ??
13:10:17.276 12572 12860 D Engine_Driver: comm_thread.processWifiResponse: <--:M0AL954<;>F002 ? ? ? ? ? ? ? ? ? ??
13:10:19.579 12572 12598 D Engine_Driver: comm_thread.wifiSend: ? ? ? ? ? ?-->:M0AL954<;>F100 (2338) ? ? ? ? ? ? ?
13:10:19.580 12572 12598 D Engine_Driver: comm_thread.timingSensitive: timeSensitive msg, not requeuing: ? ? ? ? ?
13:10:19.580 12572 12598 D Engine_Driver: comm_thread.wifiSend: ? ? ? ? ? ?-->:M0AL954<;>F000 (0) ? ? ? ? ? ? ? ??
13:10:19.619 12572 12860 D Engine_Driver: comm_thread.processWifiResponse: <--:HMESU: Error while writing: ?SYNTAX
?
Note: The number in parenthesis is the time since the last message.
?
So the errors match the only 2 times we sent an FKey without the normal 200ms delay.?
My _guess_ is ESU cannot handle two commands without a gap. You could verify this with them if you'd like.
?
As a further test, I'd like you to try various FKeys, but with very deliberate down, wait, up presses. Then try quick presses. Send us that log file.
?
I don't recall why EngineDriver treats some (or all) FKeys as "timesensitive", maybe Peter recalls.
If this is the problem, maybe we should add an exception for "ESU" to always enforce the gap between commands.
?
--SteveT
?