waidyanatha / strix-mom

Strix receiver-server
0 stars 0 forks source link

UDPSendDL configuration #36

Closed waidyanatha closed 9 years ago

waidyanatha commented 9 years ago

Testing dynamic labels with UDPSendDL.bat with AllTest.htm it is showing the output string in the Inspect Elements --> Console as "b--TEST THIS DL". That is wrong.

Here's the output from Alltest.htm: MessageEvent {ports: Array[0], data: "b--TEST THIS DL AS d-- and not b--", source: null, lastEventId: "", origin: "ws://localhost:8787"…}

If at all it should be "d--TEST THIS STRING". Otherwise, it will not appear in the FE because the FE looks for the d-- prefix to determine between a Dynamic Label alert vs. a b-- for Book notification.

Next I looked at the AllTest.htm code and found this code line: lWebSocketClient.send("b--TestGrade12Book"); I changed the it the b-- to d--; i.e. the code line: lWebSocketClient.send("d--TestGrade12Book");

Then output message does not display the TEST THIS DL instead it only displays "b--". So I don't know what that means? Here's the output in AllTest.htm: MessageEvent {ports: Array[0], data: "b--", source: null, lastEventId: "", origin: "ws://localhost:8787"…}

There are no log files to see the outputs either.

tharinduj commented 9 years ago

b-- and d-- bugs are working. Inorder to use the UDPSendDL.bat or UDPSendDL.sh there should be a file called dl.message in your "in" folder and you have to place your message content in it.

waidyanatha commented 9 years ago

thanks!

On Tue, Nov 18, 2014 at 11:58 AM, Tharindu notifications@github.com wrote:

b-- and d-- bugs are working. Inorder to use the UDPSendDL.bat or UDPSendDL.sh there should be a file called dl.message in your "in" folder and you have to place your message content in it.

— Reply to this email directly or view it on GitHub https://github.com/waidyanatha/strix-mom/issues/36#issuecomment-63419487 .