This is a group for folks designing and programming embedded systems using the Rabbit Semiconductor C-programmable microcontroller. Rabbit Semi is a spin-off from Z-World who makes a variety of embedded modules and tools. This group is not affiliated with either Rabbit or Z-World, but is a user forum for sharing ideas, asking questions,
flaunting knowledge, and other typical user group stuff. The Rabbit is a powerful uC, supported by a full-featured C-compiler.
Run time selection of static or DHCP addressing - eilidhs_daddy - Sep 5 11:19:50 2008
My latest app requires to be able to decide at run time whether to use
DHCP or static ip address.
The app will decide at run time wheter to use DHCP or a built-in
address, by reading the value of a dip switch. (This bit is easy).
I've had a look through the .LIB files and can see that TCPCONFIG 5
allows me to use DHCP with a fallback to static addressing, but that's
not what I wish. There may well be a DHCP server available even when I
want to use static addressing.
Which TCPCONFIG should I use, and how do I initiate DHCP if I don't
use the static address?
------------------------------------

(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )
Re: Run time selection of static or DHCP addressing - ebrains2003 - Sep 5 11:48:47 2008
This has been covered quite a bit in this group. A quick search found
this answer which is probably similar to what you are looking for,
i.e., using TCPCONFIG 6:
http://tech.groups.yahoo.com/group/rabbit-semi/message/33932
------------------------------------

(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )