Android Question MQTT MessageArrived IO exception

engvidal

Member
Licensed User
Longtime User
Hi

Using this sub:

B4X:
Private Sub mqtt_MessageArrived (Topic As String, Payload() As Byte)
  Dim obj As Object = serializator.ConvertBytesToObject(Payload)
  Dim s As String = obj

  Label2.Text = s
End Sub
Just at start up, and after that, if I choose 'continue', on each message arriving, I get:

java.io.IOException:




 

Attachments

  • 2016-08-25.png
    2016-08-25.png
    483.9 KB · Views: 267
Top