-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Library won't work when gateway sets up #169
Comments
Well, I've removed all Serial function call (no Serial.begin(), any .print()...), and the problem solved. |
Which hardware/board are you using? |
Hi stevstrong, I'm using arduino nano with ENC28J60. Library is uipethernet. Thanks, |
@airween |
Hi @stevstrong, thanks for your reply. |
Another issue - that's not linked to this original issue. Here is a small "syslog" routine: void syslog(char *msg) {
udp.beginPacket(IPAddress(192,168,72,254),514);
udp.write("IPBridge ");
udp.write(msg);
udp.endPacket();
udp.flush();
udp.stop();
} and here is why do I use: if (client)
{
//Serial.println("-> New Connection");
syslog("New connection"); There is a cron script, which checks this board that responds or not in every 10 minutes. On syslog server, I see the results:
While the elapsed time there isn't any syslog message from board - but the board has worked as well, I'm logging the result of cron script, and there seems that board is working. But the sending of UDP packets doesn't work randomly. Do you have any idea, why does it happen? Thanks, |
Ervin, sorry I am not that deeply involved in UIP, but I remember I also had several issue with my ENC28J60 module and all associated software (Ethercard as well), that's why I moved to a W5500 module. |
He @stevstrong - thanks again your feedback. Regards, |
No problem (szivesen :)) |
Wow! :) |
airwenn, I hope you found a solution. |
Hi there,
I'ld like to build a simple remote switch through HTTP. The examples are good points to start.
But there is a problem: when I set up the gateway, the program doesn't work. Without it, the code works as well.
This dosen't work. If I left the last 3 arguments, then HTTP server works as well.
Could anybody helps me?
Regards,
a.
The text was updated successfully, but these errors were encountered: