Skip to content

NET_EVENT_IPV4_ADDR_ADD unhandled — status bar reports No IP while connected #6

Description

@mikeysklar

Subscribed in common_hal_wifi_init() but has no case in _event_handler, so it falls through and prints unhandled net event d0d00000 on every DHCP lease.

Visible effect: the console status bar reads Wi-Fi: No IP while wifi.radio.ipv4_address returns the real lease. Trust the API, not the banner.

Correction to earlier notes: this was believed to block the web workflow listener from binding. It does not — web_workflow.c binds to any address (common_hal_socketpool_socket_bind(&listening, "", 0, web_api_port)). The actual web workflow blocker was missing CONFIG_NET_TCP. So this is cosmetic plus a misleading status bar.

Small fix: add the case and record the address.

Owner: unassigned

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions