Skip to content

Setting default netif to Openthread breaks libraries (TZ-914) #71

@motters

Description

@motters

Hi,

The following line in the example border router breaks libraries that require network access:
ESP_ERROR_CHECK(esp_netif_set_default_netif(openthread_netif));

ESP_ERROR_CHECK(esp_netif_set_default_netif(openthread_netif));

For example when trying to implement LwM2M using Anjay the stack can no longer access the LwM2M server. I'm assuming it's because it's using the openthread interface and not WiFi / Ethernet.

Commenting out this line fixes things and also doesn't seem to break the Openthread BR. I'm also not sure why we'd want openthead to be the default netif.

Hence my question of: is setting openthread to the default netif required for any features?

Cheers!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions