Re: dhcp integration into the platform

Gil Pitney

As long as all apps with static IPv4 addresses call net_if_ipv4_addr_add().

So, yes, that should work!


On 23 February 2017 at 15:06, Marcus Shawcroft
<> wrote:
On 23 February 2017 at 22:55, Gil Pitney <> wrote:
Anticipating application initialization code like this:

<wait on semaphore signaled by a NET_DHCP_IPV4_ADDR_ACQUIRED callback >
<use pre-configured static ip address>
An interface always gets an address, hence I think that for both
static and DHCP cases the following would work:

<wait on semaphore signaled by a NET_EVENT_IPV4_ADDR_ADD callback >


Join to automatically receive all group messages.