quassbutreally / EasyCPDLC

Making CPDLC actually usable for pilots on VATSIM
63 stars 14 forks source link

Multi-line messages #59

Open CRolfe87 opened 1 year ago

CRolfe87 commented 1 year ago

We ran a test using hoppie Dispatch Client and also TOPCAT to send multi-line messages (such as takeoff data). In the EasyCPDLC log the messages are received but never displayed (written per the DEBUG log).

Is the client unable to handle inbound multi-line messages? I looked through the code, but don't know what I'm looking at.

CRolfe87 commented 1 year ago

I was poking around and found that Regex hoppieParse = new(@"{(.?)}"); doesn't match strings with newlines. I tested this change with success: `Regex hoppieParse = new(@"{([\S\s]?)}");` Pull request made #60