Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [milo-dev] Wrong value when reading a String
  • From: "Moreno Nino, Daniel Felipe" <daniel.moreno_nino@xxxxxxxxxxx>
  • Date: Fri, 24 Sep 2021 13:53:20 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=siemens.com; dmarc=pass action=none header.from=siemens.com; dkim=pass header.d=siemens.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=9GcPhvcIB4ACCi6S8P2Vcj6jW/Udj9X3PUUCgHv9TwA=; b=BlkfZQkTDCqXfmaiNZsLkYyBT96M4RkLtliFk3RS5zdLf4gLLwVqsvBrjclj9ZlkKRMz63lqWJhH0K38E2kNTROcWBbk7tfw2lyK17b0/deVOJLk/BiIpU/uh/IlXfkMTec4o/+trH1HOBNHfHvy7i0Nm/UTKpmRuo3qT73OmvFBDaWXdzJ+RiAdBUWeHzd/op78FAARAXTGby96juHFUHYJQrcsMaJxEFrBMNlqF2WghDbsgxj5TosMKLgXeA4k+h/sRuj1/Qz6LHKJ8VXwNvMkl95GIaantOUXkJxnVruodW454OB8tMlla8nbVA8DPWN/Qf2tNxkGiVQdxADqLw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iDo5Q7XmVcN21Yi2u2g6gSKyW+J27pC5b/ya7rMNPLcmMxihd+6GFzjVTM/AHJQqPq3Lhl7MjWxY25l/uiR3U1E+F7zll6vEVf2ViD+kVa61Oxrl4kOxaBmfifahTmJv7V8NAosoubk/MZ0+ZS+KE56CS+blXviTU8oXPZfkfBErrXrxb9+puBcEPm7FBOC/xSLj2M8vlpJ3rZ420wxoe5fa8LdzKGCvNWIHGYEXGa2JzPRem/KbWMhNP/OXeXbYTlYC68/44PFo2tyqCSbwniOGnrflj7f6Ame080t3ibiSwUfrQogFCivQVB+bnSag1lNX1zfYVqO02IcmTP8Xzw==
  • Delivered-to: milo-dev@xxxxxxxxxxx
  • Document_confidentiality: Restricted
  • List-archive: <https://www.eclipse.org/mailman/private/milo-dev/>
  • List-help: <mailto:milo-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/milo-dev>, <mailto:milo-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/milo-dev>, <mailto:milo-dev-request@eclipse.org?subject=unsubscribe>
  • Msip_labels: MSIP_Label_a59b6cd5-d141-4a33-8bf1-0ca04484304f_Enabled=true; MSIP_Label_a59b6cd5-d141-4a33-8bf1-0ca04484304f_SetDate=2021-09-24T13:53:17Z; MSIP_Label_a59b6cd5-d141-4a33-8bf1-0ca04484304f_Method=Standard; MSIP_Label_a59b6cd5-d141-4a33-8bf1-0ca04484304f_Name=restricted-default; MSIP_Label_a59b6cd5-d141-4a33-8bf1-0ca04484304f_SiteId=38ae3bcd-9579-4fd4-adda-b42e1495d55a; MSIP_Label_a59b6cd5-d141-4a33-8bf1-0ca04484304f_ActionId=94bc694f-9292-411f-a8d5-7725c0930f85; MSIP_Label_a59b6cd5-d141-4a33-8bf1-0ca04484304f_ContentBits=0
  • Thread-index: Adewftvp+tlnEP4jSsazOW3SiQ7TXAAA6g8AAAAXsYAAMeV5oA==
  • Thread-topic: [milo-dev] Wrong value when reading a String

Hi, Kevin,

 

Thanks for the quick reply. Here is the response from the server captured by Wireshark. Seems like, as you mentioned it, it is returning a bunch of extra characters, this was tested both in a real and a simulated SIMOTION, obtaining the same results.

 

 

 

 

From: milo-dev <milo-dev-bounces@xxxxxxxxxxx> On Behalf Of Kevin Herron
Sent: Thursday, September 23, 2021 3:57 PM
To: milo developer discussions <milo-dev@xxxxxxxxxxx>
Subject: Re: [milo-dev] Wrong value when reading a String

 

I do wonder if it's as simple as UaExpert deciding to stop displaying after the first null 0x00 byte it encounters, though. It certainly looks like this server is just returning a bunch of extra crap in the String value. 

 

On Thu, Sep 23, 2021 at 6:54 AM Kevin Herron <kevinherron@xxxxxxxxx> wrote:

That's pretty strange.

 

Can you get a Wireshark capture that contains the Read request/response? You'll have to connect without encryption for the capture to be usable.

 

I'm going to be gone and without phone or internet service for a few days so I likely won't be able to look at this right away.

 

On Thu, Sep 23, 2021 at 6:40 AM Moreno Nino, Daniel Felipe <daniel.moreno_nino@xxxxxxxxxxx> wrote:

Hi everybody,

 

I’m having some issues when reading a variable from a SIMOTION device, it’s a String that can be correctly read using UaExpert:

 

However, when I read it using milo I get a byte array with 510 positions that contains the original value, but also some random bytes that cause the String to come with some wrong ASCII values:

 

What could be the cause of it? It happens only with the factory set values of the SIMOTION, with custom ones I have no issue at all.

 

Thank you in advance for your help and support.

 

Daniel Moreno

_______________________________________________
milo-dev mailing list
milo-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/milo-dev


Back to the top