MySQL Forums :: Connector/Arduino :: Packet Error

Advanced Search

Re: Packet Error
Posted by: Charles Bell ()
Date: November 05, 2014 09:03AM

You should consider doing the connect and disconnect in the loop() method. If the connect fails, sleep then try it again on the next time through the loop.

Having the connect in the setup() assumes the connection to the server is always present.

Options: ReplyQuote

Subject Views Written By Posted
Packet Error 2657 Bryan Davis 10/04/2014 01:53PM
Re: Packet Error 1536 Charles Bell 10/14/2014 02:08PM
Re: Packet Error 1177 Gábor Horinka 11/01/2014 04:46AM
Re: Packet Error 1096 Charles Bell 11/05/2014 09:03AM
Re: Packet Error 1094 Noam Parness 11/07/2014 12:13PM
Re: Packet Error 1065 Gábor Horinka 11/07/2014 01:19PM
Re: Packet Error 1034 Gábor Horinka 11/14/2014 02:08PM
Re: Packet Error 922 Charles Bell 11/19/2014 01:39PM
Re: Packet Error 951 Gábor Horinka 11/19/2014 03:46PM
Re: Packet Error 957 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.