MySQL Forums :: Connector/Arduino :: Packet Error


Advanced Search

Re: Packet Error
Posted by: Noam Parness ()
Date: November 07, 2014 12:13PM

I had similar problems with the connection getting dropped (for whatever reason), and the Arduino not automatically re-connecting it.
To get around the problem in my own code, I did as Dr. Bell suggested - I added a connect() and a disconnect() each time through the loop. It slows things down a little, and it does add some overhead traffic, but it makes the system much more reliable for me. I can reboot the server, or unplug it (or the Arduino) from the network for a while, and it will pick up again when the connection is restored- the next time through the loop.

Options: ReplyQuote


Subject Views Written By Posted
Packet Error 2655 Bryan Davis 10/04/2014 01:53PM
Re: Packet Error 1535 Charles Bell 10/14/2014 02:08PM
Re: Packet Error 1176 Gábor Horinka 11/01/2014 04:46AM
Re: Packet Error 1095 Charles Bell 11/05/2014 09:03AM
Re: Packet Error 1092 Noam Parness 11/07/2014 12:13PM
Re: Packet Error 1063 Gábor Horinka 11/07/2014 01:19PM
Re: Packet Error 1032 Gábor Horinka 11/14/2014 02:08PM
Re: Packet Error 920 Charles Bell 11/19/2014 01:39PM
Re: Packet Error 950 Gábor Horinka 11/19/2014 03:46PM
Re: Packet Error 955 Charles Bell 11/26/2014 10:14AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.