Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] Problem Arduino YUN continuous duty

Hi Ian,

 

i have tested again, the memory is not the problem and the value is stable.

 

But, when YUN lost the connection in mosquitto “1428356460: Client arduino-sample has exceeded timeout, disconnecting.”

the Console.println(c), Console.println(client.isConnected()) change not from true to false. Therefore YUN not reconnected.

 

How to make answer other clients when lost connection?

 

Reiko

 

 

Von: paho-dev-bounces@xxxxxxxxxxx [mailto:paho-dev-bounces@xxxxxxxxxxx] Im Auftrag von Ian Craggs
Gesendet: Donnerstag, 2. April 2015 23:32
An: paho-dev@xxxxxxxxxxx
Betreff: Re: [paho-dev] Problem Arduino YUN continuous duty

 

Hi Reiko,

yep, that would be the problem, if running out of memory is actually the cause. 

Ian

On 04/02/2015 10:14 PM, Reiko Nötzold wrote:

Hi Ian,

 

thanks, i will testing again with this value in console.

 

Is this the problem with Stack and Heap at the picture on the end of page?

https://learn.adafruit.com/memories-of-an-arduino/optimizing-sram

 

Reiko

 

 

 

Von: paho-dev-bounces@xxxxxxxxxxx [mailto:paho-dev-bounces@xxxxxxxxxxx] Im Auftrag von Ian Craggs
Gesendet: Donnerstag, 2. April 2015 22:27
An: paho-dev@xxxxxxxxxxx
Betreff: Re: [paho-dev] Problem Arduino YUN continuous duty

 

Hi Reiko,

it could be a memory overflow. 

I've used this library in the past to see if I'm running out of memory: http://playground.arduino.cc/code/AvailableMemory

Ian


On 04/02/2015 09:14 PM, Reiko Nötzold wrote:

Hi,

 

i'm looking for developer which have use Arduino YUN for durable usecases in continuous duty.

 

I haved installed mosquitto on YUN with the Paho MQTT-Library and its running fine.

 

But my first testing with QoS2 the Arduino stopped to publish messages after 1 day.

Next i tested with QoS0 and the Arduino stopped to publish after 9 days.

 

I have implement a console debugging and there is a YUN Bridge Connection and console

prints the Messagesstrings.

When i reload the sketch the messages running again and i need not a reboot of YUN.

 

It's a memory overflow?

I could need assisting for this problem.

 

Thanks.

 

Reiko





_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/paho-dev




-- 
Ian Craggs                          
icraggs@xxxxxxxxxx                 IBM United Kingdom
Paho Project Lead; Committer on Mosquitto
 




_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/paho-dev



-- 
Ian Craggs                          
icraggs@xxxxxxxxxx                 IBM United Kingdom
Paho Project Lead; Committer on Mosquitto
 

Back to the top