data recieved from telnet is junk

able to connect successfully to Keysight equipment over telnet. but the data recieved looks junk. any inputs?
error below
"
DataReceived =
ÿûÿû
------

1 Commento

Odd. That data is either
INTERLINEAR ANNOTATION TERMINATOR followed by SOH followed by another INTERLINEAR ANNOTATION TERMINATOR
or
Arabic Letter Farsi Yeh Medial Form followed by SOH followed by another Arabic Letter Farsi Yeh Medial Form
in UTF-8 encoding.
When I first saw it, I thought I recognized it as being Byte Order Marks, but a closer check showed otherwise.

Accedi per commentare.

Risposte (2)

Raghunandan
Raghunandan il 14 Ott 2016

0 voti

Is there a way to fix this? anyone who could successfully log characters from telnet?
Walter Roberson
Walter Roberson il 14 Ott 2016

0 voti

Here is a modified version
Note the HTTP/1.0 and the \n added to the URL. Note also that for virtual servers like mathworks and apple use, the URL form had to be sent in the GET even though in basic HTTP it should be just the resource without the "http://www.mathworks.com" .

Categorie

Scopri di più su MATLAB in Centro assistenza e File Exchange

Richiesto:

il 13 Ott 2016

Risposto:

il 14 Ott 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by