|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Re: serialport adn encrpyted dataOn Jul 1, 2:38Â pm, cloud <fren***@googlemail.com> wrote:
> Hello All,
>
> Does the serial port can send send encrypted data to the remote
> device.
>
> When I try send this my application gets blocked.
> Do we need to convert all these characters into string and then
> sending through serial port ??
> How can this be done ??
>
> The data is something like this.
> 》ㄡ⑯ᅃé¹è¶Šà±«à®™ä€Žá€ 驨郟骑蛟èª?⮋☺⸧å£âé¦â»Ÿèˆ‰ 匞ٕ嘅䔈ĉ啋ᕕçŒâ„ ç¼ã ¿å½’豩톗㴠丕 äá´æ”?貊蛟麚çŽâµæ¼»å¼©â€˜éžœæŽš
> Thanks to everyone
solved.....thanks
Hi, friend
Serial port can send any byte array, does not matter what is inside Only thing is if you have sent string in certain coding you should by receiving decode the byte array with the same coding (in this case UTF-8) ..Convertion can be done by Encoding.UTF8.GetString, Encoding.UTF8.GetBytes In general serial port sends data as bytes. Convertion bytes to string of proper coding format is not a question of sending through serial port but it is the question of proper coding/decoding bytes to string. Regards, Jamal Show quoteHide quote "friend" <lavanyaredd***@gmail.com> wrote in message news:268b2a8a-0332-4d92-a931-595bd0f18e21@g1g2000yqh.googlegroups.com... > On Jul 1, 2:38 pm, cloud <fren***@googlemail.com> wrote: >> Hello All, >> >> Does the serial port can send send encrypted data to the remote >> device. >> >> When I try send this my application gets blocked. >> Do we need to convert all these characters into string and then >> sending through serial port ?? >> How can this be done ?? >> >> The data is something like this. >> ???????????????????????? ????c??????????? ???????????'?? >> Thanks to everyone > > solved.....thanks
vb.net and Ms SQL Connection ?
Using "Me" Using WPF with a "normal" windows app Unable to connect to the remote server How to reference class properties using MyClass("PropertyName") VB Net/Com Interoperability/Late Binding [XPost] - Visual Studio 2008 - Instruct IDE Not To Generate Adapter Session Variables in asp.net DataGridView Event Web server is not running ASP.NET version 1.1. |
|||||||||||||||||||||||