- Posts: 111
- Karma: 2
- Thank you received: 12
#
# Creating new log
#
08/14/2015 - 16:57:10 - [ERROR]System.ObjectDisposedException: The object was used after being disposed.
at System.Net.Sockets.NetworkStream.CheckDisposed () [0x00000] in <filename unknown>:0
at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, Int32 offset, Int32 size) [0x00000] in <filename unknown>:0
at System.IO.Stream.ReadByte () [0x00000] in <filename unknown>:0
at MqttLib.Core.Messages.MqttMessage.DecodeVariableHeaderLength (System.IO.Stream str) [0x00000] in <filename unknown>:0
at MqttLib.Core.Messages.MqttMessage..ctor (System.IO.Stream str, Byte header) [0x00000] in <filename unknown>:0
at MqttLib.Core.Messages.MqttConnackMessage..ctor (System.IO.Stream str, Byte header) [0x00000] in <filename unknown>:0
at MqttLib.Core.Messages.MessageFactory.CreateMessage (System.IO.Stream str, Byte header) [0x00000] in <filename unknown>:0
at MqttLib.Core.StreamManager.listen (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0
/quote]
Please Log in or Create an account to join the conversation.
piman wrote: Trying to implement MQT T and keep getting for errors any ideas on what this could be.
#
# Creating new log
#
08/14/2015 - 16:57:10 - [ERROR]System.ObjectDisposedException: The object was used after being disposed.
at System.Net.Sockets.NetworkStream.CheckDisposed () [0x00000] in <filename unknown>:0
at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, Int32 offset, Int32 size) [0x00000] in <filename unknown>:0
at System.IO.Stream.ReadByte () [0x00000] in <filename unknown>:0
at MqttLib.Core.Messages.MqttMessage.DecodeVariableHeaderLength (System.IO.Stream str) [0x00000] in <filename unknown>:0
at MqttLib.Core.Messages.MqttMessage..ctor (System.IO.Stream str, Byte header) [0x00000] in <filename unknown>:0
at MqttLib.Core.Messages.MqttConnackMessage..ctor (System.IO.Stream str, Byte header) [0x00000] in <filename unknown>:0
at MqttLib.Core.Messages.MessageFactory.CreateMessage (System.IO.Stream str, Byte header) [0x00000] in <filename unknown>:0
at MqttLib.Core.StreamManager.listen (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0
/quote]
hope this tutorial will help:
iot-playground.com/2-uncategorised/62-ea...r-mqtt-client-driver
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.