DCC-EX / WebThrottle-EX

WebThrottle-EX is a web based (html,jQuery,JavaScript) Controller/Throttle for DCC-EX EX-CommandStations
https://dcc-ex.com/WebThrottle-EX
GNU General Public License v3.0
21 stars 13 forks source link

Chars lost in Receive #60

Open habazut opened 2 years ago

habazut commented 2 years ago

This is the debug window:

[SEND]s

[RECEIVE] p1
[RECEIVE] DARD_MOTOR

[RECEIVE] _SHIELD G-50fcbc0

This is what I see in the web console:

<s>

commandController.js:86 [RECEIVE] <p1>
<iDCC-EX V-3.1.6 / MEGA / STAN
commandController.js:86 [RECEIVE] DARD_MOTOR
commandController.js:86 [RECEIVE] _SHIELD G-50fcbc0>

Looks to me the receive stream is digested in chunks which do not align with the messages (that's ok) but that makes that some chunks don't make it to the debug window (not ok).

I guess that when

<p1><iDCC-EX V-3.1.6 / MEGA / STAN

comes in too much is discarded and not concatenated together with

DARD_MOTOR

and

_SHIELD ....

Harald.

ManiAkasapu commented 2 years ago

@FrightRisk Please look.