Michael,
Yes that is correct.... Or if you want to shorten the GET header. You can stop after the User-Agent definition is sent. It still replies in a text format.
I actual send:
[code:1:d8fab31e23]
status = Server_TCPwrite(SocketNumber, "User-Agent: ATmega 2560 Ardunio/EthernetShield via BASCOM/v1.0{013}{010}")
[/code:1:d8fab31e23]
Just to be different... :)
This is a scheduled event and if my public IP changes then the NO-IPupdate is invoked. This way I can have the dynamicIP service all running on the AVR that I created. My defined update interval is 10minutes, retry is defined at 10seconds. This is compliant to dyndns rules for the free service.
The NO-IP event is also scheduled at a defined interval, all parameters are read from the SD, this then allows the account to be updated, so it doesn't expire. This is scheduled/updated event at a weekly interval.
Regards,
Mark
↧