Page 1 of 1

Textconverter tool

PostPosted: Tue Aug 05, 2014 10:02 pm
by Dennis Kuypers
Hello everyone,

I wrote this small application that is capable of converting text to a hex form that is used by the Pandoras Box Serial Device (used for sending TCP commands from the Pandoras Box timeline) and the Widget Designer.

TextConverter.zip


Here is how it works:
Simply write any text in the textbox and you will get a converted form in the textboxes at the bottom of the window. If you need to add binary data you can do this by typing a backslash ("\") followed by 3 digits denoting the value of the byte to add. (no hex values! Use "\127" to send a byte with the value 127.) I chose this convention on purpose, so it does not get mixed up with the conventions that the Widget uses.

In the picture below you can see that you can even write a complete HTTP POST request in the tool and it gets converted to be used in PB or WD.

stringconverter_http_post_example.PNG


Enjoy!
Dennis