Yes , but that was one string.
If i will send string which is starting from character let's say VAL . App is down .
Dim str As String 'Received string
str = BytesToString(Packet.Data,Packet.Offset,Packet.Length, "UTF8" )
Dim Pos As Int = str.IndexOf(",")
Dim Temp As Double = str.SubString2(0,Pos)
Dim Humid As Double = str.SubString(Pos + 1)
Log(Temp)
Log(Humid)
So im getting bytes , then removing headers and taking just data and it's fine . But if i want to send different string .... this will not work .
Regrds , Semek