can anybody tell me why the following will not work
I’m trying to store the wiznet config settings in a struct so i can eventually store and retrieve from the eeprom so that i don’t have to hard code the settings
setting up byte arrays and passing them to ethernet.begin works but not when i pass them in from the struct
Are you saying that it isn't sending the packet with "test" in it, or that the ethernet isn't being initialized with the correct address and it is failing in another way?
i just put "test" in there when i made this code example.
it is outputting the "connection failed" message after a long timeout period
it is not being initialized correctly i think and i can't figure out how to read what the ethernet class has after i put my values in to see if they took
I can't connect to that IP address either - have you verified that is correct? (or is it some sneaky internal webserver that I don't get to play with...)
yes, it is correct.
i have been successfully using my data logger with this setup. It is one of those so called shared ip addresses that requires you to access it like so 74.86.153.136/~latenigh
so i just set my get statement up like this
GET /~latenigh/zzz.php?speed=24 HTTP/1.0
but this part all works fine.
for some reason i don't think the ethernet initialization is happening
again this all works fine when i hard code all the settings.
but when i try to set them from the struct is where the problems start
Jeff