Home Forums EasyTransfer Library Support Forum Problems with ET, Ethernet, and MySQL Reply To: Problems with ET, Ethernet, and MySQL

#3168
Anonymous
Inactive

No matter what I tried, I couldn’t get my code to work with the second EasyTransfer instance (the one receiving data from the remote slave). I could confirm that the data was received and read properly (I could print the values out to the serial monitor), but the mySQL connection would continue to fail if the master unit had received any data from the slave. I even commented out the lines that copied the received data into the proper place to be inserted into the database. It still failed.

So, I decided to remove the second EasyTransfer instance. Instead, I’m just printing the values as a comma-delimited string to the serial port, and then I wrote code to parse the values out of it on the receiving end. That has been working perfectly, so I plan to stick with it.