Is mDNS officially supported on AmebaPro2? I can't get lwIP mDNS to compile

Hi Realtek team and Ameba community,

I’m working on an AmebaPro2 project and want to enable mDNS so that devices on the same network can discover my board via hostname (e.g. my-device.local).

I tried enabling the lwIP mDNS responder by setting:

#define LWIP_MDNS_RESPONDER    1
#define LWIP_IGMP              1

and adding mdns.c from the official lwIP 2.1.2 source into my Arduino sketch. However, the build always fails at the link stage with:undefined reference to `netif_alloc_client_data_id’

It looks like the lwIP core library shipped with AmebaPro2 SDK 4.0.9 may not include this function, or the mDNS module is not fully integrated.

So I’d like to ask:

  1. Is mDNS officially supported on AmebaPro2 / AMB82-Mini?
  2. If yes, what is the correct way to enable it? Are there any example sketches or documentation?
  3. If not, is there a recommended alternative for service discovery on AmebaPro2?

Any help or pointers would be greatly appreciated. Thanks!

:waving_hand: Thanks for posting!

For documentation, SDK resources, FAQs, and community guidelines, please visit: here

For commercial users, if you would like to have dedicated technical support or to connect with us, please fill in the Private User Form

Happy building with Ameba!


:waving_hand: 感謝您的分享!

如需查閱技術文件、SDK 資源、常見問題及社群指南,請參考: 這裡

若您是商業用戶,希望獲得專屬技術支援或與我們聯繫,請填寫 Private User Form (商業用戶表單)

祝您使用 Ameba 開發順利!