My App connecting via Bluetooth and i will send commands and text over these connection.
But when I send "\r\n" then on the other side comes "\r" as normal characters and then follows the correct "new Line".
The Question is: How I can I send the Command <CR> in a text message?
Or is a other way to send the <CR>? Fore example the hex-code in a text message.
There's a block in the Web component (in the Designer social drawer) that
Decodes the given HTML text value. HTML character entities such as &, <, >, ', and " are changed to &, <, >, ', and ". Entities such as &#xhhhh, and &#nnnn are changed to the appropriate characters.
I haven't tried this yet. Could you tell us if it works for you?
might work for this ...
text HtmlTextDecode(text htmlText)
Got it!
See attached screen shot.
So you can build a single character \r and save it
in a variable and use it as text.
However, I am wary of it carrying thru to your target device,
since it might trigger an end of message event along the way.
That's for you to test.
Thanks Abraham,
i will test it.
In the time i fix the problem in a othe way (see below; in Germany we call it "Holzhammermethode" =>steamroller tactics, the code isnt nice but it works :o)
i will test it.
In the time i fix the problem in a othe way (see below; in Germany we call it "Holzhammermethode" =>steamroller tactics, the code isnt nice but it works :o)
댓글 없음:
댓글 쓰기